Class StripMeshLineRenderer
Draws a strip of polygons along the line
Implements
MonoBehaviour
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities
Assembly: cs.temp.dll.dll
Syntax
public class StripMeshLineRenderer : BaseMixedRealityLineRenderer, MonoBehaviour
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 |
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()
Declaration
protected override void UpdateLine()
Overrides
UpdateLine()
Declaration
protected override void UpdateLine()
Overrides
Implements
MonoBehaviour