Our new developer documentation is now available. Please check it out!
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
Name | Description |
---|---|
Emitter | |
Data |
Public Methods
Name | Description |
---|---|
SetUserData | Set delegate userdata for effect callback |
GetEffectUserData | Get delegate userdata |
CustomEffectCallback |