Interface IGPUPickingInfo
interface IGPUPickingInfo {
mesh: AbstractMesh;
normal?: any;
pickedPoint?: any;
thinInstanceIndex?: number;
}
mesh: AbstractMesh;
normal?: any;
pickedPoint?: any;
thinInstanceIndex?: number;
}
Properties
mesh
mesh: AbstractMesh
Picked mesh
Optionalnormal
normal?: any
Reconstructed normal in world space.
Only available when enableDepthPicking is true and enough valid depth neighbors can be read. Custom picking materials or special material plugins that do not write the depth attachment may return undefined.
Optionalpicked Point
pickedPoint?: any
Picked point in world space.
Only available when enableDepthPicking is true and a valid depth value can be read. Custom picking materials or special material plugins that do not write the depth attachment may return undefined.
Optionalthin Instance Index
thinInstanceIndex?: number
Picked thin instance index
Class used to store the result of a GPU picking operation