Table of Contents

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

Quaternion

RotationQuaternionMin

The first orientation to interpolate from

[DataMember(30)]
[Display("Orientation A", null)]
public Quaternion RotationQuaternionMin { get; set; }

Property Value

Quaternion

SeedOffset

The seed offset used to match or separate random values

[DataMember(8)]
[Display("Random Seed", null)]
public uint SeedOffset { get; set; }

Property Value

uint

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 ParticlePool

Particle pool to target

startIdx int

Starting index (included from the array)

endIdx int

End index (excluded from the array)

maxCapacity int

Max pool capacity (loops after this point) so that it's possible for (endIdx < startIdx)