C# Class OVRPlugin, cs-mini-modbot-simulation

ファイルを表示 Open project: intel-cornellcup/mini-modbot-simulation Class Usage Examples

Public Properties

Property Type Description
wrapperVersion System.Version

Public Methods

Method Description
DismissHSW ( ) : bool
GetEyeACCELeration ( Eye, eyeId ) : Posef
GetEyeFrustum ( Eye eyeId ) : Frustumf
GetEyePose ( Eye eyeId ) : Posef
GetEyeTextureSize ( Eye eyeId ) : Sizei
GetEyeVelocity ( Eye eyeId ) : Posef
GetInputState ( uint controllerMask ) : InputState
GetNativePointer ( ) : IntPtr
GetNodePose ( Node nodeId ) : Posef
GetTrackerFrustum ( Tracker trackerId ) : Frustumf
GetTrackerPose ( Tracker trackerId ) : Posef
RecenterPose ( ) : bool
SetControllerVibration ( uint controllerMask, float frequency, float amplitude ) : bool
SetOverlayQuad ( bool onTop, bool headLocked, IntPtr texture, IntPtr device, Posef pose, Vector3f scale ) : bool
ShowUI ( PlatformUI ui ) : bool
Update ( int frameIndex ) : bool

Private Methods

Method Description
GetCap ( Caps, cap ) : bool
GetStatus ( Status bit ) : bool
SetCap ( Caps cap, bool value ) : void
ToBool ( bool b ) : Bool

Method Details

DismissHSW() public static method

public static DismissHSW ( ) : bool
return bool

GetEyeACCELeration() public static method

public static GetEyeACCELeration ( Eye, eyeId ) : Posef
eyeId Eye,
return Posef

GetEyeFrustum() public static method

public static GetEyeFrustum ( Eye eyeId ) : Frustumf
eyeId Eye
return Frustumf

GetEyePose() public static method

public static GetEyePose ( Eye eyeId ) : Posef
eyeId Eye
return Posef

GetEyeTextureSize() public static method

public static GetEyeTextureSize ( Eye eyeId ) : Sizei
eyeId Eye
return Sizei

GetEyeVelocity() public static method

public static GetEyeVelocity ( Eye eyeId ) : Posef
eyeId Eye
return Posef

GetInputState() public static method

public static GetInputState ( uint controllerMask ) : InputState
controllerMask uint
return InputState

GetNativePointer() public static method

public static GetNativePointer ( ) : IntPtr
return IntPtr

GetNodePose() public static method

public static GetNodePose ( Node nodeId ) : Posef
nodeId Node
return Posef

GetTrackerFrustum() public static method

public static GetTrackerFrustum ( Tracker trackerId ) : Frustumf
trackerId Tracker
return Frustumf

GetTrackerPose() public static method

public static GetTrackerPose ( Tracker trackerId ) : Posef
trackerId Tracker
return Posef

RecenterPose() public static method

public static RecenterPose ( ) : bool
return bool

SetControllerVibration() public static method

public static SetControllerVibration ( uint controllerMask, float frequency, float amplitude ) : bool
controllerMask uint
frequency float
amplitude float
return bool

SetOverlayQuad() public static method

public static SetOverlayQuad ( bool onTop, bool headLocked, IntPtr texture, IntPtr device, Posef pose, Vector3f scale ) : bool
onTop bool
headLocked bool
texture IntPtr
device IntPtr
pose Posef
scale Vector3f
return bool

ShowUI() public static method

public static ShowUI ( PlatformUI ui ) : bool
ui PlatformUI
return bool

Update() public static method

public static Update ( int frameIndex ) : bool
frameIndex int
return bool

Property Details

wrapperVersion public_oe static_oe property

public static Version,System wrapperVersion
return System.Version