Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    CVRHeadsetView Class

    Namespace: Valve.VR
    Assembly: Stride.VirtualReality.dll
    System.Object → CVRHeadsetView
    Derived from CVRHeadsetView:

    public class CVRHeadsetView
    Name Description
    Methods
    GetHeadsetViewAspectRatio()
    GetHeadsetViewBlendRange(ref Single, ref Single)
    GetHeadsetViewCropped()
    GetHeadsetViewMode()
    GetHeadsetViewSize(ref UInt32, ref UInt32)
    SetHeadsetViewBlendRange(Single, Single)
    SetHeadsetViewCropped(Boolean)
    SetHeadsetViewMode(UInt32)
    SetHeadsetViewSize(UInt32, UInt32)
    | Improve this Doc View Source

    Methods


    GetHeadsetViewAspectRatio()

    public float GetHeadsetViewAspectRatio()
    Returns
    Type Description
    System.Single

    GetHeadsetViewBlendRange(ref Single, ref Single)

    public void GetHeadsetViewBlendRange(ref float pStartPct, ref float pEndPct)
    Parameters
    Type Name Description
    System.Single pStartPct
    System.Single pEndPct

    GetHeadsetViewCropped()

    public bool GetHeadsetViewCropped()
    Returns
    Type Description
    System.Boolean

    GetHeadsetViewMode()

    public uint GetHeadsetViewMode()
    Returns
    Type Description
    System.UInt32

    GetHeadsetViewSize(ref UInt32, ref UInt32)

    public void GetHeadsetViewSize(ref uint pnWidth, ref uint pnHeight)
    Parameters
    Type Name Description
    System.UInt32 pnWidth
    System.UInt32 pnHeight

    SetHeadsetViewBlendRange(Single, Single)

    public void SetHeadsetViewBlendRange(float flStartPct, float flEndPct)
    Parameters
    Type Name Description
    System.Single flStartPct
    System.Single flEndPct

    SetHeadsetViewCropped(Boolean)

    public void SetHeadsetViewCropped(bool bCropped)
    Parameters
    Type Name Description
    System.Boolean bCropped

    SetHeadsetViewMode(UInt32)

    public void SetHeadsetViewMode(uint eHeadsetViewMode)
    Parameters
    Type Name Description
    System.UInt32 eHeadsetViewMode

    SetHeadsetViewSize(UInt32, UInt32)

    public void SetHeadsetViewSize(uint nWidth, uint nHeight)
    Parameters
    Type Name Description
    System.UInt32 nWidth
    System.UInt32 nHeight

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation