BaseMixedRealityLineDataProvider.GetPoint Method
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.
GetPoint(Int32) |
Gets a point along the line at the specified index |
GetPoint(Single) |
Gets a point along the line at the specified normalized length. |
Gets a point along the line at the specified index
C++
public:
UnityEngine::Vector3 GetPoint(int pointIndex);
public UnityEngine.Vector3 GetPoint (int pointIndex);
member this.GetPoint : int -> UnityEngine.Vector3
Public Function GetPoint (pointIndex As Integer) As Vector3
Parameters
- pointIndex
- Int32
Returns
UnityEngine.Vector3
Applies to
MRTK2 Unity 2018 2.7.0 and other versions
Product | Versions |
---|---|
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 |
Gets a point along the line at the specified normalized length.
C++
public:
UnityEngine::Vector3 GetPoint(float normalizedLength);
public UnityEngine.Vector3 GetPoint (float normalizedLength);
member this.GetPoint : single -> UnityEngine.Vector3
Public Function GetPoint (normalizedLength As Single) As Vector3
Parameters
- normalizedLength
- Single
Returns
UnityEngine.Vector3
Applies to
MRTK2 Unity 2018 2.7.0 and other versions
Product | Versions |
---|---|
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 |