interface.RenderStateDynamicObjects
API > RenderStateDynamicObjects
Interface: RenderStateDynamicObjects
Dynamic object related render state
Remarks
Unlike static/streamable geometry, dynamic objects can be moved and rotated freely. They do not support level of detail (LOD), however, so care must be taken not to use excessive amount of triangles/primitives. Also, geometry is kept both in javascript memory in the form of render state, and also in GPU/WebGL2 memory as renderable geometry, so avoid complex, memory consuming models if possible. Dynamic objects can be created procedurally or by loading a glTF2 file loadGLTF.
Since there is a significant overlap between the gltf2 specifications and this render state, you may read the glTF2 specs to learn more details.
Properties
objects
readonly
objects: readonlyRenderStateDynamicObject
[]
Dynamic objects to render.