接口 WidgetComponentEntityOptions实验性

interface WidgetComponentEntityOptions {
    deselectedAnimation?: string;
    isClickable?: boolean;
    lockToSurface?: boolean;
    offset?: Vector3;
    selectedAnimation?: string;
    stateChangeEvent?: ((arg: WidgetComponentStateChangeEventData) => void);
    visible?: boolean;
}

层级 (查看完整内容)

属性

deselectedAnimation?: string
isClickable?: boolean
lockToSurface?: boolean
offset?: Vector3
selectedAnimation?: string
stateChangeEvent?: ((arg: WidgetComponentStateChangeEventData) => void)
visible?: boolean