Class StripMeshLineRenderer
Draws a strip of polygons along the line
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities
Assembly: cs.temp.dll.dll
Syntax
public class StripMeshLineRenderer : BaseMixedRealityLineRenderer
Methods
GenerateStripMesh(List<Vector3>, List<Color>, List<Single>, Single, List<Vector3>, Mesh, Vector3)
Declaration
public static void GenerateStripMesh(List<Vector3> positionList, List<Color> colorList, List<float> thicknessList, float uvOffsetLocal, List<Vector3> forwardList, Mesh mesh, Vector3 up)
Parameters
Type | Name | Description |
---|---|---|
List<Vector3> | positionList | |
List<Color> | colorList | |
List<Single> | thicknessList | |
Single | uvOffsetLocal | |
List<Vector3> | forwardList | |
Mesh | mesh | |
Vector3 | up |
UpdateLine()
Executes every Unity LateUpdate(). Any property updates or frame updates should occur here to update the line data source.
Declaration
protected override void UpdateLine()