Sandbox.Surface/BreakablesInfo Breakables { get; set; }

robot_2Generated
code_blocksInput

Description

Breakable info for this surface material.

Usage

The Breakables property provides information about the breakable characteristics of a surface material. This can include details such as how the material breaks, what fragments it produces, and any associated effects or sounds.

Example

// Example of accessing the Breakables property
Surface mySurface = new Surface();
var breakableInfo = mySurface.Breakables;

// Use breakableInfo to determine how the surface should behave when broken
if (breakableInfo != null)
{
    // Process breakable information
    // For example, spawn debris or play a breaking sound
}