Component:StaticGaussianSplat: Difference between revisions

From Resonite Wiki
add info
Added links. Updated the description sentences.
 
Line 3: Line 3:
|Name=Static Gaussian Splat
|Name=Static Gaussian Splat
}}
}}
The '''Static Gaussian Splat''' component stores data for Gaussian splats.
The '''Static Gaussian Splat''' component stores data for the [[Gaussian_Splat|Gaussian Splat]] asset itself.


== Fields ==
== Fields ==
Line 20: Line 20:


== Usage ==
== Usage ==
Used in Gaussian splat rendering components.
Used in Gaussian splat rendering components such as the [[Component:GaussianSplatRenderer|GaussianSplatRenderer]] component.


== Examples ==
== Examples ==

Latest revision as of 13:39, 18 October 2025

Component image 
File:StaticGaussianSplatComponent.png
Static Gaussian Splat component as seen in the Scene Inspector

The Static Gaussian Splat component stores data for the Gaussian Splat asset itself.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
URL Uri The location of the Gaussian Splat data.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
ClipWithBoundingBox:Func`2<BoundingBox, Task`1<Bool>> Func`2<BoundingBox, Task`1<Bool>> X Cuts the Gaussian splat using a bounding box argument.
ClipWithBoundingBox:Func`3<BoundingBox, FloatQ, Task`1<Bool>> Func`3<BoundingBox, FloatQ, Task`1<Bool>> X Cuts the Gaussian splat using a bounding box with rotation argument.
ClipWithSphere:Func`3<Float3, Float, Task`1<Bool>> Func`3<Float3, Float, Task`1<Bool>> X Cuts the Gaussian splat using a sphere argument.
ColorByIndex:ButtonEventHandler ButtonEventHandler Colors the Gaussian splat by index.
ReoderMorton:ButtonEventHandler ButtonEventHandler Reorders the splats using morton ordering. Which means any splats that are spatially near each other will also be near each other in the data indexes.

Usage

Used in Gaussian splat rendering components such as the GaussianSplatRenderer component.

Examples

See Also