EmitterEntityData
Inherits from EffectEntityData
Summary
Constructors
| EmitterEntityData() |
| EmitterEntityData(guid: Guid) |
| EmitterEntityData(other: EffectEntityData) |
| EmitterEntityData(other: SpatialEntityData) |
| EmitterEntityData(other: EntityData) |
| EmitterEntityData(other: GameObjectData) |
| EmitterEntityData(other: GameDataContainer) |
| EmitterEntityData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| emitter | EmitterAsset | nil |
| spawnProbability | float |
Static members
| Name | Type |
|---|---|
| EmitterEntityData.typeInfo | TypeInformation |
Constructors
EmitterEntityData
EmitterEntityData()
Creates a new EmitterEntityData frostbite instance.
EmitterEntityData
EmitterEntityData(guid: Guid)
Creates a new EmitterEntityData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
EmitterEntityData
EmitterEntityData(other: EffectEntityData)
Casts an instance of type EffectEntityData to EmitterEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | EffectEntityData | The instance to cast to EmitterEntityData. |
EmitterEntityData
EmitterEntityData(other: SpatialEntityData)
Casts an instance of type SpatialEntityData to EmitterEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | SpatialEntityData | The instance to cast to EmitterEntityData. |
EmitterEntityData
EmitterEntityData(other: EntityData)
Casts an instance of type EntityData to EmitterEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | EntityData | The instance to cast to EmitterEntityData. |
EmitterEntityData
EmitterEntityData(other: GameObjectData)
Casts an instance of type GameObjectData to EmitterEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameObjectData | The instance to cast to EmitterEntityData. |
EmitterEntityData
EmitterEntityData(other: GameDataContainer)
Casts an instance of type GameDataContainer to EmitterEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameDataContainer | The instance to cast to EmitterEntityData. |
EmitterEntityData
EmitterEntityData(other: DataContainer)
Casts an instance of type DataContainer to EmitterEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to EmitterEntityData. |
Properties
emitter
EmitterAsset | nil
spawnProbability
float
Static members
typeInfo
The type information for the EmitterEntityData type.