Class SplineDataProvider
Creates a spline based on control points.
Inheritance
SplineDataProvider
Assembly: cs.temp.dll.dll
public class SplineDataProvider : BaseMixedRealityLineDataProvider, MonoBehaviour
Properties
Declaration
public bool AlignAllControlPoints { get; set; }
Property Value
Declaration
public bool AlignAllControlPoints { get; set; }
Property Value
List of positions and orientations that define control points to generate the spline
Declaration
public MixedRealityPose[] ControlPoints { get; }
Property Value
List of positions and orientations that define control points to generate the spline
Declaration
public MixedRealityPose[] ControlPoints { get; }
Property Value
Declaration
public override int PointCount { get; }
Property Value
Overrides
Declaration
public override int PointCount { get; }
Property Value
Overrides
Methods
Forces all the control points into alignment.
Declaration
public void ForceUpdateAlignment()
Forces all the control points into alignment.
Declaration
public void ForceUpdateAlignment()
Declaration
protected override Vector3 GetPointInternal(int pointIndex)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Returns
Overrides
Declaration
protected override Vector3 GetPointInternal(int pointIndex)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Returns
Overrides
Declaration
protected override Vector3 GetPointInternal(float normalizedDistance)
Parameters
Type |
Name |
Description |
Single |
normalizedDistance |
|
Returns
Overrides
Declaration
protected override Vector3 GetPointInternal(float normalizedDistance)
Parameters
Type |
Name |
Description |
Single |
normalizedDistance |
|
Returns
Overrides
Declaration
protected override float GetUnClampedWorldLengthInternal()
Returns
Overrides
Declaration
protected override float GetUnClampedWorldLengthInternal()
Returns
Overrides
Declaration
protected override Vector3 GetUpVectorInternal(float normalizedLength)
Parameters
Type |
Name |
Description |
Single |
normalizedLength |
|
Returns
Overrides
Declaration
protected override Vector3 GetUpVectorInternal(float normalizedLength)
Parameters
Type |
Name |
Description |
Single |
normalizedLength |
|
Returns
Overrides
Declaration
protected override void SetPointInternal(int pointIndex, Vector3 point)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Vector3 |
point |
|
Overrides
Declaration
protected override void SetPointInternal(int pointIndex, Vector3 point)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Vector3 |
point |
|
Overrides
Implements
MonoBehaviour