docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct VolumeCamera.WindowState

    Struct to encapsulate a change in window state.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.PolySpatial
    Assembly: Unity.PolySpatial.dll
    Syntax
    public struct VolumeCamera.WindowState

    Fields

    ContentDimensions

    The dimensions that your Volume Camera's dimensions are mapped to, in Unity's coordinate units. (On visionOS, these will typically be the same, but they may not be on other platforms.)

    Declaration
    public Vector3 ContentDimensions
    Field Value
    Type Description
    Vector3

    IsFocused

    When windowEvent is set to WindowEvent.Focused, this will indicate whether it has received focus or lost it.

    Declaration
    public bool IsFocused
    Field Value
    Type Description
    bool

    Mode

    The mode this volume camera will display its content in, Bounded or Unbounded.

    Declaration
    public VolumeCamera.PolySpatialVolumeCameraMode Mode
    Field Value
    Type Description
    VolumeCamera.PolySpatialVolumeCameraMode

    OutputDimensions

    The actual dimensions of the window in world space, or Vector3.zero if the volume is unbounded.

    Declaration
    public Vector3 OutputDimensions
    Field Value
    Type Description
    Vector3

    WindowEvent

    The change in state that just occurred for this window. Change of states can mean actions such as the window was opened or the window was backgrounded.

    Declaration
    public VolumeCamera.WindowEvent WindowEvent
    Field Value
    Type Description
    VolumeCamera.WindowEvent
    In This Article
    • Fields
      • ContentDimensions
      • IsFocused
      • Mode
      • OutputDimensions
      • WindowEvent
    Back to top
    Copyright © 2025 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)