C# Class Gvr.Internal.BaseVRDevice

Afficher le fichier Open project: omgwtfgames/unity-cardboard-photosphere Class Usage Examples

Méthodes publiques

Свойство Type Description
backButtonPressed bool
profileChanged bool
tilted bool
triggered bool

Protected Properties

Свойство Type Description
headPose MutablePose3D
leftEyeDistortedProjection UnityEngine.Matrix4x4
leftEyeDistortedViewport UnityEngine.Rect
leftEyeOrientation int
leftEyePose MutablePose3D
leftEyeUndistortedProjection UnityEngine.Matrix4x4
leftEyeUndistortedViewport UnityEngine.Rect
recommendedTextureSize Vector2
rightEyeDistortedProjection UnityEngine.Matrix4x4
rightEyeDistortedViewport UnityEngine.Rect
rightEyeOrientation int
rightEyePose MutablePose3D
rightEyeUndistortedProjection UnityEngine.Matrix4x4
rightEyeUndistortedViewport UnityEngine.Rect

Méthodes publiques

Méthode Description
CreateStereoScreen ( ) : RenderTexture
Destroy ( ) : void
GetDevice ( ) : BaseVRDevice
GetEyePose ( GvrViewer eye ) : Pose3D
GetHeadPose ( ) : Pose3D
GetProjection ( GvrViewer eye, GvrViewer distortion = GvrViewer.Distortion.Distorted ) : Matrix4x4
GetViewport ( GvrViewer eye, GvrViewer distortion = GvrViewer.Distortion.Distorted ) : Rect
Init ( ) : void
OnApplicationQuit ( ) : void
OnFocus ( bool focus ) : void
OnLevelLoaded ( int level ) : void
OnPause ( bool pause ) : void
PostRender ( RenderTexture stereoScreen ) : void
Recenter ( ) : void
RequiresNativeDistortionCorrection ( ) : bool
SetDefaultDeviceProfile ( Uri uri ) : bool
SetDistortionCorrectionEnabled ( bool enabled ) : void
SetElectronicDisplayStabilizationEnabled ( bool enabled ) : void
SetNeckModelScale ( float scale ) : void
SetVRModeEnabled ( bool enabled ) : void
ShouldRecreateStereoScreen ( int curWidth, int curHeight ) : bool
ShowSettingsDialog ( ) : void
SupportsNativeDistortionCorrection ( List diagnostics ) : bool
SupportsNativeUILayer ( List diagnostics ) : bool
UpdateScreenData ( ) : void
UpdateState ( ) : void

Méthodes protégées

Méthode Description
BaseVRDevice ( ) : UnityEngine
ComputeEyesFromProfile ( ) : void

Private Methods

Méthode Description
MakeProjection ( float l, float t, float r, float b, float n, float f ) : Matrix4x4

Method Details

BaseVRDevice() protected méthode

protected BaseVRDevice ( ) : UnityEngine
Résultat UnityEngine

ComputeEyesFromProfile() protected méthode

protected ComputeEyesFromProfile ( ) : void
Résultat void

CreateStereoScreen() public méthode

public CreateStereoScreen ( ) : RenderTexture
Résultat UnityEngine.RenderTexture

Destroy() public méthode

public Destroy ( ) : void
Résultat void

GetDevice() public static méthode

public static GetDevice ( ) : BaseVRDevice
Résultat BaseVRDevice

GetEyePose() public méthode

public GetEyePose ( GvrViewer eye ) : Pose3D
eye GvrViewer
Résultat Pose3D

GetHeadPose() public méthode

public GetHeadPose ( ) : Pose3D
Résultat Pose3D

GetProjection() public méthode

public GetProjection ( GvrViewer eye, GvrViewer distortion = GvrViewer.Distortion.Distorted ) : Matrix4x4
eye GvrViewer
distortion GvrViewer
Résultat UnityEngine.Matrix4x4

GetViewport() public méthode

public GetViewport ( GvrViewer eye, GvrViewer distortion = GvrViewer.Distortion.Distorted ) : Rect
eye GvrViewer
distortion GvrViewer
Résultat UnityEngine.Rect

Init() public abstract méthode

public abstract Init ( ) : void
Résultat void

OnApplicationQuit() public méthode

public OnApplicationQuit ( ) : void
Résultat void

OnFocus() public méthode

public OnFocus ( bool focus ) : void
focus bool
Résultat void

OnLevelLoaded() public méthode

public OnLevelLoaded ( int level ) : void
level int
Résultat void

OnPause() public méthode

public OnPause ( bool pause ) : void
pause bool
Résultat void

PostRender() public abstract méthode

public abstract PostRender ( RenderTexture stereoScreen ) : void
stereoScreen UnityEngine.RenderTexture
Résultat void

Recenter() public abstract méthode

public abstract Recenter ( ) : void
Résultat void

RequiresNativeDistortionCorrection() public méthode

public RequiresNativeDistortionCorrection ( ) : bool
Résultat bool

SetDefaultDeviceProfile() public méthode

public SetDefaultDeviceProfile ( Uri uri ) : bool
uri System.Uri
Résultat bool

SetDistortionCorrectionEnabled() public abstract méthode

public abstract SetDistortionCorrectionEnabled ( bool enabled ) : void
enabled bool
Résultat void

SetElectronicDisplayStabilizationEnabled() public abstract méthode

public abstract SetElectronicDisplayStabilizationEnabled ( bool enabled ) : void
enabled bool
Résultat void

SetNeckModelScale() public abstract méthode

public abstract SetNeckModelScale ( float scale ) : void
scale float
Résultat void

SetVRModeEnabled() public abstract méthode

public abstract SetVRModeEnabled ( bool enabled ) : void
enabled bool
Résultat void

ShouldRecreateStereoScreen() public méthode

public ShouldRecreateStereoScreen ( int curWidth, int curHeight ) : bool
curWidth int
curHeight int
Résultat bool

ShowSettingsDialog() public méthode

public ShowSettingsDialog ( ) : void
Résultat void

SupportsNativeDistortionCorrection() public méthode

public SupportsNativeDistortionCorrection ( List diagnostics ) : bool
diagnostics List
Résultat bool

SupportsNativeUILayer() public méthode

public SupportsNativeUILayer ( List diagnostics ) : bool
diagnostics List
Résultat bool

UpdateScreenData() public abstract méthode

public abstract UpdateScreenData ( ) : void
Résultat void

UpdateState() public abstract méthode

public abstract UpdateState ( ) : void
Résultat void

Property Details

backButtonPressed public_oe property

public bool backButtonPressed
Résultat bool

headPose protected_oe property

protected MutablePose3D headPose
Résultat MutablePose3D

leftEyeDistortedProjection protected_oe property

protected Matrix4x4,UnityEngine leftEyeDistortedProjection
Résultat UnityEngine.Matrix4x4

leftEyeDistortedViewport protected_oe property

protected Rect,UnityEngine leftEyeDistortedViewport
Résultat UnityEngine.Rect

leftEyeOrientation protected_oe property

protected int leftEyeOrientation
Résultat int

leftEyePose protected_oe property

protected MutablePose3D leftEyePose
Résultat MutablePose3D

leftEyeUndistortedProjection protected_oe property

protected Matrix4x4,UnityEngine leftEyeUndistortedProjection
Résultat UnityEngine.Matrix4x4

leftEyeUndistortedViewport protected_oe property

protected Rect,UnityEngine leftEyeUndistortedViewport
Résultat UnityEngine.Rect

profileChanged public_oe property

public bool profileChanged
Résultat bool

recommendedTextureSize protected_oe property

protected Vector2 recommendedTextureSize
Résultat Vector2

rightEyeDistortedProjection protected_oe property

protected Matrix4x4,UnityEngine rightEyeDistortedProjection
Résultat UnityEngine.Matrix4x4

rightEyeDistortedViewport protected_oe property

protected Rect,UnityEngine rightEyeDistortedViewport
Résultat UnityEngine.Rect

rightEyeOrientation protected_oe property

protected int rightEyeOrientation
Résultat int

rightEyePose protected_oe property

protected MutablePose3D rightEyePose
Résultat MutablePose3D

rightEyeUndistortedProjection protected_oe property

protected Matrix4x4,UnityEngine rightEyeUndistortedProjection
Résultat UnityEngine.Matrix4x4

rightEyeUndistortedViewport protected_oe property

protected Rect,UnityEngine rightEyeUndistortedViewport
Résultat UnityEngine.Rect

tilted public_oe property

public bool tilted
Résultat bool

triggered public_oe property

public bool triggered
Résultat bool