interface WidgetCreateOptions {
    bindPositionToBlockCursor?: boolean;
    collisionOffset?: Vector3;
    collisionRadius?: number;
    lockToSurface?: boolean;
    selectable?: boolean;
    snapToBlockLocation?: boolean;
    stateChangeEvent?: (arg: WidgetStateChangeEventData) => void;
    visible?: boolean;
}

Properties

bindPositionToBlockCursor?: boolean
collisionOffset?: Vector3
collisionRadius?: number
lockToSurface?: boolean
selectable?: boolean
snapToBlockLocation?: boolean
stateChangeEvent?: (arg: WidgetStateChangeEventData) => void
visible?: boolean