Class SpriteMarker

精灵标记对象

Hierarchy

  • Sprite
    • SpriteMarker

Constructors

Properties

app: App
height: number
width: number

Methods

  • Parameters

    • eventName: "click" | "dblclick" | "mousewheel" | "mouseout" | "mouseup" | "mousedown" | "mousemove" | "contextmenu"
    • Optional x: number | Vector2
    • Optional y: number

    Returns void

  • Returns void

  • Returns {
        cx: number;
        cy: number;
        groupName: string;
        id: string;
        position: Vector3;
        rotation: number;
        setVisible: ((visible) => any);
        x1: number;
        x2: any;
        y1: number;
        y2: any;
        zIndex: number;
    }

    • cx: number
    • cy: number
    • groupName: string
    • id: string
    • position: Vector3
    • rotation: number
    • setVisible: ((visible) => any)
        • (visible): any
        • Parameters

          • visible: any

          Returns any

    • x1: number
    • x2: any
    • y1: number
    • y2: any
    • zIndex: number
  • Returns void

  • Parameters

    • allowOverlap: boolean

    Returns void

  • Parameters

    • material: SpriteMaterial

    Returns void

  • Returns void

  • Parameters

    • cb: ((context) => boolean)
        • (context): boolean
        • Parameters

          Returns boolean

    Returns void

  • Returns void