DestructionPartComponentData
Inherits from ComponentData
Summary
Constructors
Properties
Name | Type |
---|---|
objects | GameObjectData[] |
partIndex | int |
connectivityType | DestructionConnectivityType |
fixed | bool |
fragile | bool |
Static members
Name | Type |
---|---|
DestructionPartComponentData.typeInfo | TypeInformation |
Constructors
DestructionPartComponentData
DestructionPartComponentData()
Creates a new DestructionPartComponentData frostbite instance.
DestructionPartComponentData
DestructionPartComponentData(guid: Guid)
Creates a new DestructionPartComponentData frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
DestructionPartComponentData
DestructionPartComponentData(other: ComponentData)
Casts an instance of type ComponentData to DestructionPartComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | ComponentData | The instance to cast to DestructionPartComponentData. |
DestructionPartComponentData
DestructionPartComponentData(other: GameObjectData)
Casts an instance of type GameObjectData to DestructionPartComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | GameObjectData | The instance to cast to DestructionPartComponentData. |
DestructionPartComponentData
DestructionPartComponentData(other: GameDataContainer)
Casts an instance of type GameDataContainer to DestructionPartComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | GameDataContainer | The instance to cast to DestructionPartComponentData. |
DestructionPartComponentData
DestructionPartComponentData(other: DataContainer)
Casts an instance of type DataContainer to DestructionPartComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to DestructionPartComponentData. |
Properties
objects
partIndex
int
connectivityType
fixed
bool
fragile
bool
Static members
typeInfo
The type information for the DestructionPartComponentData type.