MaterialPropertyHealthData

Inherits from PhysicsPropertyRelationPropertyData

Summary

Constructors

MaterialPropertyHealthData()
MaterialPropertyHealthData(guid: Guid)
MaterialPropertyHealthData(other: PhysicsPropertyRelationPropertyData)
MaterialPropertyHealthData(other: MaterialRelationPropertyData)
MaterialPropertyHealthData(other: DataContainer)

Properties

Name Type
health float

Static members

Name Type
MaterialPropertyHealthData.typeInfo TypeInformation

Constructors

MaterialPropertyHealthData

MaterialPropertyHealthData()

Creates a new MaterialPropertyHealthData frostbite instance.

MaterialPropertyHealthData

MaterialPropertyHealthData(guid: Guid)

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

Parameters

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

MaterialPropertyHealthData

MaterialPropertyHealthData(other: PhysicsPropertyRelationPropertyData)

Casts an instance of type PhysicsPropertyRelationPropertyData to MaterialPropertyHealthData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other PhysicsPropertyRelationPropertyData The instance to cast to MaterialPropertyHealthData.

MaterialPropertyHealthData

MaterialPropertyHealthData(other: MaterialRelationPropertyData)

Casts an instance of type MaterialRelationPropertyData to MaterialPropertyHealthData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other MaterialRelationPropertyData The instance to cast to MaterialPropertyHealthData.

MaterialPropertyHealthData

MaterialPropertyHealthData(other: DataContainer)

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

Parameters

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

Properties

health

float

Static members

typeInfo

TypeInformation

The type information for the MaterialPropertyHealthData type.

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