CameraBehavior<T>

Inherits from CameraModule

Declaration

public abstract class CameraBehavior<T> : CameraModule where T : CameraBehaviorSettings, new()

Description

The base class for all camera behaviors which are enabled and disabled based on the settings of the behavior.

Type Parameters

TThe type of settings for the behavior.

Properties

settingsThe settings for the behavior.
enabledEnables or disables the behavior from being updated.

Methods

OnEnableA callback invoked when the behavior is enabled.
OnDisableA callback invoked when the behavior is disabled.
StartCoroutineStarts a coroutine.
StopCoroutineStops a coroutine.
Inherited

Properties

controllerThe camera controller handling the module.
registeredWhether the module has been registered to a controller.
idThe unique identifier of the camera module.