Struct Trajectory
Data type to be used in a task graph that represents a trajectory.
Namespace: Unity.Kinematica
Syntax
[Data("Trajectory", DataType.Flag.None)]
public struct Trajectory
Fields
transform
Denotes the root transform of this trajectory element.
Declaration
public AffineTransform transform
Field Value
Type | Description |
---|---|
AffineTransform |
Properties
Identity
Identity trajectory.
Declaration
public static Trajectory Identity { get; }
Property Value
Type | Description |
---|---|
Trajectory |
Methods
Create(AffineTransform)
Creates a trajectory element.
Declaration
public static Trajectory Create(AffineTransform transform)
Parameters
Type | Name | Description |
---|---|---|
AffineTransform | transform | The transform to be used for this trajectory element. |
Returns
Type | Description |
---|---|
Trajectory | The corresponding trajectory element. |