SceneOptions

Interface defining initialization parameters for Scene class

Hierarchy

  • SceneOptions

Index

Properties

Optional useClonedMeshhMap

Find examples in Playground
useClonedMeshhMap: boolean

Defines that each mesh of the scene should keep up-to-date a map of referencing cloned meshes for fast diposing It will improve performance when the number of mesh becomes important, but might consume a bit more memory

Optional useGeometryUniqueIdsMap

Find examples in Playground
useGeometryUniqueIdsMap: boolean

Defines that scene should keep up-to-date a map of geometry to enable fast look-up by uniqueId It will improve performance when the number of geometries becomes important.

Optional useMaterialMeshMap

Find examples in Playground
useMaterialMeshMap: boolean

Defines that each material of the scene should keep up-to-date a map of referencing meshes for fast diposing It will improve performance when the number of mesh becomes important, but might consume a bit more memory

Optional virtual

Find examples in Playground
virtual: boolean

Defines if the creation of the scene should impact the engine (Eg. UtilityLayer's scene)

Generated using TypeDoc