Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Variable VIEW_AXIS_ROLL_SIGNConst

    VIEW_AXIS_ROLL_SIGN: -1

    Shared view-axis roll convention for touch twist and Shift+wheel gestures.

    In y-down screen space, atan2 grows for a visually clockwise twist. A positive rotation about the camera's forward axis turns the camera clockwise as the user sees it, so the scene turns counter-clockwise; negating the input makes the scene follow the fingers. Shift+wheel adopts that same direction. Orbit and fly apply the rotation about the same axis with the same premultiplication order, so the sign is one law. This convention governs gesture input only; orbit auto-rotation and fly's Q/E keyboard roll retain their independent signs.

    Controller-specific gains intentionally stay at their call sites: orbit's touch gain is a dimensionless angle multiplier, while fly's touch gain feeds angular velocity and therefore has rate units. Wheel gains likewise retain their existing controller-specific magnitudes.