BaseMixedRealityLineRenderer Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for Mixed Reality Line Renderers.
public ref class BaseMixedRealityLineRenderer abstract : UnityEngine::MonoBehaviour
[UnityEngine.ExecuteAlways]
public abstract class BaseMixedRealityLineRenderer : UnityEngine.MonoBehaviour
[<UnityEngine.ExecuteAlways>]
type BaseMixedRealityLineRenderer = class
inherit MonoBehaviour
Public MustInherit Class BaseMixedRealityLineRenderer
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourBaseMixedRealityLineRenderer
- Derived
- Attributes
-
UnityEngine.ExecuteAlwaysAttribute
Color |
Normalized offset for color gradient |
Line |
Color gradient applied to line's normalized length |
Line |
The data provider component that provides the positioning source information for the LineRenderer. |
Line |
Number of steps to interpolate along line in Interpolated step mode |
Line |
|
Point |
Method for distributing rendered points along line. |
Step |
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.) |
Width |
|
Width |
Normalized offset for width curve |
Get |
Get the Color along the normalized length of the line. |
Get |
Gets the normalized distance along the line path (range 0 to 1) going the given number of steps provided |
Get |
Get the width of the line along the normalized length of the line. |
On |
|
Update |
Executes every Unity LateUpdate(). Any property updates or frame updates should occur here to update the line data source. |
Termék | Verziók |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |