![]() |
CybSDK Python
4.3
|
Native Implementation invoking the underlying C++ SDK. More...
Public Member Functions | |||
def | __init__ (self, c_void_p native_device) | ||
Unmanaged pointer to the native device. More... | |||
def | __del__ (self) | ||
Free the unmanaged pointer to the native device. More... | |||
bool | Open (self) | ||
Opens the connection to the Virtualizer device.
| |||
bool | IsOpen (self) | ||
Checks if the connection was opened before.Checks if the connection was opened before. | |||
bool | Close (self) | ||
Closes the connection to the Virtualizer device.Closes the connection to the Virtualizer device. | |||
VirtDeviceInfo | GetDeviceInfo (self) | ||
Returns the USB infos of this device.Returns the USB infos of this device. | |||
float | GetPlayerHeight (self) | ||
Returns the current player height relative to the default height.
| |||
def | ResetPlayerHeight (self) | ||
Assigns the current height to the default height.
| |||
float | GetPlayerOrientation (self) | ||
Returns the orientation of the player as an absolute value.
| |||
def | ResetPlayerOrientation (self) | ||
Assigns the current orientation to the default vector.
Assigns the current orientation to the default vector. | |||
float | GetMovementSpeed (self) | ||
Returns the current movement speed in meters per second.
| |||
float | GetMovementDirection (self) | ||
Returns the movement direction relative to the current player orientation.
| |||
bool | HasHaptic (self) | ||
Checks if the Virtualizer device supports haptic feedback.Checks if the Virtualizer device supports haptic feedback. | |||
def | HapticPlay (self) | ||
Play a signal on the haptic unit.Play a signal on the haptic unit. | |||
def | HapticStop (self) | ||
Stop the haptic unit.Stop the haptic unit. | |||
def | HapticSetGain (self, int gain) | ||
Set the gain (dB) level of the haptic unit.
| |||
def | HapticSetFrequency (self, int frequency) | ||
Set the frequency (Hz) of a sine wave on the haptic unit.
| |||
def | HapticSetVolume (self, int volume) | ||
Sets the haptic feedback (change of amplitude) in the baseplate.
| |||
Native Implementation invoking the underlying C++ SDK.
Native Implementation invoking the underlying C++ SDK
def cybsdk._VirtDevice.VirtDevice.__init__ | ( | self, | |
c_void_p | native_device | ||
) |
Unmanaged pointer to the native device.
def cybsdk._VirtDevice.VirtDevice.__del__ | ( | self | ) |
Free the unmanaged pointer to the native device.