MaterialPropertyTerrainData

Inherits from PhysicsMaterialRelationPropertyData

Summary

Constructors

MaterialPropertyTerrainData()
MaterialPropertyTerrainData(guid: Guid)
MaterialPropertyTerrainData(other: PhysicsMaterialRelationPropertyData)
MaterialPropertyTerrainData(other: MaterialRelationPropertyData)
MaterialPropertyTerrainData(other: DataContainer)

Properties

Name Type
dirtTriggerColor Vec3
destructionEffect EffectBlueprint | nil
dirtTriggerFactor float

Static members

Name Type
MaterialPropertyTerrainData.typeInfo TypeInformation

Constructors

MaterialPropertyTerrainData

MaterialPropertyTerrainData()

Creates a new MaterialPropertyTerrainData frostbite instance.

MaterialPropertyTerrainData

MaterialPropertyTerrainData(guid: Guid)

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

Parameters

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

MaterialPropertyTerrainData

MaterialPropertyTerrainData(other: PhysicsMaterialRelationPropertyData)

Casts an instance of type PhysicsMaterialRelationPropertyData to MaterialPropertyTerrainData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other PhysicsMaterialRelationPropertyData The instance to cast to MaterialPropertyTerrainData.

MaterialPropertyTerrainData

MaterialPropertyTerrainData(other: MaterialRelationPropertyData)

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

Parameters

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

MaterialPropertyTerrainData

MaterialPropertyTerrainData(other: DataContainer)

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

Parameters

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

Properties

dirtTriggerColor

Vec3

destructionEffect

EffectBlueprint | nil

dirtTriggerFactor

float

Static members

typeInfo

TypeInformation

The type information for the MaterialPropertyTerrainData type.

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