robot_2Generated
code_blocksInput

Description

The Marble field is a member of the AudioSurface enumeration in the Sandbox namespace. It represents a surface type with acoustic properties characteristic of marble. This affects how sound interacts with the surface, such as how it reflects or absorbs sound waves.

Usage

Use the AudioSurface.Marble field when you need to specify that a surface in your game environment should have the acoustic properties of marble. This can be useful for simulating realistic sound behavior in environments where marble surfaces are present.

Example

// Example of using AudioSurface.Marble in a game object
GameObject marbleFloor = new GameObject();
marbleFloor.AddComponent<SurfaceComponent>().AudioSurface = AudioSurface.Marble;

// This will ensure that the marbleFloor object has the acoustic properties of marble.