 |
YawPitchRollRotateTransformSetYawPitchRoll Method |
SetYawPitchRoll method can set all three angles at once (updating the matrix only once).
Namespace: Ab4d.SharpEngine.TransformationsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic void SetYawPitchRoll(
float yaw = 0f,
float pitch = 0f,
float roll = 0f
)
Parameters
- yaw Single (Optional)
- yaw angle in degrees - rotates around (0, 1, 0) axis
- pitch Single (Optional)
- pitch angle in degrees - rotates around (1, 0, 0) axis
- roll Single (Optional)
- roll in degrees - rotates around (0, 0, 1) axis
See Also