Threepp.LOD¶
LOD (Level of Detail)
Switches between objects with different levels of detail depending on distance.
Members¶
Constructors¶
Properties¶
Methods¶
LOD¶
Constructor
Description
Constructor
type¶
Property \ Access: r/w
Description
Type name (read-only)
autoUpdate¶
Property \ Access: r/w
Description
Auto-update flag
addLevel¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
object |
|
|
distance |
|
Description
Adds a level
getCurrentLevel¶
Method
Description
Gets the current level
update¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
camera |
|
Description
Updates based on the camera