BodyController.GetCurrentReading Method

Gets the lean of the body, both left and right, and forward and backward.

Syntax

public:
IBodyControllerReading^ GetCurrentReading()  

Return value

Type: IBodyControllerReading 

The current body lean: left/right is -1.0 to +1.0, backward/forward is -1.0 to +1.0, where 1 represents about a 40 degree lean.

Remarks

Note

This is a cross-OS call. For more information, see Cross-OS Calls.

Requirements

Namespace: Windows.Xbox.Input

Metadata: windows.winmd

See also

Reference

BodyController Class

BodyController Members

Windows.Xbox.Input Namespace