Bewerken

Delen via


CameraEventRouter Class

Definition

A helper class to provide hooks into the Unity camera exclusive Lifecycle events

public ref class CameraEventRouter : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Core/CameraEventRouter")]
public class CameraEventRouter : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Core/CameraEventRouter")>]
type CameraEventRouter = class
    inherit MonoBehaviour
Public Class CameraEventRouter
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
CameraEventRouter
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

CameraEventRouter()

Events

OnCameraPreRender

A callback to act upon MonoBehaviour.OnPreRender() without a script needing to exist on a Camera component

Applies to