API

Interface IGPUMultiPickingInfo

Stores the result of a multi GPU picking operation

interface IGPUMultiPickingInfo {
    meshes: Nullable<AbstractMesh>[];
    normals?: Nullable<Vector3>[];
    pickedPoints?: Nullable<Vector3>[];
    thinInstanceIndexes?: number[];
}
Index
meshes: Nullable<AbstractMesh>[]

Picked mesh

normals?: Nullable<Vector3>[]

Reconstructed normals 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 null.

pickedPoints?: Nullable<Vector3>[]

Picked points 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 null.

thinInstanceIndexes?: number[]

Picked thin instance index