Skip to main content

EnvironmentNode

A class in Root.Township, the global namespace.

Component on a chunk that can override environment audio values (only reverb so far) for that area. ChunkBasedEnvironment looks it up on the chunk and blends to it.

Constructors​

MemberWhat it is
EnvironmentNode()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private EnvironmentNode.Variable reverbBacking field for Reverb.

Properties​

MemberWhat it is
EnvironmentNode.Variable Reverb { get; }The reverb value. Its Get returns this node's value when it overrides, otherwise the default node's value.

Used in​

Members of other types that take, return or hold a EnvironmentNode: