Skip to main content

PickOptionIntersection

Options for pick operation using a Intersection

Hierarchy

Index

Properties

intersection

intersection: Intersection

Camera. Intersection ray goes through camera center

optionalisAABBIntersectionEnabled

isAABBIntersectionEnabled?: boolean

If true, an intersection test against the AABB is performed. This test also requires that isGeometryIntersectionTestEnabled === false or that no geometry intersection is found.

optionalisCenterIntersectionFallbackEnabled

isCenterIntersectionFallbackEnabled?: boolean

If true, fall back to use the object center as intersection point if no intersection point is otherwise found.

optionalisGeometryIntersectionEnabled

isGeometryIntersectionEnabled?: boolean

If undefined or true then a (computationally expensive) intersection test will be performed against geometry to find out exactly where intersection is.

optionalisNearbyRenderedObjectsIntersectionFallbackEnabled

isNearbyRenderedObjectsIntersectionFallbackEnabled?: boolean

If true and if no intersection is found, intersections on nearby rendered objects are looked for.

optionaltextureSize

textureSize?: number

Texture size of gpu picking texture. (16 if not specified)

type

type: Intersection

Type for use in discriminant union checks.