InitialSizeSeed Class
Namespace: Stride.Particles.InitializersAssembly: Stride.Particles.dll
Derived from InitialSizeSeed:
[DataContract("InitialSizeSeed")]
[Display("Size", null)]
public class InitialSizeSeed : ParticleInitializer
Name | Description | |
---|---|---|
Constructors | ||
InitialSizeSeed() | ||
Properties | ||
RandomSize | Minimum and maximum values for the size field |
|
SeedOffset | The seed offset used to match or separate random values |
|
Methods | ||
Initialize(ParticlePool, Int32, Int32, Int32) |
Constructors
InitialSizeSeed()
public InitialSizeSeed()
Properties
RandomSize
Minimum and maximum values for the size field
[DataMember(30)]
[Display("Random size", null)]
public Vector2 RandomSize { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
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 |