VoxelPrimitive
A primitive that renders voxel data from a VoxelProvider.
See also
Types
Properties
The event fired to indicate that all tiles that meet the screen space error this frame are loaded. The voxel primitive is completely loaded for this view.
Gets the bounding sphere.
The ClippingPlaneCollection used to selectively disable rendering the primitive.
Gets or sets the custom shader. If undefined, VoxelPrimitive.DefaultCustomShader is set.
Gets an event that is raised whenever a custom shader is compiled.
Gets the dimensions of each voxel tile, in z-up orientation. Does not include padding.
Gets or sets whether or not the primitive should update when the view changes.
The event fired to indicate that all tiles that meet the screen space error this frame are loaded. This event is fired once when all tiles in the initial view are loaded.
Gets the dimensions of one tile of the input voxel data, in the input orientation. Includes padding.
The event fired to indicate progress of loading new tiles. This event is fired when a new tile is requested, when a requested tile is finished downloading, and when a downloaded tile has been processed and is ready to render.
Gets or sets the maximum bounds in the shape's local coordinate system. Voxel data is stretched or squashed to fit the bounds.
Gets or sets the maximum clipping location in the shape's local coordinate system. Any voxel content outside the range is clipped.
Gets the maximum value per channel of the voxel data.
Gets or sets the minimum bounds in the shape's local coordinate system. Voxel data is stretched or squashed to fit the bounds.
Gets or sets the minimum clipping location in the shape's local coordinate system. Any voxel content outside the range is clipped.
Gets the minimum value per channel of the voxel data.
Gets the model matrix.
Gets or sets the nearest sampling.
Gets the oriented bounding box.
Gets the padding after the voxel data.
Gets the padding before the voxel data.
Gets the VoxelProvider associated with this primitive.
Gets or sets the screen space error in pixels. If the screen space size of a voxel is greater than the screen space error, the tile is subdivided. Lower screen space error corresponds with higher detail rendering, but could result in worse performance and higher memory consumption.
Gets the shape type.
The event fired to indicate that a tile's content failed to load.
The event fired to indicate that a tile's content was loaded.
The event fired to indicate that a tile's content was unloaded.
This event fires once for each visible tile in a frame. This event is fired during the traversal while the frame is being rendered.