interface CustomWidgetCreateOptions {
    initialVisibility?: boolean;
    isSelectable?: boolean;
    moveEvent?: (arg: CustomWidgetMoveEventData) => void;
    showTextOnlyWhenSelected?: boolean;
    stateChangeEvent?: (arg: WidgetStateChangeEventData) => void;
    text?: string;
    visualOffset?: Vector3;
}

Hierarchy (View Summary)

Properties

initialVisibility?: boolean
isSelectable?: boolean
moveEvent?: (arg: CustomWidgetMoveEventData) => void
showTextOnlyWhenSelected?: boolean
stateChangeEvent?: (arg: WidgetStateChangeEventData) => void
text?: string
visualOffset?: Vector3