Interface Task
Tasks represent executable code that runs as part of the motion synthesizer job and can control the pose selection process.
Namespace: Unity.Kinematica
Syntax
public interface Task
Remarks
Tasks are arranged in a directed acyclic graph and automatically executed in topological order. Each task has access to the motion synthesizer and therefore has access to the runtime asset as well the runtime behavior of the synthesizer.
Tasks can have input/output references to data which allows for arbitrary complex structures to execute as part of the task framework.
Methods
Execute()
Execute method for this task.
Declaration
Result Execute()
Returns
Type | Description |
---|---|
Result | Result of the task execution. |
Remarks
The execute method will be called from the motion synthesizer job.