Class InitialDefaultFields
- 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.
public class InitialDefaultFields
- Inheritance
-
InitialDefaultFields
Properties
WorldPosition
public Vector3 WorldPosition { get; }
Property Value
WorldRotation
public Quaternion WorldRotation { get; }
Property Value
WorldScale
public float WorldScale { get; }
Property Value
Methods
Initialize(ParticlePool, int, int, int)
public void Initialize(ParticlePool pool, int startIdx, int endIdx, int maxCapacity)
Parameters
pool
ParticlePoolstartIdx
intendIdx
intmaxCapacity
int
SetParentTRS(ref Vector3, ref Quaternion, float)
public void SetParentTRS(ref Vector3 translation, ref Quaternion rotation, float scale)
Parameters
translation
Vector3rotation
Quaternionscale
float