logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ActiveCameraChangedSignal

    Broadcast whenever the resolved active camera changes, whether due to an explicit selection, an override, or a depth-priority re-resolution among registered cameras.

    Inheritance
    object
    ActiveCameraChangedSignal
    Namespace: Serenity.GameCamera.Application.Events
    Assembly: Serenity.GameCamera.Application.dll
    Syntax
    public class ActiveCameraChangedSignal : EventDispatcherSignal

    Constructors

    ActiveCameraChangedSignal()

    Initializes a new instance of the ActiveCameraChangedSignal class.

    Declaration
    public ActiveCameraChangedSignal()

    ActiveCameraChangedSignal(object, object)

    Initializes a new instance of the ActiveCameraChangedSignal class.

    Declaration
    public ActiveCameraChangedSignal(object previousCamera, object currentCamera)
    Parameters
    Type Name Description
    object previousCamera

    Opaque handle to the previously active camera, or null.

    object currentCamera

    Opaque handle to the newly active camera, or null.

    Fields

    CurrentCamera

    Declaration
    public readonly object CurrentCamera
    Field Value
    Type Description
    object

    Opaque handle to the newly active camera, or null when none could be resolved.

    PreviousCamera

    Declaration
    public readonly object PreviousCamera
    Field Value
    Type Description
    object

    Opaque handle to the previously active camera, or null when there was none.

    Methods

    ToString()

    Returns a string representation of the event.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Formatted string with the previous and current camera references.

    In this article
    © 2026 Serenity. All Rights Reserved