GCControllerExtensionGetMotion Method |
Gets the
GCMotion object for access to motion sensor values.
Check
hasMotionSensors to determine if the device has motion sensors.
Namespace: Rewired.Platforms.Apple.GameControllerAssemblies: Rewired_AppleGameController (in Rewired_AppleGameController.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic GCMotion GetMotion()
Return Value
GCMotionReturns GCMotion object if the device has motion sensors. Returns null if the device does not have motion sensors.
See Also