new TracksLayer(properties)
A layer representing tracks. The objects "tracks" variable is a THREE.Object3D that can be added to a scene and controls global visibility, position, bounds etc.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
properties | Object | Properties
|
Methods
addToScene()
add the tracks to the given scene
getTracks() → {THREE.Object3D}
Returns this layer's tracks
Returns:
a parent Object3D representing all the tracks
- Type:
- THREE.
Object3D
update()
updates the layer objects