Members
1
Can move forward and backward and rotateZ left and right
2
Can move forward and backward left and right and rotate with mouse
3
Can move forward, backward, up and down. Can rotateZ left and right
Methods
computeRelativeElevationFromGround(object3D, tileLayer, crsopt) → {number}
Compute relative elevation from ground of a Object3D
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
object3D | THREE. | object3D | ||
tileLayer | itowns. | tile layer used to compute elevation | ||
crs | string | <optional> | EPSG:3946 | coordinates referential system |
- relative elevation
- Type:
- number
moveHtmlToWorldPosition(htmlToMove, worldPos, camera)
Modify left and top css attributes of your html element to place in scene3D
Name | Type | Description |
---|---|---|
htmlToMove | HTMLElement | html element to modify left and top attributes |
worldPos | THREE. | world position where to move your html |
camera | THREE. | camera of the scene3D |
Type Definitions
DragAndDropAvatarVariables
PropertiesName | Type | Description |
---|---|---|
camera_duration | number | time for camera movement in ms |
camera_offset | Object | offset to positioned camera behind object3D |
camera_angle | number | angle on x to positioned camera behind object3D |
camera_distance | number | distance to positioned camera behind object3D |
update_z_crs | string | projection used to update z elevation of avatar |
Movement(dt)
Name | Type | Description |
---|---|---|
dt | number | delta time movement |
- Source
addButtonNoteCallback(textAreaValue)
Name | Type | Description |
---|---|---|
textAreaValue | string | current value of the textarea |