ComponentData
Inherits from GameObjectData
Summary
Constructors
| ComponentData() |
| ComponentData(guid: Guid) |
| ComponentData(other: GameObjectData) |
| ComponentData(other: GameDataContainer) |
| ComponentData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| transform | LinearTransform |
| components | GameObjectData[] |
| excluded | bool |
Static members
| Name | Type |
|---|---|
| ComponentData.typeInfo | TypeInformation |
Constructors
ComponentData
ComponentData()
Creates a new ComponentData frostbite instance.
ComponentData
ComponentData(guid: Guid)
Creates a new ComponentData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
ComponentData
ComponentData(other: GameObjectData)
Casts an instance of type GameObjectData to ComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameObjectData | The instance to cast to ComponentData. |
ComponentData
ComponentData(other: GameDataContainer)
Casts an instance of type GameDataContainer to ComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameDataContainer | The instance to cast to ComponentData. |
ComponentData
ComponentData(other: DataContainer)
Casts an instance of type DataContainer to ComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to ComponentData. |
Properties
transform
components
excluded
bool
Static members
typeInfo
The type information for the ComponentData type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)