Component:MultiBevelStripeMesh: Difference between revisions

From Resonite Wiki
Stripe nested type
add info
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=MultiBevelStripeMeshComponent.png
|Image=MultiBevelStripeMeshComponent.png
|Name=Multi Bevel Stripe Mesh
|Name=Multi Bevel Stripe Mesh
}}
}}
The '''MultiBevelStripeMesh''' component can be used to instanciate multiple [[Component:BevelStripeMesh]]s as part of the same geometry.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool| {{stub}}
|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}}
|Stripes|{{RootFieldType|SyncList`1|[[#Stripe|Stripe]]}}|TypeAdv4=true| {{stub}}
|Stripes|{{RootFieldType|SyncList`1|[[#Stripe|Stripe]]}}|TypeAdv4=true| A list of stripes to render.
}}
}}


<!--T:3-->
== Sync Delegates ==
== Usage ==
{{Table ComponentTriggers
{{stub}}
|BakeMesh()|[[Type:Action|Action]]|{{Template:BakeMeshSyncMethod}}
}}


== Stripe ==
== Stripe ==
{{stub}}
Stripe represents the exact values in a [[Component:BevelStripeMesh]] with an added position, rotation, and scale settings.
 
=== Fields ===
{{Table TypeFields
{{Table TypeFields
|Position|Float3|
|Position_Field|Float3| The position of the Bevel Stripe mesh.
|Rotation|FloatQ|
|Rotation_Field|FloatQ| The rotation of the Bevel Stripe mesh.
|Scale|Float3|
|Scale_Field|Float3| The scale of the Bevel Stripe mesh.
|Width|Float|
|Width_Field|Float| The width of the cube
|Height|Float|
|Height_Field|Float| the height of the cube
|Thickness|Float|
|Thickness_Field|Float| the length of the cube.
|SlantLeft|Float|
|SlantLeft_Field|Float| the Bevel angle of the length wise edge on the top left.
|SlantRight|Float|
|SlantRight_Field|Float| the Bevel angle of the length wise edge on the bottom right.
|Relief|Bool|
|Relief_Field|Bool| Whether to indent the cube in the center.
}}
}}
<!--T:3-->
== Usage ==
Can be used to instanciate many Bevel Stripe meshes at once for organization and performance improvement.


<!--T:4-->
<!--T:4-->
Line 40: Line 43:
{{stub}}
{{stub}}


[[Category:ComponentStubs]]
== See Also ==
[[Category:Components|Multi Bevel Stripe Mesh]]
* [[Component:BevelStripeMesh]]
[[Category:Components:Assets:Procedural Meshes:Legacy UI|Multi Bevel Stripe Mesh]]
 
[[Category:Components With Nested Types]]
[[Category:Components:Assets:Procedural Meshes:Legacy UI{{#translation:}}|Multi Bevel Stripe Mesh]]
[[Category:Components{{#translation:}}|Multi Bevel Stripe Mesh]]
[[Category:Components With Nested Types{{#translation:}}|Multi Bevel Stripe Mesh]]

Latest revision as of 16:31, 26 January 2025

Component image 
Multi Bevel Stripe Mesh component as seen in the Scene Inspector

The MultiBevelStripeMesh component can be used to instanciate multiple Component:BevelStripeMeshs as part of the same geometry.

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.
Stripes list of Stripe A list of stripes to render.

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.

Stripe

Stripe represents the exact values in a Component:BevelStripeMesh with an added position, rotation, and scale settings.

Fields
Name Type Description
Position_Field Float3 The position of the Bevel Stripe mesh.
Rotation_Field FloatQ The rotation of the Bevel Stripe mesh.
Scale_Field Float3 The scale of the Bevel Stripe mesh.
Width_Field Float The width of the cube
Height_Field Float the height of the cube
Thickness_Field Float the length of the cube.
SlantLeft_Field Float the Bevel angle of the length wise edge on the top left.
SlantRight_Field Float the Bevel angle of the length wise edge on the bottom right.
Relief_Field Bool Whether to indent the cube in the center.

Usage

Can be used to instanciate many Bevel Stripe meshes at once for organization and performance improvement.

Examples

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


See Also