InitialDefaultFields Class
Namespace: Stride.Particles.Initializers
Assembly: Stride.Particles.dll
This initializer sets each field to its default value in case a custom initializer is not present.
System.Object →
InitialDefaultFields
Derived from InitialDefaultFields:
public class InitialDefaultFields
|
Improve this Doc
View Source
Properties
WorldPosition
public Vector3 WorldPosition { get; }
Property Value
WorldRotation
public Quaternion WorldRotation { get; }
Property Value
WorldScale
public float WorldScale { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Methods
Initialize(ParticlePool, Int32, Int32, Int32)
public 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 |
|
SetParentTRS(ref Vector3, ref Quaternion, Single)
public void SetParentTRS(ref Vector3 translation, ref Quaternion rotation, float scale)
Parameters
Extension Methods