Component:StaticGaussianSplat: Difference between revisions

From Resonite Wiki
Automated: update SyncDelegates
add info
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|Name=Static Gaussian Splat
|Name=Static Gaussian Splat
}}
}}
The '''Static Gaussian Splat''' component
The '''Static Gaussian Splat''' component stores data for Gaussian splats.
{{stub}}


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|URL|Uri|
|URL|Uri| The location of the Gaussian Splat data.
}}
}}


== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|ClipWithBoundingBox[[Type:Func`2|Func`2]]<[[Type:BoundingBox|BoundingBox]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:BoundingBox|BoundingBox]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false|
|ClipWithBoundingBox:[[Type:Func`2|Func`2]]<[[Type:BoundingBox|BoundingBox]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:BoundingBox|BoundingBox]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Cuts the Gaussian splat using a bounding box argument.
|ClipWithBoundingBox[[Type:Func`3|Func`3]]<[[Type:BoundingBox|BoundingBox]], [[Type:FloatQ|FloatQ]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`3|Func`3]]<[[Type:BoundingBox|BoundingBox]], [[Type:FloatQ|FloatQ]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false|
|ClipWithBoundingBox:[[Type:Func`3|Func`3]]<[[Type:BoundingBox|BoundingBox]], [[Type:FloatQ|FloatQ]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`3|Func`3]]<[[Type:BoundingBox|BoundingBox]], [[Type:FloatQ|FloatQ]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Cuts the Gaussian splat using a bounding box with rotation argument.
|ClipWithSphere[[Type:Func`3|Func`3]]<[[Type:Float3|Float3]], [[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`3|Func`3]]<[[Type:Float3|Float3]], [[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false|
|ClipWithSphere:[[Type:Func`3|Func`3]]<[[Type:Float3|Float3]], [[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`3|Func`3]]<[[Type:Float3|Float3]], [[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Cuts the Gaussian splat using a sphere argument.
|ColorByIndex[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|ColorByIndex:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Colors the Gaussian splat by index.
|ReoderMorton[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|ReoderMorton:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| 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 ==
== Usage ==
Used in Gaussian splat rendering components.


== Examples ==
== Examples ==
Line 28: Line 28:
[[Category:Components:Assets{{#translation:}}|Static Gaussian Splat]]
[[Category:Components:Assets{{#translation:}}|Static Gaussian Splat]]
[[Category:Components{{#translation:}}|Static Gaussian Splat]]
[[Category:Components{{#translation:}}|Static Gaussian Splat]]
[[Category:ComponentStubs]]

Latest revision as of 19:45, 12 April 2025

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

The Static Gaussian Splat component stores data for Gaussian splats.

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.

Examples

See Also