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.
Determines if the primitive will be created asynchronously or block until ready. Default value - true
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
The appearance used to shade this primitive when it fails the depth test.
The geometry instances - or a single geometry instance - to render.
When true
, geometry vertex attributes are interleaved, which can slightly improve rendering performance but increases load time. Default value - false
The 4x4 transformation matrix that transforms the primitive (all geometry instances) from model to world coordinates. Default value - Matrix4.IDENTITY
When true
, the primitive does not keep a reference to the input geometryInstances
to save memory. Default value - true
Determines whether this primitive casts or receives shadows from light sources. Default value - ShadowMode.DISABLED
When true
, geometry vertices are optimized for the pre and post-vertex-shader caches. Default value - false