TransformBuilder
Overview
TransformBuilder is a class in Aspose.3D FOSS for .NET.
TransformBuilder.TransformBuilder initializes a builder with an initial matrix and composition order.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Matrix | Matrix4 | Read/Write | Gets or sets the current transformation matrix |
ComposeOrder | ComposeOrder | Read/Write | Gets or sets the order used for matrix composition |
Methods
| Signature | Description |
|---|---|
TransformBuilder(initial: Matrix4, order: ComposeOrder) | Initializes a builder with an initial matrix and composition order |
TransformBuilder(order: ComposeOrder) | |
Compose(m: Matrix4) | Multiplies the current matrix by the given matrix using the compose order |
Append(m: Matrix4) | Multiplies the current matrix on the right by the supplied matrix |
Prepend(m: Matrix4) | Multiplies the current matrix on the left by the supplied matrix |
Rearrange(newX: Axis, newY: Axis, newZ: Axis) | Reorders the axes to newX, newY, newZ |
Scale(s: double) | Scales using a Vector3 that holds per‑axis factors |
Scale(x: double, y: double, z: double) | |
Scale(s: Vector3) | |
RotateDegree(angle: double, axis: Vector3) | Rotates by a Vector3 of degree angles using the given rotation order |
RotateRadian(angle: double, axis: Vector3) | Rotates by angle radians around the specified axis vector |
Rotate(q: Quaternion) | Rotates using the provided quaternion |
RotateEulerDegree(degX: double, degY: double, degZ: double) | Rotates by Euler angles (degrees) for X, Y, Z axes |
RotateEulerRadian(x: double, y: double, z: double) | Rotates by a Vector3 of radian Euler angles |
RotateEulerRadian(r: Vector3) | |
Translate(tx: double, ty: double, tz: double) | Translates by tx, ty, tz offsets |
Translate(v: Vector3) | |
Reset() | Resets the builder to the identity matrix |
RotateDegree(rot: Vector3, order: RotationOrder) | |
RotateRadian(rot: Vector3, order: RotationOrder) |