SpottingTargetComponentData
Inherits from ComponentData
Summary
Constructors
Properties
| Name | Type |
|---|---|
| activeSpottedTime | float |
| passiveSpottedTime | float |
| activeSpottedTimeMultiplier | float |
| passiveSpottedTimeMultiplier | float |
| spotOnFireMultiplier | float |
| targetBoundingBoxCenter | bool |
Static members
| Name | Type |
|---|---|
| SpottingTargetComponentData.typeInfo | TypeInformation |
Constructors
SpottingTargetComponentData
SpottingTargetComponentData()
Creates a new SpottingTargetComponentData frostbite instance.
SpottingTargetComponentData
SpottingTargetComponentData(guid: Guid)
Creates a new SpottingTargetComponentData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
SpottingTargetComponentData
SpottingTargetComponentData(other: ComponentData)
Casts an instance of type ComponentData to SpottingTargetComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | ComponentData | The instance to cast to SpottingTargetComponentData. |
SpottingTargetComponentData
SpottingTargetComponentData(other: GameObjectData)
Casts an instance of type GameObjectData to SpottingTargetComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameObjectData | The instance to cast to SpottingTargetComponentData. |
SpottingTargetComponentData
SpottingTargetComponentData(other: GameDataContainer)
Casts an instance of type GameDataContainer to SpottingTargetComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameDataContainer | The instance to cast to SpottingTargetComponentData. |
SpottingTargetComponentData
SpottingTargetComponentData(other: DataContainer)
Casts an instance of type DataContainer to SpottingTargetComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to SpottingTargetComponentData. |
Properties
activeSpottedTime
float
passiveSpottedTime
float
activeSpottedTimeMultiplier
float
passiveSpottedTimeMultiplier
float
spotOnFireMultiplier
float
targetBoundingBoxCenter
bool
Static members
typeInfo
The type information for the SpottingTargetComponentData type.