Interface RectCollideModuleOptions

interface RectCollideModuleOptions {
    overlapMargin?: number;
    refreshTimeout?: number;
    useDebounce?: boolean;
}

Properties

overlapMargin?: number

重叠边距

refreshTimeout?: number

刷新防抖或节流时间毫秒,默认500

useDebounce?: boolean

如果为false,则使用防抖来刷新,否则节流用来刷新,默认false