mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class MixedRealityLineRenderer

    Implements Unity's built in line renderer component, and applies the line data to it.

    Inheritance
    Object
    BaseMixedRealityLineRenderer
    MixedRealityLineRenderer
    Implements
    MonoBehaviour
    Inherited Members
    BaseMixedRealityLineRenderer.lineDataSource
    BaseMixedRealityLineRenderer.LineDataSource
    BaseMixedRealityLineRenderer.LineColor
    BaseMixedRealityLineRenderer.LineWidth
    BaseMixedRealityLineRenderer.WidthMultiplier
    BaseMixedRealityLineRenderer.ColorOffset
    BaseMixedRealityLineRenderer.WidthOffset
    BaseMixedRealityLineRenderer.StepMode
    BaseMixedRealityLineRenderer.PointDistributionMode
    BaseMixedRealityLineRenderer.LineStepCount
    BaseMixedRealityLineRenderer.GetColor(Single)
    BaseMixedRealityLineRenderer.GetWidth(Single)
    BaseMixedRealityLineRenderer.GetNormalizedPointAlongLine(Int32)
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public class MixedRealityLineRenderer : BaseMixedRealityLineRenderer, MonoBehaviour

    Properties

    FadeLineAnimationTime

    The amount the pointer line will fade if fadeLineBrightnessOnEnable is true"

    Declaration
    public float FadeLineAnimationTime { get; set; }
    Property Value
    Type Description
    Single

    FadeLineAnimationTime

    The amount the pointer line will fade if fadeLineBrightnessOnEnable is true"

    Declaration
    public float FadeLineAnimationTime { get; set; }
    Property Value
    Type Description
    Single

    FadeLineBrightnessOnEnable

    Sets whether the ray line will animate to a lower brightness level on enable of this component

    Declaration
    public bool FadeLineBrightnessOnEnable { get; set; }
    Property Value
    Type Description
    Boolean

    FadeLineBrightnessOnEnable

    Sets whether the ray line will animate to a lower brightness level on enable of this component

    Declaration
    public bool FadeLineBrightnessOnEnable { get; set; }
    Property Value
    Type Description
    Boolean

    FadeLinePercentage

    The amount the pointer line will fade if FadeLineBrightnessOnEnable is true"

    Declaration
    public float FadeLinePercentage { get; set; }
    Property Value
    Type Description
    Single

    FadeLinePercentage

    The amount the pointer line will fade if FadeLineBrightnessOnEnable is true"

    Declaration
    public float FadeLinePercentage { get; set; }
    Property Value
    Type Description
    Single

    LineMaterial

    Declaration
    public Material LineMaterial { get; set; }
    Property Value
    Type Description
    Material

    LineMaterial

    Declaration
    public Material LineMaterial { get; set; }
    Property Value
    Type Description
    Material

    RoundedCaps

    Declaration
    public bool RoundedCaps { get; set; }
    Property Value
    Type Description
    Boolean

    RoundedCaps

    Declaration
    public bool RoundedCaps { get; set; }
    Property Value
    Type Description
    Boolean

    RoundedEdges

    Declaration
    public bool RoundedEdges { get; set; }
    Property Value
    Type Description
    Boolean

    RoundedEdges

    Declaration
    public bool RoundedEdges { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    UpdateLine()

    Declaration
    protected override void UpdateLine()
    Overrides
    BaseMixedRealityLineRenderer.UpdateLine()

    UpdateLine()

    Declaration
    protected override void UpdateLine()
    Overrides
    BaseMixedRealityLineRenderer.UpdateLine()

    Implements

    MonoBehaviour
    In This Article
    • Properties
      • FadeLineAnimationTime
      • FadeLineAnimationTime
      • FadeLineBrightnessOnEnable
      • FadeLineBrightnessOnEnable
      • FadeLinePercentage
      • FadeLinePercentage
      • LineMaterial
      • LineMaterial
      • RoundedCaps
      • RoundedCaps
      • RoundedEdges
      • RoundedEdges
    • Methods
      • UpdateLine()
      • UpdateLine()
    • Implements
    Back to top Generated by DocFX