P3d.in Embed API
    Preparing search index...

    Interface P3dNewHotspotOptions

    interface P3dNewHotspotOptions {
        cameraTransform?: P3dCameraTransform;
        description?: string;
        isSceneSpace?: boolean;
        isVisible?: boolean;
        location?: { x: number; y: number; z: number };
        parentHotspot?: P3dHotspot;
        parentObject?: P3dObject;
        title?: string;
    }
    Index

    Properties

    cameraTransform?: P3dCameraTransform

    Camera position and target coordinates that hotspot will move camera to when selected. If not defined, then hotspot will not alter camera when selected

    description?: string

    Hotspot description

    isSceneSpace?: boolean

    If this flag is set then location coordinates are considered scene space coordinates rather than relative to the parent object

    isVisible?: boolean

    If set, will determine if hotspot will be visible or hidden when created

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

    Hotspot location x, y, z coordinates

    parentHotspot?: P3dHotspot

    Optional parent hotspot

    parentObject?: P3dObject

    Optional parent object for the hotspot

    title?: string

    Title string for the new hotspot