Skip to main content
Version: 2.x

Class OdinColliderFilterComponent

Custom filter by collider component for OdinNative.Wrapper.Media.CustomEffect

This class is a effect in the odin audio pipline to mute audio based on GameObject collisions in Unity space. The effect can help to trigger specific audio packets quickly without the adjustment of Server-side positions.

Assembly: cs.temp.dll.dll
Declaration
public class OdinColliderFilterComponent : OdinCustomEffectUnityComponentBase<IntPtr>, IOdinEffect

Inheritance: System.Object -> OdinNative.Unity.Audio.OdinCustomEffectUnityComponentBase<U>

Implements:
OdinNative.Unity.Audio.IOdinEffect

Properties

_Colliding

Declaration
protected virtual bool _Colliding { get; }

Fields

ColliderTag

Declaration
public string ColliderTag

Comparison

Declaration
public StringComparison Comparison

Callback

Declaration
public UnityAction<OdinArrayf> Callback

Methods

SetTriggerCount(Collider, bool)

Declaration
public virtual void SetTriggerCount(Collider obj, bool isEnter)
Parameters
TypeName
Odin.Colliderobj
System.BooleanisEnter

CustomEffectCallback(OdinArrayf, ref bool, IntPtr)

Declaration
public override void CustomEffectCallback(OdinArrayf audio, ref bool isSilent, IntPtr _)
Parameters
TypeName
Odin.OdinArrayfaudio
System.BooleanisSilent
Odin.IntPtr_

Implements