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.
|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 <code>Scale</code>
|PreciseUV|Bool| Whether to make a more accurate UV for the line.
|Positions|{{RootFieldType|SyncArray`1|[[Type:Float3|Float3]]}}|TypeAdv11=true| A list of positions to use for making the line
|Scales|{{RootFieldType|SyncArray`1|[[Type:Float|Float]]}}|TypeAdv12=true| The scale of each line segment. Each one is multipled by <code>Scales</code> for the final geometry.
|Orientations|{{RootFieldType|SyncArray`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv13=true| The rotation of each segment of the line
|Colors|{{RootFieldType|SyncArray`1|[[Type:Color|Color]]}}|TypeAdv14=true| The vertex colors of each segment of the line
|Profile|ColorProfile| The color profile used for the vertex colors of this line.
|PointOffsets|{{RootFieldType|SyncArray`1|[[Type:Float3|Float3]]}}|TypeAdv16=true| The offset of each point of the line. Used in tandem with <code>Orientations</code> to handle line shape.
}}
}}
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Attach to a slot and insert into a [[Component:MeshRenderer]] to view the generated geometry. Don't forget to use a [[Material]].
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
{{stub}}
<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Multi Line Mesh]]
[[Category:Components{{#translation:}}|Multi Line Mesh]]
[[Category:Components:Assets:Procedural Meshes{{#translation:}}|Multi Line Mesh]]
[[Category:Components:Assets:Procedural Meshes{{#translation:}}|Multi Line Mesh]]
[[Category:Components With Nested Types{{#translation:}}|Multi Line Mesh]]
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.
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.
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.
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.