Component:StandaloneRectMesh: Difference between revisions

From Resonite Wiki
Automated: update Categories, SyncDelegates
add info
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{Infobox Component
{{Infobox Component
|Image=StandaloneRectMesh`1Component.png
|Image=StandaloneRectMesh`1Component.png
|Name=Standalone Rect Mesh`1
|Name=Standalone Rect Mesh
}}
}}
 
The '''StandaloneRectMesh''' is a procedural wrapper to allow mesh renderer usable mesh data of any [[Type:RectMeshSource|RectMeshSource]]. The list of [[Type:RectMeshSource|RectMeshSource]]s this component can use for '''M''' is generated inside the component selector list when attaching.
Parameterized StandaloneRectMesh components are available on the component browser for [[AudioSourceWaveformMesh (Component)|Audio Source Waveform Mesh]] and [[LineGraphMesh (Component)|Line Graph Mesh]].


<!--T:2-->
<!--T:2-->
Line 12: Line 11:
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|OverrideBoundingBox|Bool| {{stub}}
|OverrideBoundingBox|Bool| {{Template:Override Bounding Box}}
|OverridenBoundingBox|BoundingBox| {{stub}}
|OverridenBoundingBox|BoundingBox| {{Template:Overridden Bounding Box}}
|Profile|ColorProfile|
|Profile|ColorProfile| {{Template:ProceduralMeshColorProfile}}
|Rect|Rect| {{stub}}
|Rect|Rect| The part of the generated waveform to render.
|Mesh|{{RootFieldType|(nested)|M}}|TypeAdv5=true|The mesh parameters used to render this rect mesh.
|Mesh|{{RootFieldType|(nested)|M}}|TypeAdv5=true|The mesh parameters used to render this rect mesh. Usually takes an audio clip.
}}
}}


== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|BakeMesh()|[[Type:Action|Action]]|
|BakeMesh()|[[Type:Action|Action]]|{{Template:BakeMeshSyncMethod}}
}}
}}


Line 36: Line 35:
* Similar to [[Component:RectMesh|RectMesh]].
* Similar to [[Component:RectMesh|RectMesh]].


[[Category:ComponentStubs]]
[[Category:Generics]]
[[Category:Generics]]
[[Category:Components:Assets:Procedural Meshes{{#translation:}}|Standalone Rect Mesh`1]]
[[Category:Components:Assets:Procedural Meshes{{#translation:}}|Standalone Rect Mesh`1]]
[[Category:Components{{#translation:}}|Standalone Rect Mesh`1]]
[[Category:Components{{#translation:}}|Standalone Rect Mesh`1]]
[[Category:ComponentStub]]
[[Category:Generic Components{{#translation:}}|Standalone Rect Mesh`1]]
[[Category:Generic Components{{#translation:}}|Standalone Rect Mesh`1]]

Latest revision as of 20:38, 3 February 2025


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Standalone Rect Mesh component as seen in the Scene Inspector

The StandaloneRectMesh is a procedural wrapper to allow mesh renderer usable mesh data of any RectMeshSource. The list of RectMeshSources this component can use for M is generated inside the component selector list when attaching.

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.
HighPriorityIntegration Bool If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
OverrideBoundingBox Bool Force the bounding box calculated from this component to use OverridenBoundingBox instead of calculating when requested.
OverridenBoundingBox BoundingBox the bounding box this component should say it has when OverrideBoundingBox is enabled. Useful for bounding box calculations with Flux, or changing the selection box for this component when rendered.
Profile ColorProfile The profile that the vertex colors for this mesh should be displayed in.
Rect Rect The part of the generated waveform to render.
Mesh direct M The mesh parameters used to render this rect mesh. Usually takes an audio clip.

Sync Delegates

Triggers
Method Name Method type and Arguments. Description
BakeMesh() Action Bake meshes is a sync method that creates a static mesh component with this component, replaces all references to this component with the static mesh component, then deletes this component.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Examples

ProbablePrime's video tutorial on how to use this component:

See Also