@twinfinity/core
    Preparing search index...

    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)

    Index

    Properties

    intersection: Intersection

    Camera. Intersection ray goes through camera center

    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.

    isCenterIntersectionFallbackEnabled?: boolean

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

    isGeometryIntersectionEnabled?: boolean

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

    isNearbyRenderedObjectsIntersectionFallbackEnabled?: boolean

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

    textureSize?: number

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

    Type for use in discriminant union checks.