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