Skip to content

@orillusion/core


Interface: MeshBVHRayOptions ​

Defined in: src/core/tree/bvh/MeshBVH.ts:20

Options for MeshBVH ray queries. Distances are along the normalized ray direction in the geometry's local space.

Properties ​

cull? ​

optional cull?: boolean | MeshBVHCull

Defined in: src/core/tree/bvh/MeshBVH.ts:22

Faces to ignore; true means 'back'. Default 'none'.


near? ​

optional near?: number

Defined in: src/core/tree/bvh/MeshBVH.ts:24

Ignore hits closer than this. Default 0.


far? ​

optional far?: number

Defined in: src/core/tree/bvh/MeshBVH.ts:26

Ignore hits farther than this. Default Infinity.

Released under the MIT License