Skip to main content

<pc-splat>

The <pc-splat> tag is used to define a splat component for rendering 3D Gaussian Splats.

When rendering splat-based scenes, it is recommended to set antialias and high-resolution on your <pc-app> tag to false for best performance.

note

Attributes

AttributeDescription
assetA string that should match the id of a <pc-asset> tag that has a type of gsplat.
enabledEnabled state of the splat component. If not specified, true is used.

Example

JavaScript Interface

You can programmatically create and manipulate <pc-splat> elements using the SplatComponentElement API.