VRDeviceSystem Class
              
              
              Namespace: Stride.VirtualReality
              Assembly: Stride.VirtualReality.dll
              
              
              
              
              
              
              
                 Derived from VRDeviceSystem: 
              
              
              
              
              
                public class VRDeviceSystem : GameSystemBase, IDisposable, ICollectorHolder, IGameSystemBase, IComponent, IReferencable, IUpdateable, IDrawable, IContentable
               
              
              
              
              
              
                  
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Constructors
              
                
              
              
              
              
              
              VRDeviceSystem(IServiceRegistry)
              
              
              
              
              
                public VRDeviceSystem(IServiceRegistry registry)
               
              
              Parameters
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Fields
              
                
              
              
              
              
              MirrorHeight
              
              
              
              
              
              
              Field Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                     | 
                  
                
              
              
              
              
              
              MirrorWidth
              
              
              
              
              
              
              Field Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                     | 
                  
                
              
              
              
              
              
              PreferredApis
              
              
              
              
              
                public VRApi[] PreferredApis
               
              
              Field Value
              
              
              
              
              
              PreferredScalings
              
              
              
              
              
                public Dictionary<VRApi, float> PreferredScalings
               
              
              Field Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Collections.Generic.Dictionary<VRApi, System.Single> | 
                     | 
                  
                
              
              
              
              
              
              PreviousCameraProjection
              
              
              
              
              
                public Matrix PreviousCameraProjection
               
              
              Field Value
              
              
              
              
              
              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
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Methods
              
                
              
              
              
              
              
              Destroy()
              
              
              
              
              
                protected override void Destroy()
               
              
              Overrides
              
              
              
              
              
              
              Draw(GameTime)
              
              
              
              
              
                public override void Draw(GameTime gameTime)
               
              
              Parameters
              
              Overrides
              
              
              
              
              
              
              Update(GameTime)
              
              
              
              
              
                public override void Update(GameTime gameTime)
               
              
              Parameters
              
              Overrides
              
              
              
 
              
               
              
              
              
              
              
              
              Extension Methods