SpawnRateData

Inherits from ProcessorData

Summary

Constructors

SpawnRateData()
SpawnRateData(guid: Guid)
SpawnRateData(other: ProcessorData)
SpawnRateData(other: EmitterComponentData)
SpawnRateData(other: DataContainer)

Properties

Name Type
spawnRate float
trailSegmentLength float
distributeOverTime bool
distributeOverDistance bool

Static members

Name Type
SpawnRateData.typeInfo TypeInformation

Constructors

SpawnRateData

SpawnRateData()

Creates a new SpawnRateData frostbite instance.

SpawnRateData

SpawnRateData(guid: Guid)

Creates a new SpawnRateData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

SpawnRateData

SpawnRateData(other: ProcessorData)

Casts an instance of type ProcessorData to SpawnRateData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ProcessorData The instance to cast to SpawnRateData.

SpawnRateData

SpawnRateData(other: EmitterComponentData)

Casts an instance of type EmitterComponentData to SpawnRateData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other EmitterComponentData The instance to cast to SpawnRateData.

SpawnRateData

SpawnRateData(other: DataContainer)

Casts an instance of type DataContainer to SpawnRateData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to SpawnRateData.

Properties

spawnRate

float

trailSegmentLength

float

distributeOverTime

bool

distributeOverDistance

bool

Static members

typeInfo

TypeInformation

The type information for the SpawnRateData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351)