Methods
(async) load(x, y, z, rotationY, scaleX, scaleY, scaleZ)
Creates a pier.
Parameters:
| Name | Type | Description |
|---|---|---|
x |
Number | Position in x axis |
y |
Number | Position in y axis |
z |
Number | Position in z axis |
rotationY |
Number | Rotation in y axis |
scaleX |
Number | Scale in x axis |
scaleY |
Number | Scale in y axis |
scaleZ |
Number | Scale in z axis |
- Source:
Returns:
THREE.Object3D
setUpModel(data, scaleX, scaleY, scaleZ)
Set the Animations and Scale of the Pier
Parameters:
| Name | Type | Description |
|---|---|---|
data |
THREE.Object3D | |
scaleX |
Number | Scale in x axis |
scaleY |
Number | Scale in y axis |
scaleZ |
Number | Scale in z axis |
- Source:
Returns:
THREE.Object3D