Class InitialColorSeed
- Namespace
- Stride.Particles.Initializers
- Assembly
- Stride.Particles.dll
[DataContract("InitialColorSeed")]
[Display("Color", null)]
public class InitialColorSeed : ParticleInitializer
- Inheritance
-
InitialColorSeed
- Inherited Members
Constructors
InitialColorSeed()
public InitialColorSeed()
Properties
ColorMax
The second color to interpolate to
[DataMember(40)]
[Display("Color B", null)]
public Color4 ColorMax { get; set; }
Property Value
ColorMin
The first color to interpolate from
[DataMember(30)]
[Display("Color A", null)]
public Color4 ColorMin { get; set; }
Property Value
SeedOffset
The seed offset used to match or separate random values
[DataMember(8)]
[Display("Random Seed", null)]
public uint SeedOffset { get; set; }
Property Value
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
ParticlePoolParticle pool to target
startIdx
intStarting index (included from the array)
endIdx
intEnd index (excluded from the array)
maxCapacity
intMax pool capacity (loops after this point) so that it's possible for (endIdx < startIdx)