Class ParabolaConstrainedLineDataProvider
Generates a parabolic line between two points.
Inheritance
ParabolaConstrainedLineDataProvider
Assembly: cs.temp.dll.dll
public class ParabolaConstrainedLineDataProvider : ParabolaLineDataProvider
Properties
The point where this line will end.
Declaration
public MixedRealityPose EndPoint { get; set; }
Property Value
Declaration
public float Height { get; set; }
Property Value
The number of points this line has.
Declaration
public override int PointCount { get; }
Property Value
Overrides
Declaration
public Vector3 UpDirection { get; set; }
Property Value
Methods
Get a point based on point index
Point index will be pre-clamped
Declaration
protected override Vector3 GetPointInternal(int pointIndex)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Returns
Overrides
Get a point based on normalized distance along line
Normalized distance will be pre-clamped
Declaration
protected override Vector3 GetPointInternal(float normalizedDistance)
Parameters
Type |
Name |
Description |
Single |
normalizedDistance |
|
Returns
Overrides
Declaration
protected override void SetPointInternal(int pointIndex, Vector3 point)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Vector3 |
point |
|
Overrides