UNPKG

@animech-public/playcanvas

Version:
74 lines (63 loc) 1.16 kB
/** * Local coordinate space. * * @type {string} * @category Gizmo */ const GIZMOSPACE_LOCAL = 'local'; /** * World coordinate space. * * @type {string} * @category Gizmo */ const GIZMOSPACE_WORLD = 'world'; /** * Gizmo axis for the line X. * * @type {string} */ const GIZMOAXIS_X = 'x'; /** * Gizmo axis for the line Y. * * @type {string} */ const GIZMOAXIS_Y = 'y'; /** * Gizmo axis for the line Z. * * @type {string} */ const GIZMOAXIS_Z = 'z'; /** * Gizmo axis for the plane YZ. * * @type {string} */ const GIZMOAXIS_YZ = 'yz'; /** * Gizmo axis for the plane XZ. * * @type {string} */ const GIZMOAXIS_XZ = 'xz'; /** * Gizmo axis for the plane XY. * * @type {string} */ const GIZMOAXIS_XY = 'xy'; /** * Gizmo axis for all directions XYZ. * * @type {string} */ const GIZMOAXIS_XYZ = 'xyz'; /** * Gizmo axis for facing the camera (facing the camera). * * @type {string} */ const GIZMOAXIS_FACE = 'face'; export { GIZMOAXIS_FACE, GIZMOAXIS_X, GIZMOAXIS_XY, GIZMOAXIS_XYZ, GIZMOAXIS_XZ, GIZMOAXIS_Y, GIZMOAXIS_YZ, GIZMOAXIS_Z, GIZMOSPACE_LOCAL, GIZMOSPACE_WORLD };