PickResultMesh
Hierarchy
- PickResultBase
- PickResultMesh
Index
Constructors
constructor
Constructor
Parameters
o: { gpuPickMesh: Mesh; id: number; mesh: Mesh; pickOptions: PickOptionRay }
Options
gpuPickMesh: Mesh
The internal mesh (clone of
o.mesh
) that was used for the GPU pick operationid: number
Unique GPU picking id for the hit mesh.
mesh: Mesh
BabylonJS Mesh that was hit by a pick operation
pickOptions: PickOptionRay
The picking ray and related options.
Returns PickResultMesh
Properties
publicreadonlyhitInfo
Exact intersections of mesh that the pick operation gave.
publicreadonlyid
Unique GPU picking id for the hit object
publicreadonlymesh
BabylonJS Mesh pick operation yielded.
publictype
Discriminant union selector
Methods
equals
Compare two PickResult instances.
Parameters
pickResult: PickResult
Returns boolean
Represents a pick operation where a BabylonJS mesh was picked. Used when a picking operation hit a BabylonJS mesh that does not represent a Twinfinity object such as a Icon or BimIfcObject.