Table of Contents

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

int

MirrorWidth

public int MirrorWidth

Field Value

int

PreferredApis

public VRApi[] PreferredApis

Field Value

VRApi[]

PreferredScalings

public Dictionary<VRApi, float> PreferredScalings

Field Value

Dictionary<VRApi, float>

PreviousCameraProjection

public Matrix PreviousCameraProjection

Field Value

Matrix

PreviousUseCustomProjectionMatrix

public bool PreviousUseCustomProjectionMatrix

Field Value

bool

PreviousUseCustomViewMatrix

public bool PreviousUseCustomViewMatrix

Field Value

bool

RequireMirror

public bool RequireMirror

Field Value

bool

ResolutionScale

public float ResolutionScale

Field Value

float

Properties

Device

public VRDevice Device { get; }

Property Value

VRDevice

Methods

Destroy()

Disposes of object resources.

protected override void Destroy()

Draw(GameTime)

Draws this instance.

public override void Draw(GameTime gameTime)

Parameters

gameTime GameTime

The current timing.

Update(GameTime)

This method is called when this game component is updated.

public override void Update(GameTime gameTime)

Parameters

gameTime GameTime

The current timing.