Snap

Rotate the view to the next 45° angle between the line of sight and a world unit vector.

JSON Format

Type

String

Values

Value

Description

"Left"

Rotations will be applied around the Anchor so that the angle between the line of sight and the world z unit vector decreases to the next 45° step.

"Right"

Rotations will be applied around the Anchor so that the angle between the line of sight and the world z unit vector increases to the next 45° step.

"Up"

Rotations will be applied around the Anchor so that the angle between the line of sight and the world x unit vector decreases to the next 45° step.

"Down"

Rotations will be applied around the Anchor so that the angle between the line of sight and the world x unit vector increases to the next 45° step.