Module curve

Consts

TANGENT_FREE = 0'i64
TANGENT_LINEAR = 1'i64
TANGENT_MODE_COUNT = 2'i64

Procs

proc minValue(self: Curve): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc minValue=(self: Curve; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc maxValue(self: Curve): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc maxValue=(self: Curve; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc bakeResolution(self: Curve): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc bakeResolution=(self: Curve; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc data(self: Curve): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc data=(self: Curve; val: Array) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addPoint(self: Curve; position: Vector2; leftTangent: float64 = 0.0;
             rightTangent: float64 = 0.0; leftMode: int64 = 0'i64;
             rightMode: int64 = 0'i64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removePoint(self: Curve; index: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearPoints(self: Curve) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointPosition(self: Curve; index: int64): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointValue(self: Curve; index: int64; y: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointOffset(self: Curve; index: int64; offset: float64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc interpolate(self: Curve; offset: float64): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc interpolateBaked(self: Curve; offset: float64): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointLeftTangent(self: Curve; index: int64): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointRightTangent(self: Curve; index: int64): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointLeftMode(self: Curve; index: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointRightMode(self: Curve; index: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointLeftTangent(self: Curve; index: int64; tangent: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointRightTangent(self: Curve; index: int64; tangent: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointLeftMode(self: Curve; index: int64; mode: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointRightMode(self: Curve; index: int64; mode: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cleanDupes(self: Curve) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc bake(self: Curve) {.
gcsafe, locks: 0, raises: [], tags: []
.}