API reference

MetaXRAcousticMaterial Class

Extends MonoBehaviour, IMaterialDataProvider
This class is used for to create or edit an Acoustic Material.

Properties

MetaXRAcousticMaterialProperties Properties[Get]

Object Data for package-attrib

This is a reference to the material properties the user has edited.
Color Color[Get]

Fields

This holds either a material preset or the user's custom material data.

Object Data for package-func

void CopyPresetToCustomData
( MetaXRAcousticMaterialProperties.BuiltinPreset preset )
bool StartInternal ( )
void DestroyInternal ( )
bool ApplyMaterialProperties ( )

Object Data for package-static-func

static IntPtr CreateMaterialNativeHandle
static void DestroyMaterialNativeHandle
( IntPtr handle )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon