Initial3DRotationSeed Class
Namespace: Stride.Particles.InitializersAssembly: Stride.Particles.dll
Derived from Initial3DRotationSeed:
[DataContract("Initial3DRotationSeed")]
[Display("3D Orientation", null)]
public class Initial3DRotationSeed : ParticleInitializer
| Name | Description | |
|---|---|---|
| Constructors | ||
| Initial3DRotationSeed() | ||
| Properties | ||
| RotationQuaternionMax | The second orientation to interpolate to |
|
| RotationQuaternionMin | The first orientation to interpolate from |
|
| SeedOffset | The seed offset used to match or separate random values |
|
| Methods | ||
| Initialize(ParticlePool, Int32, Int32, Int32) | ||
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
| Type | Description |
|---|---|
| Quaternion |
RotationQuaternionMin
The first orientation to interpolate from
[DataMember(30)]
[Display("Orientation A", null)]
public Quaternion RotationQuaternionMin { get; set; }
Property Value
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| System.UInt32 |
Methods
Initialize(ParticlePool, Int32, Int32, Int32)
public override void Initialize(ParticlePool pool, int startIdx, int endIdx, int maxCapacity)
Parameters
| Type | Name | Description |
|---|---|---|
| ParticlePool | pool | |
| System.Int32 | startIdx | |
| System.Int32 | endIdx | |
| System.Int32 | maxCapacity |