Table of Contents

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

Vector3

WorldRotation

public Quaternion WorldRotation { get; }

Property Value

Quaternion

WorldScale

public float WorldScale { get; }

Property Value

float

Methods

Initialize(ParticlePool, int, int, int)

public void Initialize(ParticlePool pool, int startIdx, int endIdx, int maxCapacity)

Parameters

pool ParticlePool
startIdx int
endIdx int
maxCapacity int

SetParentTRS(ref Vector3, ref Quaternion, float)

public void SetParentTRS(ref Vector3 translation, ref Quaternion rotation, float scale)

Parameters

translation Vector3
rotation Quaternion
scale float