Search Results for

    Show / Hide Table of Contents

    Class ImmersiveCameraConfiguration

    Inheritance
    System.Object
    ImmersiveCameraConfiguration
    Camera2DConfiguration
    Camera3DConfiguration
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Immersive.Camera
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class ImmersiveCameraConfiguration

    Fields

    orthographicHeight

    Declaration
    protected float orthographicHeight
    Field Value
    Type Description
    System.Single

    Properties

    CameraAspectRatio

    Declaration
    public float CameraAspectRatio { get; }
    Property Value
    Type Description
    System.Single

    CameraEnabled

    Declaration
    public bool CameraEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    CameraRect

    Declaration
    public Rect CameraRect { get; set; }
    Property Value
    Type Description
    Rect

    FarClipPlane

    Declaration
    public float FarClipPlane { get; }
    Property Value
    Type Description
    System.Single

    IsOrthographic

    Declaration
    public abstract bool IsOrthographic { get; }
    Property Value
    Type Description
    System.Boolean

    NearClipPlane

    Declaration
    public float NearClipPlane { get; }
    Property Value
    Type Description
    System.Single

    SurfaceLocation

    Declaration
    public SurfaceLocation SurfaceLocation { get; set; }
    Property Value
    Type Description
    SurfaceLocation

    TargetAspectRatio

    Declaration
    public float TargetAspectRatio { get; }
    Property Value
    Type Description
    System.Single

    ViewportRect

    Declaration
    public Rect ViewportRect { get; }
    Property Value
    Type Description
    Rect

    Methods

    Init(SurfaceLocation, ImmersiveManagerSettings, RuntimeSettings)

    Declaration
    public virtual void Init(SurfaceLocation location, ImmersiveManagerSettings immersiveSettings, RuntimeSettings runtimeSettings)
    Parameters
    Type Name Description
    SurfaceLocation location
    ImmersiveManagerSettings immersiveSettings
    RuntimeSettings runtimeSettings

    PositionCamera(UnityEngine.Camera)

    Declaration
    public abstract void PositionCamera(UnityEngine.Camera camera)
    Parameters
    Type Name Description
    UnityEngine.Camera camera

    ResetRotationAndPosition(UnityEngine.Camera)

    Resets the local position and rotation of a defined camera.

    Declaration
    protected void ResetRotationAndPosition(UnityEngine.Camera camera)
    Parameters
    Type Name Description
    UnityEngine.Camera camera

    Camera to reset

    SetTargetAspectRatio(AspectRatio)

    A method which allows you to set the aspect Ratio for a Standard Width surface.

    Declaration
    public void SetTargetAspectRatio(AspectRatio aspect)
    Parameters
    Type Name Description
    AspectRatio aspect

    The AspectRatio of a standard width surface.

    SetViewportRect(Rect)

    Sets the ViewportRect of the camera configuration based the configurations CameraRect as a proportion of the total resolution of the entire room.

    Declaration
    public void SetViewportRect(Rect totalRoomRect)
    Parameters
    Type Name Description
    Rect totalRoomRect

    The rect of the entire room.

    In This Article
    Back to top Immersive Interactive