ThreeDFormat.IncrementRotationY(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes the rotation of the specified shape around the y-axis by the specified number of degrees.
public:
void IncrementRotationY(float Increment);
public void IncrementRotationY (float Increment);
Public Sub IncrementRotationY (Increment As Single)
Parameters
- Increment
- Single
Required Single. Specifies how much (in degrees) the rotation of the shape around the y-axis is to be changed. Can be a value from –90 through 90. A positive value tilts the shape to the left; a negative value tilts it to the right.
Remarks
Use the RotationY property to set the absolute rotation of the shape around the y-axis.
To change the rotation of a shape around the x-axis, use the IncrementRotationX(Single) method. To change the rotation around the z-axis, use the IncrementRotation(Single) method.
You cannot adjust the specified shape's rotation around the y-axis shape past the upper or lower limit for the RotationY property (90 degrees to –90 degrees). For example, if the RotationY property is initially set to 80 and you specify 40 for the Increment
argument, the resulting rotation will be 90 (the upper limit for the RotationY property) instead of 120.