Hilo3d API - v2.0.0-alpha.3
    Preparing search index...

    Interface SpriteFrameParameters

    interface SpriteFrameParameters {
        duration?: number;
        height?: number;
        texture: Texture;
        width?: number;
        x?: number;
        y?: number;
    }
    Index
    duration?: number

    Optional per-frame duration in milliseconds.

    height?: number

    Frame height in source pixels. Defaults to the remaining texture height.

    texture: Texture

    Atlas texture containing this frame.

    width?: number

    Frame width in source pixels. Defaults to the remaining texture width.

    x?: number

    Left edge in source pixels.

    y?: number

    Top edge in source pixels.