GrenadeEntityData
Inherits from MeshProjectileEntityData
Summary
Constructors
| GrenadeEntityData() |
| GrenadeEntityData(guid: Guid) |
| GrenadeEntityData(other: MeshProjectileEntityData) |
| GrenadeEntityData(other: ProjectileEntityData) |
| GrenadeEntityData(other: GamePhysicsEntityData) |
| GrenadeEntityData(other: GameEntityData) |
| GrenadeEntityData(other: SpatialEntityData) |
| GrenadeEntityData(other: EntityData) |
| GrenadeEntityData(other: GameObjectData) |
| GrenadeEntityData(other: GameDataContainer) |
| GrenadeEntityData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| collisionSpeedMultiplier | float |
| gravity | float |
| grenadeType | GrenadeType |
| minBounceSpeed | float |
Static members
| Name | Type |
|---|---|
| GrenadeEntityData.typeInfo | TypeInformation |
Constructors
GrenadeEntityData
GrenadeEntityData()
Creates a new GrenadeEntityData frostbite instance.
GrenadeEntityData
GrenadeEntityData(guid: Guid)
Creates a new GrenadeEntityData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
GrenadeEntityData
GrenadeEntityData(other: MeshProjectileEntityData)
Casts an instance of type MeshProjectileEntityData to GrenadeEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | MeshProjectileEntityData | The instance to cast to GrenadeEntityData. |
GrenadeEntityData
GrenadeEntityData(other: ProjectileEntityData)
Casts an instance of type ProjectileEntityData to GrenadeEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | ProjectileEntityData | The instance to cast to GrenadeEntityData. |
GrenadeEntityData
GrenadeEntityData(other: GamePhysicsEntityData)
Casts an instance of type GamePhysicsEntityData to GrenadeEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GamePhysicsEntityData | The instance to cast to GrenadeEntityData. |
GrenadeEntityData
GrenadeEntityData(other: GameEntityData)
Casts an instance of type GameEntityData to GrenadeEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameEntityData | The instance to cast to GrenadeEntityData. |
GrenadeEntityData
GrenadeEntityData(other: SpatialEntityData)
Casts an instance of type SpatialEntityData to GrenadeEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | SpatialEntityData | The instance to cast to GrenadeEntityData. |
GrenadeEntityData
GrenadeEntityData(other: EntityData)
Casts an instance of type EntityData to GrenadeEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | EntityData | The instance to cast to GrenadeEntityData. |
GrenadeEntityData
GrenadeEntityData(other: GameObjectData)
Casts an instance of type GameObjectData to GrenadeEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameObjectData | The instance to cast to GrenadeEntityData. |
GrenadeEntityData
GrenadeEntityData(other: GameDataContainer)
Casts an instance of type GameDataContainer to GrenadeEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameDataContainer | The instance to cast to GrenadeEntityData. |
GrenadeEntityData
GrenadeEntityData(other: DataContainer)
Casts an instance of type DataContainer to GrenadeEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to GrenadeEntityData. |
Properties
collisionSpeedMultiplier
float
gravity
float
grenadeType
minBounceSpeed
float
Static members
typeInfo
The type information for the GrenadeEntityData type.