Click or drag to resize
Ab4d.SharpEngine logo

AxisAngleRotateTransform Class

AxisAngleRotateTransform defines a rotation around the specified axis.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.TransformationsTransform
    Ab4d.SharpEngine.TransformationsAxisAngleRotateTransform

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

The AxisAngleRotateTransform type exposes the following members.

Constructors
 NameDescription
Public methodAxisAngleRotateTransform Constructor with default axis (0, 1, 0) and angle set to 0.
Public methodAxisAngleRotateTransform(Vector3, Single) Constructor
Public methodAxisAngleRotateTransform(Vector3, Single, Vector3) Constructor
Top
Properties
 NameDescription
Public propertyAngle Gets or sets angle in degrees.
Public propertyAxis Gets or sets an axis of rotation as Vector3.
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).
Top
Methods
 NameDescription
Public methodToString
(Overrides ObjectToString)
Protected methodUpdateMatrix Updates the Matrix4x4 that defines this transformation and is set to Value property.
Top
See Also