Skip to content

CSMath.Transform

Albert Domenech edited this page Apr 6, 2025 · 2 revisions

Transform Class

Contains the information for translate/scale/rotation or transform matrix to apply to a geometric shape.

Definition

Namespace: CSMath

C#

public class Transform

Properties

Returns Name Summary
XYZ EulerRotation Rotation in Euler angles, the value is in radians.
Matrix4 Matrix Transform matrix.
Quaternion Quaternion Rotation represented in quaternion form.
XYZ Scale Scale applied in the transformation.
XYZ Translation Rotation in Euler angles, the value is in radians.

Methods

Returns Name Summary
XYZ ApplyTransform(CSMath.XYZ, System.Boolean) Apply transform to a .
XYZ Rotate(CSMath.XYZ)
XYZ Translate(CSMath.XYZ)
Boolean TryDecompose(CSMath.XYZ@, CSMath.XYZ@, CSMath.Quaternion@) Try to decompose the transform into it's components.
Clone this wiki locally