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