@stereograph/teiaviewer - v17.8.0-dev
    Preparing search index...

    Interface AddSpriteCommandOptions

    interface AddSpriteCommandOptions {
        depthTest?: boolean;
        drawArrow?: boolean;
        imageUrl?: string;
        onClick?: () => void;
        selectable?: boolean;
        size?: number;
        text?: string;
    }
    Index

    Properties

    depthTest?: boolean
    true
    
    drawArrow?: boolean
    false
    
    imageUrl?: string

    Url to the image to display in the Sprite texture

    ""
    
    onClick?: () => void

    Call when the sprite has been clicked by the user

    selectable?: boolean
    true
    
    size?: number
    1
    
    text?: string

    Texture to display above the icon

    ""