Click or drag to resize
Ab4d.SharpEngine logo

YawPitchRollRotateTransform Class

AxisAngleRotateTransform defines a rotation with a Yaw, Pitch and Roll properties.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.TransformationsTransform
    Ab4d.SharpEngine.TransformationsYawPitchRollRotateTransform

Namespace: Ab4d.SharpEngine.Transformations
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class YawPitchRollRotateTransform : Transform

The YawPitchRollRotateTransform type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyPitch Gets or sets pitch angle in degrees - rotates around (1, 0, 0) axis.
Public propertyPivotPoint Gets or sets a nullable Vector3 that sets a custom center of rotation. For example, this can set to the center of the object's mesh (get by GetCenterPosition(Boolean, Boolean) method). PivotPoint is null by default. In this case all rotations are done around the coordinate origin (0, 0, 0).
Public propertyRoll Gets or sets roll in degrees - rotates around (0, 0, 1) axis.
Public propertyYaw Gets or sets yaw angle in degrees - rotates around (0, 1, 0) axis.
Top
Methods
 NameDescription
Public methodSetYawPitchRoll SetYawPitchRoll method can set all three angles at once (updating the matrix only once).
Public methodToString
(Overrides ObjectToString)
Protected methodUpdateMatrix Updates the Matrix4x4 that defines this transformation and is set to Value property.
Top
See Also