Module animation_player

Consts

ANIMATION_PROCESS_FIXED* = 0'i64
ANIMATION_PROCESS_IDLE* = 1'i64

Procs

proc playbackProcessMode*(self: AnimationPlayer): int64 {.
gcsafe, locks: 0
.}
proc `playbackProcessMode =`*(self: AnimationPlayer; val: int64) {.
gcsafe, locks: 0
.}
proc playbackDefaultBlendTime*(self: AnimationPlayer): float64 {.
gcsafe, locks: 0
.}
proc `playbackDefaultBlendTime =`*(self: AnimationPlayer; val: float64) {.
gcsafe, locks: 0
.}
proc rootNode*(self: AnimationPlayer): NodePath {.
gcsafe, locks: 0
.}
proc `rootNode =`*(self: AnimationPlayer; val: NodePath) {.
gcsafe, locks: 0
.}
proc addAnimation*(self: AnimationPlayer; name: string; animation: Animation): int64 {.
gcsafe, locks: 0
.}
proc removeAnimation*(self: AnimationPlayer; name: string) {.
gcsafe, locks: 0
.}
proc renameAnimation*(self: AnimationPlayer; name: string; newname: string) {.
gcsafe, locks: 0
.}
proc hasAnimation*(self: AnimationPlayer; name: string): bool {.
gcsafe, locks: 0
.}
proc getAnimation*(self: AnimationPlayer; name: string): Animation {.
gcsafe, locks: 0
.}
proc getAnimationList*(self: AnimationPlayer): PoolStringArray {.
gcsafe, locks: 0
.}
proc animationSetNext*(self: AnimationPlayer; animFrom: string; animTo: string) {.
gcsafe, locks: 0
.}
proc animationGetNext*(self: AnimationPlayer; animFrom: string): string {.
gcsafe, locks: 0
.}
proc setBlendTime*(self: AnimationPlayer; animFrom: string; animTo: string;
                  sec: float64) {.
gcsafe, locks: 0
.}
proc getBlendTime*(self: AnimationPlayer; animFrom: string; animTo: string): float64 {.
gcsafe, locks: 0
.}
proc play*(self: AnimationPlayer; name: string = ""; customBlend: float64 = - 1.0;
          customSpeed: float64 = 1.0; fromEnd: bool = false) {.
gcsafe, locks: 0
.}
proc playBackwards*(self: AnimationPlayer; name: string = "";
                   customBlend: float64 = - 1.0) {.
gcsafe, locks: 0
.}
proc stop*(self: AnimationPlayer; reset: bool = true) {.
gcsafe, locks: 0
.}
proc stopAll*(self: AnimationPlayer) {.
gcsafe, locks: 0
.}
proc isPlaying*(self: AnimationPlayer): bool {.
gcsafe, locks: 0
.}
proc setCurrentAnimation*(self: AnimationPlayer; anim: string) {.
gcsafe, locks: 0
.}
proc getCurrentAnimation*(self: AnimationPlayer): string {.
gcsafe, locks: 0
.}
proc queue*(self: AnimationPlayer; name: string) {.
gcsafe, locks: 0
.}
proc clearQueue*(self: AnimationPlayer) {.
gcsafe, locks: 0
.}
proc setActive*(self: AnimationPlayer; active: bool) {.
gcsafe, locks: 0
.}
proc isActive*(self: AnimationPlayer): bool {.
gcsafe, locks: 0
.}
proc setSpeedScale*(self: AnimationPlayer; speed: float64) {.
gcsafe, locks: 0
.}
proc getSpeedScale*(self: AnimationPlayer): float64 {.
gcsafe, locks: 0
.}
proc setAutoplay*(self: AnimationPlayer; name: string) {.
gcsafe, locks: 0
.}
proc getAutoplay*(self: AnimationPlayer): string {.
gcsafe, locks: 0
.}
proc seek*(self: AnimationPlayer; posSec: float64; update: bool = false) {.
gcsafe, locks: 0
.}
proc getPos*(self: AnimationPlayer): float64 {.
gcsafe, locks: 0
.}
proc findAnimation*(self: AnimationPlayer; animation: Animation): string {.
gcsafe, locks: 0
.}
proc clearCaches*(self: AnimationPlayer) {.
gcsafe, locks: 0
.}
proc getCurrentAnimationPos*(self: AnimationPlayer): float64 {.
gcsafe, locks: 0
.}
proc getCurrentAnimationLength*(self: AnimationPlayer): float64 {.
gcsafe, locks: 0
.}
proc advance*(self: AnimationPlayer; delta: float64) {.
gcsafe, locks: 0
.}

Methods

method nodeRemoved*(self: AnimationPlayer; arg0: Node) {.
gcsafe, locks: 0, base
.}
method animationChanged*(self: AnimationPlayer) {.
gcsafe, locks: 0, base
.}