ParticleSource

Description

abstract class Tinman.AddOns.Scenes.ParticleSource

Derived from

IParticleSource

Extended by

Example_ParticleSource sealed

Full source code is included in the Tinman 3D SDK download.

Abstract base class for IParticleSource implementations.

Protected / Methods

Do​Create​Particles


protected abstract method DoCreateParticles → (1)

timeDelta in : float32

The time delta, in seconds.

Creates new particles for buffer.

Random​Vec3​D


protected method RandomVec3D → (1)

length in : float64

The random vector length.

returns → Vec3D

The random vector.

Returns a random vector that has the given length.

Protected / Attributes

acceleration


protected attribute acceleration → (Float3)

The ParticleBuffer.Acceleration data or null if not present.

age


protected attribute age → (Float2)

The ParticleBuffer.Age data.

buffer


protected attribute buffer → (ParticleBuffer)

The particle buffer.

color


protected attribute color → (Int1)

The ParticleBuffer.Color data or null if not present.

geometry​Id


protected attribute geometryId → (Int1)

The ParticleBuffer.GeometryId data or null if not present.

intensity


protected attribute intensity → (Float1)

The ParticleBuffer.Intensity data or null if not present.

orientation


protected attribute orientation → (Float4)

The ParticleBuffer.Orientation data or null if not present.

position


protected attribute position → (Double3)

The Semantic.Position data.

random


protected attribute random → (RandomNumber)

The random number generator to use.

scale


protected attribute scale → (Float1)

The ParticleBuffer.Scale data or null if not present.

size


protected attribute size → (Float1)

The ParticleBuffer.Size data or null if not present.

velocity​Angular


protected attribute velocityAngular → (Float3)

The ParticleBuffer.VelocityAngular data or null if not present.

velocity​Linear


protected attribute velocityLinear → (Float3)

The ParticleBuffer.VelocityLinear data or null if not present.