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