direction property
Vector2
get
direction
The normalized direction of the ray.
The values within the direction object should not be updated manually, use the setter instead.
Implementation
Vector2 get direction => _direction;
set
direction
(Vector2 direction)
Implementation
set direction(Vector2 direction) {
_direction.setFrom(direction);
_updateInverses();
}