Class VRDeviceSystem
- Namespace
- Stride.VirtualReality
- Assembly
- Stride.VirtualReality.dll
public class VRDeviceSystem : GameSystemBase, IDisposable, ICollectorHolder, IGameSystemBase, IComponent, IReferencable, IUpdateable, IDrawable, IContentable- Inheritance
- 
      objectVRDeviceSystem
- Implements
- Inherited Members
- Extension Methods
Constructors
VRDeviceSystem(IServiceRegistry)
public VRDeviceSystem(IServiceRegistry registry)Parameters
- registryIServiceRegistry
Fields
MirrorHeight
public int MirrorHeightField Value
MirrorWidth
public int MirrorWidthField Value
PreferredApis
public VRApi[] PreferredApisField Value
- VRApi[]
PreferredScalings
public Dictionary<VRApi, float> PreferredScalingsField Value
PreviousCameraProjection
public Matrix PreviousCameraProjectionField Value
PreviousUseCustomProjectionMatrix
public bool PreviousUseCustomProjectionMatrixField Value
PreviousUseCustomViewMatrix
public bool PreviousUseCustomViewMatrixField Value
RequestPassthrough
public bool RequestPassthroughField Value
RequireMirror
public bool RequireMirrorField Value
ResolutionScale
public float ResolutionScaleField 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
- gameTimeGameTime
- The current timing. 
Update(GameTime)
This method is called when this game component is updated.
public override void Update(GameTime gameTime)Parameters
- gameTimeGameTime
- The current timing.