P3d.in Embed API
    Preparing search index...

    Interface P3dEmbedApiPick

    interface P3dEmbedApiPick {
        coordinates?: { x: number; y: number; z: number };
        material?: P3dMaterial;
        materialIndex?: number;
        status: "hit" | "miss";
    }

    Hierarchy (View Summary)

    Index

    Properties

    coordinates?: { x: number; y: number; z: number }

    Hit coordinates in model space

    material?: P3dMaterial

    Material instance that cursor was on

    materialIndex?: number

    Index of the material that cursor was on

    status: "hit" | "miss"

    Determines if cursor event was over the model or not