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