Click or drag to resize
Ab4d.SharpEngine logo

YawPitchRollRotateTransformSetYawPitchRoll Method

SetYawPitchRoll method can set all three angles at once (updating the matrix only once).

Namespace: Ab4d.SharpEngine.Transformations
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public 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