docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field OnWindowOpened

    An event that is triggered when this volume camera's window is opened.

    The first argument is the actual dimensions of the window in world space, or Vector3.zero if the volume is unbounded. The second argument is the actual dimensions of the content, which may be different due to aspect ratio mapping, in world space, or Vector3.zero if the volume is unbounded. The third argument is the output mode the window was opened in.

    Any of these may be different from DesiredOutputDimensions or DesiredOutputMode, based on OS decisions.

    Namespace: Unity.PolySpatial
    Assembly: solution.dll
    Syntax
    [SerializeField]
    [Tooltip("An event that is triggered when this volume camera's window is opened.")]
    public UnityEvent<Vector3, Vector3, VolumeCamera.PolySpatialVolumeCameraMode> OnWindowOpened
    Returns
    Type Description
    UnityEvent<Vector3, Vector3, VolumeCamera.PolySpatialVolumeCameraMode>
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)