Component:QuadArrayMesh: Difference between revisions

From Resonite Wiki
Automated: update Categories, SyncDelegates
not a stub anymore
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=QuadArrayMeshComponent.png
|Image=QuadArrayMeshComponent.png
Line 26: Line 25:
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|BakeMesh()|[[Type:Action|Action]]|
|BakeMesh()|[[Type:Action|Action]]|{{Template:BakeMeshSyncMethod}}
}}
}}


Line 36: Line 35:
== Examples ==
== Examples ==
Made by Quad brushes in the resonite essentials folder.
Made by Quad brushes in the resonite essentials folder.
{{stub}}


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:Components{{#translation:}}|Quad Array Mesh]]
[[Category:Components{{#translation:}}|Quad Array Mesh]]
[[Category:ComponentStub]]
[[Category:Components:Assets:Procedural Meshes{{#translation:}}|Quad Array Mesh]]
[[Category:Components:Assets:Procedural Meshes{{#translation:}}|Quad Array Mesh]]

Latest revision as of 18:58, 13 November 2024

Component image 
Quad Array Mesh component as seen in the Scene Inspector

Quad array mesh makes a bunch of quads with defined positions, rotations, vertex colors, and UV coordinates which are rendered as one mesh. This is made from Quad brushes which can be found in the resonite essentials folder.

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.
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.
Points array of Float3 An array inaccessible without Mods that defines where each quad for this mesh should be in local space.
Sizes array of Float2 An array inaccessible without Mods that defines the scale for each quad for this mesh in local space.
Rotations array of FloatQ An array inaccessible without Mods that defines the rotation for each quad for this mesh in local space.
Colors array of Color An array inaccessible without Mods that defines the vertex colors for each quad for this mesh.
ColorsProfile ColorProfile The color profile of each quad.
UVs array of Float4 An array inaccessible without Mods xy of each element defines the center of each quad and zw defines the uv scales of each quad on a texture/material.

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 component is not usually used directly

Examples

Made by Quad brushes in the resonite essentials folder.

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


See Also