Struct PlayAtTimeTask
The task injects a referenced time index into the pose stream of the motion synthesizer.
Namespace: Unity.Kinematica
Syntax
[Data("PlayAtTime", "#2A3756", DataType.Flag.None)]
public struct PlayAtTimeTask : Task, GenericTask<PlayAtTimeTask>
Properties
self
Declaration
public Identifier<PlayAtTimeTask> self { get; set; }
Property Value
| Type | Description |
|---|---|
| Identifier<PlayAtTimeTask> |
Implements
Methods
Execute()
Execute method for the task.
Declaration
public Result Execute()
Returns
| Type | Description |
|---|---|
| Result | Returns true if the time index is valid; false otherwise. |
Implements
Remarks
The push task injects a referenced time index into the pose stream of the motion synthesizer.
ExecuteSelf(ref TaskPointer)
Surrogate method for automatic task execution.
Declaration
public static Result ExecuteSelf(ref TaskPointer self)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskPointer | self | Task reference that is supposed to be executed. |
Returns
| Type | Description |
|---|---|
| Result | Result of the task execution. |