View.RotationY Property
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.
The degrees that the view is rotated around the vertical axis through the pivot point. -or- Sets the degrees that the view is rotated around the vertical axis through the pivot point.
public virtual float RotationY { [Android.Runtime.Register("getRotationY", "()F", "GetGetRotationYHandler")] get; [Android.Runtime.Register("setRotationY", "(F)V", "GetSetRotationY_FHandler")] set; }
[<get: Android.Runtime.Register("getRotationY", "()F", "GetGetRotationYHandler")>]
[<set: Android.Runtime.Register("setRotationY", "(F)V", "GetSetRotationY_FHandler")>]
member this.RotationY : single with get, set
Property Value
The degrees of Y rotation.
- Attributes
Remarks
Property getter documentation:
The degrees that the view is rotated around the vertical axis through the pivot point.
Java documentation for android.view.View.getRotationY()
.
Property setter documentation:
Sets the degrees that the view is rotated around the vertical axis through the pivot point. Increasing values result in counter-clockwise rotation from the viewpoint of looking down the y axis.
When rotating large views, it is recommended to adjust the camera distance accordingly. Refer to #setCameraDistance(float)
for more information.
Java documentation for android.view.View.setRotationY(float)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.