# Interface PickOptionIntersection

Options for pick operation using a Intersection

interface PickOptionIntersection {
intersection: Intersection;
isAABBIntersectionEnabled?: boolean;
isCenterIntersectionFallbackEnabled?: boolean;
isGeometryIntersectionEnabled?: boolean;
isNearbyRenderedObjectsIntersectionFallbackEnabled?: boolean;
textureSize?: number;
type: Intersection;
}

#### Hierarchy (View Summary)

- PickOptionFlags
  - PickOptionIntersection

##### Index

### Properties

intersection
isAABBIntersectionEnabled?
isCenterIntersectionFallbackEnabled?
isGeometryIntersectionEnabled?
isNearbyRenderedObjectsIntersectionFallbackEnabled?
textureSize?
type

## Properties

### intersection

intersection: Intersection

Camera. Intersection ray goes through camera center

### `Optional` isAABBIntersectionEnabled

isAABBIntersectionEnabled?: boolean

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

Inherited from PickOptionFlags.isAABBIntersectionEnabled

### `Optional` isCenterIntersectionFallbackEnabled

isCenterIntersectionFallbackEnabled?: boolean

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

Inherited from PickOptionFlags.isCenterIntersectionFallbackEnabled

### `Optional` isGeometryIntersectionEnabled

isGeometryIntersectionEnabled?: boolean

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

Inherited from PickOptionFlags.isGeometryIntersectionEnabled

### `Optional` isNearbyRenderedObjectsIntersectionFallbackEnabled

isNearbyRenderedObjectsIntersectionFallbackEnabled?: boolean

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

Inherited from PickOptionFlags.isNearbyRenderedObjectsIntersectionFallbackEnabled

### `Optional` textureSize

textureSize?: number

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

Inherited from PickOptionFlags.textureSize

### type

type: Intersection

Type for use in discriminant union checks.

Overrides PickOptionFlags.type