Skip to content

@simversus/yjvisDocs


@simversus/yjvis / Selector

Class: Selector

gpu拾取器

Constructors

new Selector()

new Selector(): Selector

Returns

Selector

Properties

renderTargetCache

static renderTargetCache: Record<string, RenderWindow> = {}

Internal

缓存渲染窗口

Defined in

control/Selector.ts:163

Methods

select()

select(p): Promise<SelectResult>

进行拾取

Parameters

p: SelectOP

Returns

Promise<SelectResult>

Defined in

control/Selector.ts:177


release()

static release(): void

Internal

释放资源

Returns

void

Defined in

control/Selector.ts:169