Struct · Ara
AcousticSurface
Acoustic surface of static geometry or a collider. The physics ray adapter maps hit bodies to this component; absent components read as generic.
public struct AcousticSurface : IComponent<AcousticSurface>Properties
TypeIndex
public static uint TypeIndex { get; }Stable engine component index.
Fields
Preset
public MaterialPreset Preset;Named material; ignored when custom is set.
Default: "generic".
Custom
public AcousticMaterial? Custom;Explicit material values overriding the preset.
Default: null.
Methods
Access
public static ref AcousticSurface Access(Entity entity, bool write);No description yet.
Insert
public static void Insert(in Commands commands, Entity entity, in AcousticSurface value);No description yet.
Contains
public static bool Contains(Entity entity);No description yet.