TransformBuilder
Overview
TransformBuilder is a class in Aspose.3D FOSS for Python.
The TransformBuilder is used to build transform matrix by a chain of transformations.
This class declares 19 methods for TransformBuilder objects in Python programs.
Available methods include: __init__, append, compose, prepend, rearrange, reset, rotate, rotate_degree, rotate_euler_degree, rotate_euler_radian, rotate_radian, scale, and 1 additional methods.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: compose_order, matrix.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
matrix | 'Matrix4' | Read/Write | Gets or sets the matrix. |
compose_order | 'ComposeOrder' | Read/Write | Gets or sets the compose order. |
Methods
| Signature | Description |
|---|---|
__init__(initial: 'Matrix4', order: 'ComposeOrder') | Not implemented in the FOSS edition — throws at runtime. Calls init(initial, order) on this TransformBuilder instance. |
scale(s: float) → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls scale(s) on this TransformBuilder instance. |
scale(x: float, y: float, z: float) → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls scale(x, y, z) on this TransformBuilder instance. |
scale(s: 'Vector3') → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls scale(s) on this TransformBuilder instance. |
rotate_degree(angle: float, axis: 'Vector3') → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls rotate_degree(angle, axis) on this TransformBuilder instance. |
rotate_degree(rot: 'Vector3', order: 'RotationOrder') | Not implemented in the FOSS edition — throws at runtime. Calls rotate_degree(rot, order) on this TransformBuilder instance. |
rotate_radian(angle: float, axis: 'Vector3') → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls rotate_radian(angle, axis) on this TransformBuilder instance. |
rotate_radian(rot: 'Vector3', order: 'RotationOrder') | Not implemented in the FOSS edition — throws at runtime. Calls rotate_radian(rot, order) on this TransformBuilder instance. |
rotate_euler_radian(x: float, y: float, z: float) → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls rotate_euler_radian(x, y, z) on this TransformBuilder instance. |
rotate_euler_radian(r: 'Vector3') → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls rotate_euler_radian(r) on this TransformBuilder instance. |
translate(tx: float, ty: float, tz: float) → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. ortranslate(v)` adds a translation step to the transformation chain, returning the builder for further chaining |
translate(v: 'Vector3') → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls translate(v) on this TransformBuilder instance. |
compose(m: 'Matrix4') | Not implemented in the FOSS edition — throws at runtime. Calls compose(m) on this TransformBuilder instance. |
append(m: 'Matrix4') → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls append(m) on this TransformBuilder instance. |
prepend(m: 'Matrix4') → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls prepend(m) on this TransformBuilder instance. |
rearrange(new_x: 'Axis', new_y: 'Axis', new_z: 'Axis') → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls rearrange(new_x, new_y, new_z) on this TransformBuilder instance. |
rotate(q: 'Quaternion') → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls rotate(q) on this TransformBuilder instance. |
rotate_euler_degree(deg_x: float, deg_y: float, deg_z: float) → 'TransformBuilder' | Not implemented in the FOSS edition — throws at runtime. Calls rotate_euler_degree(deg_x, deg_y, deg_z) on this TransformBuilder instance. |
reset() | Not implemented in the FOSS edition — throws at runtime. Calls reset on this TransformBuilder instance. |