PartComponentData

Inherits from ComponentData

Summary

Constructors

PartComponentData()
PartComponentData(guid: Guid)
PartComponentData(other: ComponentData)
PartComponentData(other: GameObjectData)
PartComponentData(other: GameDataContainer)
PartComponentData(other: DataContainer)

Properties

Name Type
healthStates HealthStateData[]
partLinks PartLinkData[]
isSupported bool
isFragile bool
isNetworkable bool
isWindow bool
animatePhysics bool

Static members

Name Type
PartComponentData.typeInfo TypeInformation

Constructors

PartComponentData

PartComponentData()

Creates a new PartComponentData frostbite instance.

PartComponentData

PartComponentData(guid: Guid)

Creates a new PartComponentData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

PartComponentData

PartComponentData(other: ComponentData)

Casts an instance of type ComponentData to PartComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ComponentData The instance to cast to PartComponentData.

PartComponentData

PartComponentData(other: GameObjectData)

Casts an instance of type GameObjectData to PartComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to PartComponentData.

PartComponentData

PartComponentData(other: GameDataContainer)

Casts an instance of type GameDataContainer to PartComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to PartComponentData.

PartComponentData

PartComponentData(other: DataContainer)

Casts an instance of type DataContainer to PartComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to PartComponentData.

Properties

healthStates

HealthStateData[]

PartLinkData[]

isSupported

bool

isFragile

bool

isNetworkable

bool

isWindow

bool

animatePhysics

bool

Static members

typeInfo

TypeInformation

The type information for the PartComponentData type.

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