| Parameter | Description |
|---|---|
| entity | The entity. |
| localPosition | The position relative to the parent, or to the world if the entity has no parent. |
| localRotation | The rotation relative to the parent, or to the world if the entity has no parent. |
| localScale | The scale relative to the parent, or to the world if the entity has no parent. |
TransformRef A reference to the new transform.
Adds a transform to an entity.
| Parameter | Description |
|---|---|
| entity | The entity. |
| localPosition | The position relative to the parent, or to the world if the entity has no parent. |
| localRotation | The rotation relative to the parent, or to the world if the entity has no parent. |
TransformRef A reference to the new transform.
Adds a transform with a scale of one to an entity.
| Parameter | Description |
|---|---|
| entity | The entity. |
| localPosition | The position relative to the parent, or to the world if the entity has no parent. |
TransformRef A reference to the new transform.
Adds a transform with no rotation and a scale of one to an entity.