ConstructorOptions
Properties
When true
, each geometry instance will only be pickable with Scene.pick. When false
, GPU memory is saved. Default value - true
The appearance used to render the primitive. Defaults to a flat PerInstanceColorAppearance when GeometryInstances have a color attribute.
Determines if the primitive will be created asynchronously or block until ready. If false initializeTerrainHeights() must be called first. Default value - true
Determines whether terrain, 3D Tiles or both will be classified. Default value - ClassificationType.BOTH
When true
, the geometry vertices are compressed, which will save memory. Default value - true
For debugging only. Determines if this primitive's commands' bounding spheres are shown. Default value - false
For debugging only. Determines if the shadow volume for each geometry in the primitive is drawn. Must be true
on creation for the volumes to be created before the geometry is released or options.releaseGeometryInstance must be false
. Default value - false
The geometry instances to render.
When true
, geometry vertex attributes are interleaved, which can slightly improve rendering performance but increases load time. Default value - false
When true
, the primitive does not keep a reference to the input geometryInstances
to save memory. Default value - true
When true
, geometry vertices are optimized for the pre and post-vertex-shader caches. Default value - false