MaterialRelationDamageData

Inherits from PhysicsPropertyRelationPropertyData

Summary

Constructors

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

Properties

Name Type
collisionDamageMultiplier float
collisionDamageThreshold float
damageProtectionMultiplier float
damagePenetrationMultiplier float
damageProtectionThreshold float
explosionCoverDamageModifier float
inflictsDemolitionDamage bool

Static members

Name Type
MaterialRelationDamageData.typeInfo TypeInformation

Constructors

MaterialRelationDamageData

MaterialRelationDamageData()

Creates a new MaterialRelationDamageData frostbite instance.

MaterialRelationDamageData

MaterialRelationDamageData(guid: Guid)

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

Parameters

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

MaterialRelationDamageData

MaterialRelationDamageData(other: PhysicsPropertyRelationPropertyData)

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

Parameters

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

MaterialRelationDamageData

MaterialRelationDamageData(other: MaterialRelationPropertyData)

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

Parameters

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

MaterialRelationDamageData

MaterialRelationDamageData(other: DataContainer)

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

Parameters

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

Properties

collisionDamageMultiplier

float

collisionDamageThreshold

float

damageProtectionMultiplier

float

damagePenetrationMultiplier

float

damageProtectionThreshold

float

explosionCoverDamageModifier

float

inflictsDemolitionDamage

bool

Static members

typeInfo

TypeInformation

The type information for the MaterialRelationDamageData type.

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