PickResultIcon
Hierarchy
- PickResultBase
- PickResultIcon
Index
Constructors
publicconstructor
Constructor
Parameters
o: { icon: Icon; id: number; mesh: Mesh; pickOptions: PickOptionRay }
Options
icon: Icon
The Icon that was hit.
id: number
Unique GPU picking id for the hit
o.icon
.mesh: Mesh
BabylonJS mesh that
o.icon
belongs to.pickOptions: PickOptionRay
The picking ray and related options.
Returns PickResultIcon
Properties
publicreadonlyid
Unique GPU picking id for the hit object
publicreadonlymesh
BabylonJS Mesh pick operation yielded. object belongs to this mesh.
publicreadonlyobject
Icon yielded by pick operation.
publictype
Discriminant union selector.
Accessors
publichitInfo
Exact intersections of icon that the pick operation gave.
Returns Intersection[]
Methods
equals
Compare two PickResult instances.
Parameters
pickResult: PickResult
Returns boolean
Represents a pick operation where a Icon was picked.