Rotate Constructor
Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Description
Create a Rotate struct that corresponds to a rotation around the specified axis by the provided Angle.
3D rotations are only expected to work on world space panels and will cause masking issues on overlay panels.
Declaration
public
Rotate(
Angle angle);
Description
Create a Rotate struct that correspond to a rotation around the z axis by the provided Angle.
Description
Create a Rotate struct that corresponds to a rotation specified by the provided Quaternion.
3D rotations are only expected to work on world space panels and will cause masking issues on overlay panels.