Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

ReverbZone

A room or space with its own reverb. The listener's zone drives the room reverb; sources in other zones reach the listener through portals.

public struct ReverbZone : IComponent<ReverbZone>

Properties

TypeIndex

public static uint TypeIndex { get; }

Stable engine component index.

Fields

Name

public string Name;

Unique zone name; portals, traces and diagnostics refer to zones by name.

Default: "".

Shape

public ZoneShape Shape;

Volume shape.

Default: "box".

Position

public Vector3 Position;

World-space center, supplied from the entity transform by the bridge.

Unit: m. Default: [0,0,0].

Rotation

public Vector4 Rotation;

World rotation as a unit quaternion (x, y, z, w), supplied by the bridge.

Default: [0,0,0,1].

HalfExtents

public Vector3 HalfExtents;

Box half extents.

Unit: m. Default: [5,3,5].

Radius

public float Radius;

Sphere radius.

Unit: m. Range: [0.1, 10000]. Default: 5.

Fade

public float Fade;

Width inside the boundary over which the listener crossfades to the outer space.

Unit: m. Range: [0, 100]. Default: 1.

Priority

public int Priority;

Nested zones: the highest priority containing zone wins.

Default: 0.

Material

public MaterialPreset Material;

Wall material, deriving absorption for the realtime room model.

Default: "generic".

Rt60

public Vector3? Rt60;

Explicit low/mid/high reverberation times in seconds, overriding derived and baked values.

Default: null.

Wet

public float Wet;

Reverb return gain.

Range: [0, 4]. Default: 1.

EarlyReflections

public bool EarlyReflections;

Geometric early reflections from the zone's walls.

Default: true.

UseBaked

public bool UseBaked;

Prefer baked probe reverb times inside this zone when cooked cells are loaded.

Default: true.

Methods

Access

public static ref ReverbZone Access(Entity entity, bool write);

No description yet.

Insert

public static void Insert(in Commands commands, Entity entity, in ReverbZone value);

No description yet.

Contains

public static bool Contains(Entity entity);

No description yet.