BreakablePartComponentData

Inherits from DestructionPartComponentData

Summary

Constructors

BreakablePartComponentData()
BreakablePartComponentData(guid: Guid)
BreakablePartComponentData(other: DestructionPartComponentData)
BreakablePartComponentData(other: ComponentData)
BreakablePartComponentData(other: GameObjectData)
BreakablePartComponentData(other: GameDataContainer)
BreakablePartComponentData(other: DataContainer)

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

TypeInformation

The type information for the BreakablePartComponentData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351)