Developer Documentation

OdinTerrainFilterComponent

Inherits from:

public class OdinTerrainFilterComponent : OdinCustomEffectUnityComponentBase<TerrainFilterUserData>, IOdinEffect

Custom filter by terrain component for Media

This class is a effect in the odin audio pipline to mute audio based on location of a GameObject relative to a terrain type in Unity space. Note that the default implementation is Unity specific on a 2D calculation with X, Z and is not useful in all occlusions.

Properties

NameDescription
Emitter
Data

Public Methods

NameDescription
SetUserDataSet delegate userdata for effect callback
GetEffectUserDataGet delegate userdata
CustomEffectCallback