| 989onan bot (talk | contribs)  Automated: update Fields, SyncDelegates | 989onan bot (talk | contribs)  Automated: update SyncDelegates | ||
| Line 20: | Line 20: | ||
| == Sync Delegates == | == Sync Delegates == | ||
| {{Table ComponentTriggers | {{Table ComponentTriggers | ||
| |BakeMesh[[Type:Action|Action]]|[[Type:Action|Action]]|false|{{Template:BakeMeshSyncMethod}} | |BakeMesh:[[Type:Action|Action]]|[[Type:Action|Action]]|false|{{Template:BakeMeshSyncMethod}} | ||
| }} | }} | ||
Latest revision as of 06:31, 17 March 2025
Component image 
Multi Line Mesh component as seen in the Scene Inspector 

The MultiLineMesh component generates geometry for use with a Component:MeshRenderer. For now, this component is unusable without Mods due to having a list type object.
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 OverridenBoundingBoxinstead of calculating when requested. | 
| OverridenBoundingBox | BoundingBox | the bounding box this component should say it has when OverrideBoundingBoxis 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. | 
| Lines | list of MultiLineMesh.Line | A set of lines that make up the source of the data for the geometry of this mesh. | 
Sync Delegates
| Method Name | Method type and Arguments. | Is the method hidden? | Description | 
|---|---|---|---|
| BakeMesh:Action | Action | X | 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. | 
Line
| Name | Type | Description | 
|---|---|---|
| Scale | Float | The radius of the line. This is a multiplier. | 
| Color | Color | The vertex color of the line | 
| Points | Int | How many points are in this line. | 
| Topology | Topology | the kind of Topology this line has. | 
| Shading | Shading | How to handle the Shading of this line. | 
| Ends | Ends | How to handle the caps at the start and end of this line | 
| DualSided | Bool | Whether the line can be seen from the inside. | 
| AbsolutePointOffets | Bool | Whether each position is relative or not from the last point | 
| UVScale | Float2 | the scale of the material detail on the surface of this line. | 
| ScaleUVByCircumference | Bool | Whether to keep the material detail per square millimeter consistent regardless of the value used for Scale | 
| PreciseUV | Bool | Whether to make a more accurate UV for the line. | 
| Positions | array of Float3 | A list of positions to use for making the line | 
| Scales | array of Float | The scale of each line segment. Each one is multipled by Scalesfor the final geometry. | 
| Orientations | array of FloatQ | The rotation of each segment of the line | 
| Colors | array of Color | The vertex colors of each segment of the line | 
| Profile | ColorProfile | The color profile used for the vertex colors of this line. | 
| PointOffsets | array of Float3 | The offset of each point of the line. Used in tandem with Orientationsto handle line shape. | 
Usage
Attach to a slot and insert into a Component:MeshRenderer to view the generated geometry. Don't forget to use a Material.
Examples
This article or section is a stub. You can help the Resonite wiki by expanding it.
