uimod3d.transform
Overview
- Adjusts the position, rotation, or scale of a 3D UI attached to an actor. Only specified parameters are modified; others keep their current values.
Metadata
| Field | Value |
|---|---|
| Display | Transform 3D UI Mod |
| Category | uimod3d |
| Access | Public |
| Scope | B1Standalone |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| entity_id | entityId | no | — | Target actor entity_id |
| offset_x | float | no | — | X offset from actor origin (cm) |
| offset_y | float | no | — | Y offset from actor origin (cm) |
| offset_z | float | no | — | Z offset from actor origin (cm) |
| pitch | float | no | — | Pitch rotation (degrees) |
| yaw | float | no | — | Yaw rotation (degrees) |
| roll | float | no | — | Roll rotation (degrees) |
| scale | float | no | — | Uniform scale (overridden by scale_x/y/z) |
| scale_x | float | no | — | Scale along X axis |
| scale_y | float | no | — | Scale along Y axis |
| scale_z | float | no | — | Scale along Z axis |
Returns
- Return shape is not declared for this command.
Usage
await inzoi.cli.execute('uimod3d.transform', {
entity_id: 0, // optional
offset_x: 0.0, // optional
offset_y: 0.0, // optional
offset_z: 0.0, // optional
pitch: 0.0, // optional
yaw: 0.0, // optional
roll: 0.0, // optional
scale: 0.0, // optional
scale_x: 0.0, // optional
scale_y: 0.0, // optional
scale_z: 0.0, // optional
});