direction
The direction of motion for a linear field.
Declaration
var direction: CGVector { get set }Discussion
Use this property to specify the direction of motion for velocity and linear gravity fields. For nondirectional fields, the default value of this property is a zero vector.