Class VRDeviceSystem
- Namespace
- Stride.VirtualReality
- Assembly
- Stride.VirtualReality.dll
public class VRDeviceSystem : GameSystemBase, IDisposable, ICollectorHolder, IGameSystemBase, IComponent, IReferencable, IUpdateable, IDrawable, IContentable
- Inheritance
-
VRDeviceSystem
- Implements
- Inherited Members
- Extension Methods
Constructors
VRDeviceSystem(IServiceRegistry)
public VRDeviceSystem(IServiceRegistry registry)
Parameters
registry
IServiceRegistry
Fields
MirrorHeight
public int MirrorHeight
Field Value
MirrorWidth
public int MirrorWidth
Field Value
PreferredApis
public VRApi[] PreferredApis
Field Value
- VRApi[]
PreferredScalings
public Dictionary<VRApi, float> PreferredScalings
Field Value
PreviousCameraProjection
public Matrix PreviousCameraProjection
Field Value
PreviousUseCustomProjectionMatrix
public bool PreviousUseCustomProjectionMatrix
Field Value
PreviousUseCustomViewMatrix
public bool PreviousUseCustomViewMatrix
Field Value
RequireMirror
public bool RequireMirror
Field Value
ResolutionScale
public float ResolutionScale
Field Value
Properties
Device
public VRDevice Device { get; }
Property Value
Methods
Destroy()
Disposes of object resources.
protected override void Destroy()
Draw(GameTime)
Draws this instance.
public override void Draw(GameTime gameTime)
Parameters
gameTime
GameTimeThe current timing.
Update(GameTime)
This method is called when this game component is updated.
public override void Update(GameTime gameTime)
Parameters
gameTime
GameTimeThe current timing.