MaterialPropertySoundData

Inherits from PhysicsMaterialRelationPropertyData

Summary

Constructors

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

Properties

Name Type
impactSound SoundAsset | nil
scrapeSound SoundAsset | nil
scrapeLength float
soldierSettings MaterialSoldierSoundSettings | nil
softness float
materialSoundId float

Static members

Name Type
MaterialPropertySoundData.typeInfo TypeInformation

Constructors

MaterialPropertySoundData

MaterialPropertySoundData()

Creates a new MaterialPropertySoundData frostbite instance.

MaterialPropertySoundData

MaterialPropertySoundData(guid: Guid)

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

Parameters

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

MaterialPropertySoundData

MaterialPropertySoundData(other: PhysicsMaterialRelationPropertyData)

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

Parameters

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

MaterialPropertySoundData

MaterialPropertySoundData(other: MaterialRelationPropertyData)

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

Parameters

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

MaterialPropertySoundData

MaterialPropertySoundData(other: DataContainer)

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

Parameters

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

Properties

impactSound

SoundAsset | nil

scrapeSound

SoundAsset | nil

scrapeLength

float

soldierSettings

MaterialSoldierSoundSettings | nil

softness

float

materialSoundId

float

Static members

typeInfo

TypeInformation

The type information for the MaterialPropertySoundData type.

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