Component:StripeWireMesh

From Resonite Wiki
Revision as of 22:44, 10 November 2024 by 989onan (talk | contribs) (Add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Stripe Wire Mesh component as seen in the Scene Inspector

The StripeWireMesh component is used primarily in ProtoFlux wires, and generates mesh data for use with a Component:MeshRenderer.

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.
Point0 Float3 The start point in local space for this mesh
Point1 Float3 The end point for this mesh in local space.
Tangent0 Float3 the direction the mesh should bend after exiting start point
Tangent1 Float3 the direction the mesh should bend while entering exit point.
Orientation0 FloatQ How much to rotate the starting point edge by after applying Tangent0
Orientation1 FloatQ How much to rotate the end point edge by after applying Tangent1
Steps Int how many segments the mesh should have between Point0 and Point1.
Exp Float how much the mesh should be forced in the direction of the start and end tangents when starting and ending it's path.
Color0 ColorX The vertex color to give the part of the mesh starting at Point0. Is interpolated along the mesh to Point1 to color Color1
Color1 ColorX The vertex color for Point1 to interpolate towards.
UVScale Float2 the scale of the material detail on the mesh.
UVOffset Float2 the offset of the material detail on the mesh.
Width0 Float the width of the mesh in local space at Point0 on the mesh. Is interpolated along the mesh to Point1 to width Width1
Width1 Float The width in local space for Point1 to interpolate towards.

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

Attach to a slot and insert into a Component:MeshRenderer to view the geometry generated. Don't forget to add a Material.

Examples

See Also