Script API - v26.60.25
    Preparing search index...

    Interface WidgetComponentGizmoOptions

    Options used when creating a gizmo component. A gizmo must enable at least one translation axis or one rotation axis.

    interface WidgetComponentGizmoOptions {
        axes?: Axis;
        enablePlanes?: boolean;
        lockToSurface?: boolean;
        normalizedAutoOffset?: Vector3;
        offset?: Vector3;
        rotationAxes?: Axis;
        scaleMode?: WidgetGizmoScaleMode;
        stateChangeEvent?: (
            arg0: WidgetComponentGizmoStateChangeEventParameters,
        ) => void;
        visible?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    axes?: Axis
    enablePlanes?: boolean
    lockToSurface?: boolean
    normalizedAutoOffset?: Vector3
    offset?: Vector3
    rotationAxes?: Axis

    The world axes that have rotation rings when the gizmo is created. Defaults to Axis.None. The value can be Axis.None when at least one translation axis is enabled.

    Throws when neither a translation axis nor a rotation axis is enabled, or when the value contains bits other than Axis.X, Axis.Y, or Axis.Z.

    stateChangeEvent?: (
        arg0: WidgetComponentGizmoStateChangeEventParameters,
    ) => void
    visible?: boolean