TransformBuilder
General
TransformBuilder és una classe en Aspose.3D FOSS per a .NET.
TransformBuilder.TransformBuilder crea un constructor amb una matriu inicial i compondre ordre.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
Matrix | Matrix4 | Read/Write | Gets or sets the resulting transformation matrix |
ComposeOrder | ComposeOrder | Read/Write | Gets or sets the order in which transformations are composed |
Mètodes
| Signature | Description |
|---|---|
TransformBuilder(initial: Matrix4, order: ComposeOrder) | Creates a builder with the specified compose order and a default matrix |
TransformBuilder(order: ComposeOrder) | |
Compose(m: Matrix4) | Replaces the current matrix with the supplied matrix |
Append(m: Matrix4) | Multiplies the current matrix by the given matrix on the right |
Prepend(m: Matrix4) | Multiplies the given matrix on the left of the current matrix |
Rearrange(newX: Axis, newY: Axis, newZ: Axis) | Reorders axes to newX, newY, newZ |
Scale(s: double) | Scales by the components of the provided Vector3 |
Scale(x: double, y: double, z: double) | |
Scale(s: Vector3) | |
RotateDegree(angle: double, axis: Vector3) | Rotates by a Vector3 of degrees using the specified rotation order |
RotateRadian(angle: double, axis: Vector3) | Rotates around the axis by the angle given in radians |
Rotate(q: Quaternion) | Rotates using the specified quaternion |
RotateEulerDegree(degX: double, degY: double, degZ: double) | Applies Euler rotation with degree angles for X, Y, Z |
RotateEulerRadian(x: double, y: double, z: double) | Applies Euler rotation using a Vector3 of radian angles |
RotateEulerRadian(r: Vector3) | |
Translate(tx: double, ty: double, tz: double) | Moves by the components of the given Vector3 |
Translate(v: Vector3) | |
Reset() | Restores the builder to an identity transformation |
RotateDegree(rot: Vector3, order: RotationOrder) | |
RotateRadian(rot: Vector3, order: RotationOrder) |