ThreePipe
    Preparing search index...

    Class PivotControls

    PivotControls - A gizmo that shows all transform handles simultaneously (translation arrows, plane sliders, rotation arcs, scaling spheres). Follows the same architecture as TransformControls — single class, mesh-based geometry, ObjectConstructors for material injection.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    activeAxes: [boolean, boolean, boolean] = ...
    annotations: boolean = true

    Show value annotations during drag.

    autoTransform: boolean = true
    axisColors: [number, number, number] = ...
    camera: Camera
    depthTest: boolean = false

    Whether gizmo materials use depth testing. false = always visible through objects.

    disableAxes: boolean = false
    disableRotations: boolean = false
    disableScaling: boolean = false
    disableSliders: boolean = false
    domElement: HTMLCanvasElement
    enabled: boolean = true
    fixed: boolean = true

    When true, gizmo maintains constant screen size regardless of camera distance (default).

    gizmoScale: number = 1.25

    Scale multiplier for the gizmo, same as TransformControls 'size'. Applied per-frame.

    handleOpacity: number = 0.95
    hoveredColor: number = 0xffff40
    object: undefined | Object3D<Object3DEventMap>
    rotationLimits?: (undefined | [number, number])[]
    rotationSnap: null | number = 15
    scaleLimits?: (undefined | [number, number])[]
    scaleSnap: null | number = 0.1
    space: "world" | "local" = 'world'

    Coordinate space for transformations. 'world' or 'local'.

    translationLimits?: (undefined | [number, number])[]
    translationSnap: null | number = 0.5

    Snap values when shift is held. Set to null to disable snapping for that transform.

    uniformScaleEnabled: boolean = true

    When true, alt/option+drag on a scale sphere applies uniform scale.

    ObjectConstructors: {
        LineBasicMaterial: typeof LineBasicMaterial;
        MeshBasicMaterial: typeof MeshBasicMaterial;
    } = ...

    Methods