Module animation

Consts

TYPE_VALUE* = 0'i64
TYPE_TRANSFORM* = 1'i64
TYPE_METHOD* = 2'i64
INTERPOLATION_NEAREST* = 0'i64
INTERPOLATION_LINEAR* = 1'i64
INTERPOLATION_CUBIC* = 2'i64
UPDATE_CONTINUOUS* = 0'i64
UPDATE_DISCRETE* = 1'i64
UPDATE_TRIGGER* = 2'i64

Procs

proc addTrack*(self: Animation; typee: int64; atPos: int64 = - 1'i64): int64 {.
gcsafe, locks: 0
.}
proc removeTrack*(self: Animation; idx: int64) {.
gcsafe, locks: 0
.}
proc getTrackCount*(self: Animation): int64 {.
gcsafe, locks: 0
.}
proc trackGetType*(self: Animation; idx: int64): int64 {.
gcsafe, locks: 0
.}
proc trackGetPath*(self: Animation; idx: int64): NodePath {.
gcsafe, locks: 0
.}
proc trackSetPath*(self: Animation; idx: int64; path: NodePath) {.
gcsafe, locks: 0
.}
proc findTrack*(self: Animation; path: NodePath): int64 {.
gcsafe, locks: 0
.}
proc trackMoveUp*(self: Animation; idx: int64) {.
gcsafe, locks: 0
.}
proc trackMoveDown*(self: Animation; idx: int64) {.
gcsafe, locks: 0
.}
proc trackSetImported*(self: Animation; idx: int64; imported: bool) {.
gcsafe, locks: 0
.}
proc trackIsImported*(self: Animation; idx: int64): bool {.
gcsafe, locks: 0
.}
proc transformTrackInsertKey*(self: Animation; idx: int64; time: float64; loc: Vector3;
                             rot: Quat; scale: Vector3): int64 {.
gcsafe, locks: 0
.}
proc trackInsertKey*(self: Animation; idx: int64; time: float64; key: Variant;
                    transition: float64 = 1.0) {.
gcsafe, locks: 0
.}
proc trackRemoveKey*(self: Animation; idx: int64; keyIdx: int64) {.
gcsafe, locks: 0
.}
proc trackRemoveKeyAtPos*(self: Animation; idx: int64; pos: float64) {.
gcsafe, locks: 0
.}
proc trackSetKeyValue*(self: Animation; idx: int64; key: int64; value: Variant) {.
gcsafe, locks: 0
.}
proc trackSetKeyTransition*(self: Animation; idx: int64; keyIdx: int64;
                           transition: float64) {.
gcsafe, locks: 0
.}
proc trackGetKeyTransition*(self: Animation; idx: int64; keyIdx: int64): float64 {.
gcsafe, locks: 0
.}
proc trackGetKeyCount*(self: Animation; idx: int64): int64 {.
gcsafe, locks: 0
.}
proc trackGetKeyValue*(self: Animation; idx: int64; keyIdx: int64) {.
gcsafe, locks: 0
.}
proc trackGetKeyTime*(self: Animation; idx: int64; keyIdx: int64): float64 {.
gcsafe, locks: 0
.}
proc trackFindKey*(self: Animation; idx: int64; time: float64; exact: bool = false): int64 {.
gcsafe, locks: 0
.}
proc trackSetInterpolationType*(self: Animation; idx: int64; interpolation: int64) {.
gcsafe, locks: 0
.}
proc trackGetInterpolationType*(self: Animation; idx: int64): int64 {.
gcsafe, locks: 0
.}
proc trackSetInterpolationLoopWrap*(self: Animation; idx: int64; interpolation: bool) {.
gcsafe, locks: 0
.}
proc trackGetInterpolationLoopWrap*(self: Animation; idx: int64): bool {.
gcsafe, locks: 0
.}
proc transformTrackInterpolate*(self: Animation; idx: int64; timeSec: float64): Array {.
gcsafe, locks: 0
.}
proc valueTrackSetUpdateMode*(self: Animation; idx: int64; mode: int64) {.
gcsafe, locks: 0
.}
proc valueTrackGetUpdateMode*(self: Animation; idx: int64): int64 {.
gcsafe, locks: 0
.}
proc valueTrackGetKeyIndices*(self: Animation; idx: int64; timeSec: float64;
                             delta: float64): PoolIntArray {.
gcsafe, locks: 0
.}
proc methodTrackGetKeyIndices*(self: Animation; idx: int64; timeSec: float64;
                              delta: float64): PoolIntArray {.
gcsafe, locks: 0
.}
proc methodTrackGetName*(self: Animation; idx: int64; keyIdx: int64): string {.
gcsafe, locks: 0
.}
proc methodTrackGetParams*(self: Animation; idx: int64; keyIdx: int64): Array {.
gcsafe, locks: 0
.}
proc setLength*(self: Animation; timeSec: float64) {.
gcsafe, locks: 0
.}
proc getLength*(self: Animation): float64 {.
gcsafe, locks: 0
.}
proc setLoop*(self: Animation; enabled: bool) {.
gcsafe, locks: 0
.}
proc hasLoop*(self: Animation): bool {.
gcsafe, locks: 0
.}
proc setStep*(self: Animation; sizeSec: float64) {.
gcsafe, locks: 0
.}
proc getStep*(self: Animation): float64 {.
gcsafe, locks: 0
.}
proc clear*(self: Animation) {.
gcsafe, locks: 0
.}