Attaches custom BabylonJS meshes so they can be "picked".
Optionalo: AttachOptionRenders objects and checks which objects are in sight from given camera.
Optionalo: GetVisibleInSightOptionsOptions for getting visible objects in sight.
Renders objects and checks which objects are in sight from given camera.
OptionalinSightCamera: CameraCamera to represent the view to check for visible objects. If not specified, then current active camera is used.
OptionaltextureSizePow2: numberResolution of the texture to be used for in sight detection. (The bigger the texture is, the higher precision when picking.)
OptionalisDistanceCullingEnabled: booleanWhether to enable distance culling.
OptionalinSightCamera: Camera | GetVisibleInSightOptionsOptionaltextureSizePow2: numberOptionalisDistanceCullingEnabled: booleanPerforms an intersection test in the world (finds objects below a specific screen coordinate or that intersect a ray).
Options to use for pick operation.
Intersection information.
Performs an intersection test in the world (find objects below a specific camera or screen coordinate, or that intersect a ray).
TargetCamera or PickOption..
OptionaltextureSizePow2: numbertexture size (defaults to 16x16) used when rendering the world during pick operation.
OptionaldoIntersectionTestOnGeometry: booleantrue to perform exact intersection on intersected object (exact coordinate etc). This
is computationally expensive.
OptionalsaveRenderedGpuPickingSceneTexture: booleantrue to save the rendering texture of the pick operation. Mostly useful for debugging.
Methods and properties related to gpu picking. Basically "given a rendered pixel what object does that pixel represent".