nn::hid::CTR::GyroscopeReader::SetDirectionMagnification Member Function
void SetDirectionMagnification(
f32 magnification
);
| Name | Description | |
|---|---|---|
| in | magnification | Magnitude applied to the angular velocity used to calculate the 3D attitude. |
Sets the angular speed value that will be used when internally calculating direction in the GyroscopeStatus structure, which is obtained by the Read function.
For example, if magnification is set to 2.0f and the attitude is rotated 90 degrees, the direction member of the GyroscopeStatus structure is calculated as a 180-degree rotation in attitude.
CONFIDENTIAL