RelativePosition

RelativePosition

new RelativePosition(axis, direction)

Source:
Parameters:
Name Type Description
axis Axis
direction Direction

Members

AXIS

Source:
Properties:
Name Type Description
AXIS Axis
Properties
Name Type Description
VERTICAL string
HORIZONTAL string
DIAGONAL_LEFT string
DIAGONAL_RIGHT string

DIRECTION

Source:
Properties:
Name Type Description
Direction Direction
Properties
Name Type Description
FORWARD string
BACKWARD string

(readonly) axis :Axis

Source:
Type:
  • Axis

(readonly) direction :Direction

Source:
Type:
  • Direction