WaypointComponent
Summary
Definition
Namespace: SDT4.Managed.Core.Components
Assembly: SDT4.Managed.Core.dll
sealed class WaypointComponent
Inheritance:
Object ➔ Component ➔ WaypointComponent
Implements:
Fields
| Name | Type | Description |
|---|---|---|
Properties
| Name | Type | Description |
|---|---|---|
public get; SplineLength |
Single | |
public get; set; Granularity |
Single | |
public get; set; Looping |
Boolean | |
public get; Points |
IReadOnlyList<WaypointSplinePoint> | |
public get; Identifier |
Guid |
Methods
public WaypointSplinePathPoint GetPoint(Single t)
Parameters:
t(Single):
Returns:
public WaypointSplinePathPoint GetPointAlongDistance(Single d)
Parameters:
d(Single):
Returns:
public Single GetSegmentLength(Single tA, Single tB, Single dx)
Parameters:
Returns:
public WaypointSplinePathPoint GetNearestPoint(Vector3f sourcePoint, out Single t, Int32 maxKdTreeNeighbourChecks)
Parameters:
Returns: