Transform
From a script
ts
import { TransformComponent } from "mmpx";
const transform = this.entity.TryGetComponent(TransformComponent);Full API: TransformComponent.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
Xx | number | 0 | |
Yy | number | 0 | |
Zz | number | 0 | |
Rotation XrotationX | number (°) | 0° | |
Rotation YrotationY | number (°) | 0° | |
Rotation ZrotationZ | number (°) | 0° | |
Scale XscaleX | number | 1 | |
Scale YscaleY | number | 1 | |
Scale ZscaleZ | number | 1 |