Skip to main content

PickOptionCamera

Options for ray pick operation.

Hierarchy

Index

Properties

camera

camera: TargetCamera

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: Camera

Type for use in discriminant union checks.