Class Initial3DRotationSeed
- Namespace
- Stride.Particles.Initializers
- Assembly
- Stride.Particles.dll
[DataContract("Initial3DRotationSeed")]
[Display("3D Orientation", null)]
public class Initial3DRotationSeed : ParticleInitializer
- Inheritance
-
Initial3DRotationSeed
- Inherited Members
Constructors
Initial3DRotationSeed()
public Initial3DRotationSeed()
Properties
RotationQuaternionMax
The second orientation to interpolate to
[DataMember(40)]
[Display("Orientation B", null)]
public Quaternion RotationQuaternionMax { get; set; }
Property Value
RotationQuaternionMin
The first orientation to interpolate from
[DataMember(30)]
[Display("Orientation A", null)]
public Quaternion RotationQuaternionMin { get; set; }
Property Value
SeedOffset
The seed offset used to match or separate random values
[DataMember(8)]
[Display("Random Seed", null)]
public uint SeedOffset { get; set; }
Property Value
Methods
Initialize(ParticlePool, int, int, int)
Override Initialize if your module acts as an Initializer and change its type to Initializer
public override void Initialize(ParticlePool pool, int startIdx, int endIdx, int maxCapacity)
Parameters
pool
ParticlePoolParticle pool to target
startIdx
intStarting index (included from the array)
endIdx
intEnd index (excluded from the array)
maxCapacity
intMax pool capacity (loops after this point) so that it's possible for (endIdx < startIdx)