Method DebugDrawTrajectory
DebugDrawTrajectory(AffineTransform, int, int, Color)
Debug visualization for trajectories.
Declaration
public void DebugDrawTrajectory(AffineTransform referenceTransform, int poseIndex, int numFrames, Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| AffineTransform | referenceTransform | A world space transform that determines the anchor that is to be used for the trajectory visualization. |
| int | poseIndex | A pose index that determines where the trajectory should start. |
| int | numFrames | A duration in frames that determines the length of the trajectory. |
| Color | color | The color that the trajectory should be drawn with. |
DebugDrawTrajectory(AffineTransform, float, float, Color)
Debug visualization for trajectories.
Declaration
public AffineTransform DebugDrawTrajectory(AffineTransform referenceTransform, float sampleTimeInSeconds, float duration, Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| AffineTransform | referenceTransform | A world space transform that determines the anchor that is to be used for the trajectory visualization. |
| float | sampleTimeInSeconds | A time in seconds that determines where the trajectory should start. |
| float | duration | A duration in seconds that determines the length of the trajectory. |
| Color | color | The color that the trajectory should be drawn with. |
Returns
| Type | Description |
|---|---|
| AffineTransform |
DebugDrawTrajectory(AffineTransform, SamplingTime, float, Color)
Debug visualization for trajectories.
Declaration
public void DebugDrawTrajectory(AffineTransform anchorTransform, SamplingTime samplingTime, float timeHorizon, Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| AffineTransform | anchorTransform | A world space transform that determines the anchor that is to be used for the trajectory visualization. |
| SamplingTime | samplingTime | A sampling time that determines where the trajectory should start. |
| float | timeHorizon | A duration in seconds that determines the length of the trajectory. |
| Color | color | The color that the trajectory should be drawn with. |