Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    VRDeviceSystem Class

    Namespace: Stride.VirtualReality
    Assembly: Stride.VirtualReality.dll
    System.Object → DisposeBase → ComponentBase → GameSystemBase → VRDeviceSystem
    Derived from VRDeviceSystem:

    public class VRDeviceSystem : GameSystemBase, IDisposable, ICollectorHolder, IGameSystemBase, IComponent, IReferencable, IUpdateable, IDrawable, IContentable
    Name Description
    Constructors
    VRDeviceSystem(IServiceRegistry)
    Fields
    MirrorHeight
    MirrorWidth
    PreferredApis
    PreferredScalings
    PreviousCameraProjection
    PreviousUseCustomProjectionMatrix
    PreviousUseCustomViewMatrix
    RequireMirror
    ResolutionScale
    Properties
    Device
    Methods
    Destroy()
    Draw(GameTime)
    Update(GameTime)
    | Improve this Doc View Source

    Constructors


    VRDeviceSystem(IServiceRegistry)

    public VRDeviceSystem(IServiceRegistry registry)
    Parameters
    Type Name Description
    IServiceRegistry registry
    | Improve this Doc View Source

    Fields


    MirrorHeight

    public int MirrorHeight
    Field Value
    Type Description
    System.Int32

    MirrorWidth

    public int MirrorWidth
    Field Value
    Type Description
    System.Int32

    PreferredApis

    public VRApi[] PreferredApis
    Field Value
    Type Description
    VRApi[]

    PreferredScalings

    public Dictionary<VRApi, float> PreferredScalings
    Field Value
    Type Description
    System.Collections.Generic.Dictionary<VRApi, System.Single>

    PreviousCameraProjection

    public Matrix PreviousCameraProjection
    Field Value
    Type Description
    Matrix

    PreviousUseCustomProjectionMatrix

    public bool PreviousUseCustomProjectionMatrix
    Field Value
    Type Description
    System.Boolean

    PreviousUseCustomViewMatrix

    public bool PreviousUseCustomViewMatrix
    Field Value
    Type Description
    System.Boolean

    RequireMirror

    public bool RequireMirror
    Field Value
    Type Description
    System.Boolean

    ResolutionScale

    public float ResolutionScale
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Properties


    Device

    public VRDevice Device { get; }
    Property Value
    Type Description
    VRDevice
    | Improve this Doc View Source

    Methods


    Destroy()

    protected override void Destroy()
    Overrides
    ComponentBase.Destroy()

    Draw(GameTime)

    public override void Draw(GameTime gameTime)
    Parameters
    Type Name Description
    GameTime gameTime
    Overrides
    GameSystemBase.Draw(GameTime)

    Update(GameTime)

    public override void Update(GameTime gameTime)
    Parameters
    Type Name Description
    GameTime gameTime
    Overrides
    GameSystemBase.Update(GameTime)

    Inherited Members

    GameSystemBase.Game
    GameSystemBase.Services
    GameSystemBase.Content
    GameSystemBase.GraphicsDevice
    GameSystemBase.DrawOrderChanged
    GameSystemBase.VisibleChanged
    GameSystemBase.BeginDraw()
    GameSystemBase.EndDraw()
    GameSystemBase.Visible
    GameSystemBase.DrawOrder
    GameSystemBase.Initialize()
    GameSystemBase.InitGraphicsDeviceService()
    GameSystemBase.EnabledChanged
    GameSystemBase.UpdateOrderChanged
    GameSystemBase.Enabled
    GameSystemBase.UpdateOrder
    GameSystemBase.OnDrawOrderChanged(Object, EventArgs)
    GameSystemBase.OnUpdateOrderChanged(Object, EventArgs)
    GameSystemBase.IContentable.LoadContent()
    GameSystemBase.IContentable.UnloadContent()
    GameSystemBase.LoadContent()
    GameSystemBase.UnloadContent()
    ComponentBase.Tags
    ComponentBase.Name
    ComponentBase.ICollectorHolder.Collector
    ComponentBase.OnNameChanged()
    ComponentBase.ToString()
    DisposeBase.Dispose()
    DisposeBase.IsDisposed
    DisposeBase.IReferencable.ReferenceCount
    DisposeBase.IReferencable.AddReference()
    DisposeBase.IReferencable.Release()
    DisposeBase.OnAddReference()
    DisposeBase.OnReleaseReference()

    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