Properties:
| Name | Type | Description |
|---|---|---|
xOffset |
number | The x offset of the object according to layer |
yOffset |
number | The y offset of the object according to layer |
zOffset |
number | The z offset of the object according to layer |
orientation |
Orientation | The orientation according to layer |
upDown |
CameraUpDown | The camera up down orientation according to layer |
Methods
-
Read the JSON associated to the map element
Name Type Description jsonObject Json object describing the map element -
Scale the vertices correctly
Name Type Description vecATHREE.Vector3 The A vertex to rotate vecBTHREE.Vector3 The B vertex to rotate vecCTHREE.Vector3 The C vertex to rotate vecDTHREE.Vector3 The D vertex to rotate centerTHREE.Vector3 The center to rotate around positionArray.<number> The json position sizeTHREE.Vector3 The scale size kindElementMapKind The element map kind