Bewerken

Delen via


StripMeshLineRenderer Class

Definition

Draws a strip of polygons along the line

public ref class StripMeshLineRenderer : Microsoft::MixedReality::Toolkit::Utilities::BaseMixedRealityLineRenderer
[UnityEngine.AddComponentMenu("Scripts/MRTK/Core/StripMeshLineRenderer")]
public class StripMeshLineRenderer : Microsoft.MixedReality.Toolkit.Utilities.BaseMixedRealityLineRenderer
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Core/StripMeshLineRenderer")>]
type StripMeshLineRenderer = class
    inherit BaseMixedRealityLineRenderer
Public Class StripMeshLineRenderer
Inherits BaseMixedRealityLineRenderer
Inheritance
UnityEngine.MonoBehaviour
StripMeshLineRenderer
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

StripMeshLineRenderer()

Fields

lineDataSource (Inherited from BaseMixedRealityLineRenderer)

Properties

ColorOffset

Normalized offset for color gradient

(Inherited from BaseMixedRealityLineRenderer)
LineColor

Color gradient applied to line's normalized length

(Inherited from BaseMixedRealityLineRenderer)
LineDataSource

The data provider component that provides the positioning source information for the LineRenderer.

(Inherited from BaseMixedRealityLineRenderer)
LineStepCount

Number of steps to interpolate along line in Interpolated step mode

(Inherited from BaseMixedRealityLineRenderer)
LineWidth (Inherited from BaseMixedRealityLineRenderer)
PointDistributionMode

Method for distributing rendered points along line.

(Inherited from BaseMixedRealityLineRenderer)
StepMode

Method for gathering points along line. Interpolated uses normalized length. FromSource uses line's base points. (FromSource may not look right for all LineDataProvider types.)

(Inherited from BaseMixedRealityLineRenderer)
WidthMultiplier (Inherited from BaseMixedRealityLineRenderer)
WidthOffset

Normalized offset for width curve

(Inherited from BaseMixedRealityLineRenderer)

Methods

GenerateStripMesh(List<Vector3>, List<Color>, List<Single>, Single, List<Vector3>, Mesh, Vector3)
GetColor(Single)

Get the Color along the normalized length of the line.

(Inherited from BaseMixedRealityLineRenderer)
GetNormalizedPointAlongLine(Int32)

Gets the normalized distance along the line path (range 0 to 1) going the given number of steps provided

(Inherited from BaseMixedRealityLineRenderer)
GetWidth(Single)

Get the width of the line along the normalized length of the line.

(Inherited from BaseMixedRealityLineRenderer)
OnDrawGizmos() (Inherited from BaseMixedRealityLineRenderer)
UpdateLine()

Executes every Unity LateUpdate(). Any property updates or frame updates should occur here to update the line data source.

Applies to