Esposter
    Preparing search index...

    Interface TextureCropConfiguration

    interface TextureCropConfiguration {
        frame: string | number;
        isCropped: boolean;
        texture: string;
    }

    Hierarchy (View Summary)

    Index
    frame: string | number
    isCropped: boolean

    A boolean flag indicating if this Game Object is being cropped or not. You can toggle this at any time after setCrop has been called, to turn cropping on or off. Equally, calling setCrop with no arguments will reset the crop and disable it.

    texture: string