Work in progress. These docs describe Spawnite at launch, and some parts are still being built.
| Property |
Modifier |
Type |
Description |
bounds |
public |
Box3 |
The model’s own bounds, which is what stands it on the ground: Tripo centres a mesh on the origin rather than on its feet. |
placement |
public |
object |
The placement, read-only, as the scatter’s record hands it. |
placement.height |
readonly |
number |
Metres tall the model is scaled to, before it leans. |
placement.isStatic? |
readonly |
false |
False where its prop says the game moves it, so the sun’s far shadow map leaves it out. |
placement.kind |
readonly |
ScatterKind |
- |
placement.position |
readonly |
ReadonlyVector3 |
On the ground: y is the surface height at x, z. |
placement.prop? |
readonly |
string |
The map’s prop it stands for, where it is one rather than the seed’s. |
placement.rotationY |
readonly |
number |
Radians of yaw. |
placement.tilt |
readonly |
number |
Radians of lean, about x after the yaw. |
target |
public |
Matrix4 |
- |