addFrame(anim:texture:duration:atPosition:)

    Adds a frame to the anim animation. If atPosition is -1, the frame will be added to the end of the animation.

    SpriteFrames.swift:306
    final func addFrame(anim: StringName, texture: Texture2D?, duration: Double = 1.0, atPosition: Int32 = -1)

    Other members in extension

    Type members

    Instance members