Gets the bounding box of the splats, in the local space of the resource. It is computed from the splat data; use GSplatComponent#customAabb to override the bounds of a component.
Gets whether the splats were trained with anti-aliasing.
Sets whether the splats were trained with anti-aliasing (a screen-space filter with opacity
compensation, as in Mip-Splatting), which they need to be rendered with to look right. Loaded
resources set this from the file, when it records the training mode: the antialiased 1 or
SplatRenderMode: mip PLY header comment, the model field of a SOG file, or the
anti-aliased flag of an SPZ file. Set it for files that do not record the training mode.
Used when GSplatParams#antiAlias is undefined, its default. Defaults to false.
CPU-side splat center positions (xyz per splat), or null when not built for this resource.
Application-defined data stored with the splat file, as in glTF's extras: the extras
value of a SOG's meta.json. The engine attaches no meaning to it. Undefined when the file
has none, and for formats that cannot carry it.
Gets the format descriptor for this resource. The format defines texture streams and shader code for reading splat data. Use this to add extra streams.
Gets the number of splats in the resource.
Gets the texture dimensions (width and height) used by this resource's data textures.
Protected_Protected
Actually destroys this resource and releases all GPU resources. Derived classes should override this method instead of destroy().
Destroys this resource. If the resource is still in use by the sorter, destruction is automatically deferred until it's safe.
Gets a texture by name.
The name of the texture.
The texture, or null if not found.
A Gaussian splat resource that stores splat data in the compressed PLY format. Created when loading compressed PLY files, unless their asset data sets
decompressto true.