MaterialRelationSoundData

Inherits from PhysicsMaterialRelationPropertyData

Summary

Constructors

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

Properties

Name Type
impactSound SoundAsset | nil
scrapeSound SoundAsset | nil
scrapeLength float

Static members

Name Type
MaterialRelationSoundData.typeInfo TypeInformation

Constructors

MaterialRelationSoundData

MaterialRelationSoundData()

Creates a new MaterialRelationSoundData frostbite instance.

MaterialRelationSoundData

MaterialRelationSoundData(guid: Guid)

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

Parameters

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

MaterialRelationSoundData

MaterialRelationSoundData(other: PhysicsMaterialRelationPropertyData)

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

Parameters

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

MaterialRelationSoundData

MaterialRelationSoundData(other: MaterialRelationPropertyData)

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

Parameters

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

MaterialRelationSoundData

MaterialRelationSoundData(other: DataContainer)

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

Parameters

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

Properties

impactSound

SoundAsset | nil

scrapeSound

SoundAsset | nil

scrapeLength

float

Static members

typeInfo

TypeInformation

The type information for the MaterialRelationSoundData type.

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