Module sprite_base_3d

Consts

FLAG_TRANSPARENT* = 0'i64
FLAG_SHADED* = 1'i64
FLAG_DOUBLE_SIDED* = 2'i64
FLAG_MAX* = 3'i64
ALPHA_CUT_DISABLED* = 0'i64
ALPHA_CUT_DISCARD* = 1'i64
ALPHA_CUT_OPAQUE_PREPASS* = 2'i64

Procs

proc centered*(self: SpriteBase3D): bool {.
gcsafe, locks: 0
.}
proc `centered =`*(self: SpriteBase3D; val: bool) {.
gcsafe, locks: 0
.}
proc offset*(self: SpriteBase3D): Vector2 {.
gcsafe, locks: 0
.}
proc `offset =`*(self: SpriteBase3D; val: Vector2) {.
gcsafe, locks: 0
.}
proc flipH*(self: SpriteBase3D): bool {.
gcsafe, locks: 0
.}
proc `flipH =`*(self: SpriteBase3D; val: bool) {.
gcsafe, locks: 0
.}
proc flipV*(self: SpriteBase3D): bool {.
gcsafe, locks: 0
.}
proc `flipV =`*(self: SpriteBase3D; val: bool) {.
gcsafe, locks: 0
.}
proc modulate*(self: SpriteBase3D): Color {.
gcsafe, locks: 0
.}
proc `modulate =`*(self: SpriteBase3D; val: Color) {.
gcsafe, locks: 0
.}
proc opacity*(self: SpriteBase3D): float64 {.
gcsafe, locks: 0
.}
proc `opacity =`*(self: SpriteBase3D; val: float64) {.
gcsafe, locks: 0
.}
proc pixelSize*(self: SpriteBase3D): float64 {.
gcsafe, locks: 0
.}
proc `pixelSize =`*(self: SpriteBase3D; val: float64) {.
gcsafe, locks: 0
.}
proc axis*(self: SpriteBase3D): int64 {.
gcsafe, locks: 0
.}
proc `axis =`*(self: SpriteBase3D; val: int64) {.
gcsafe, locks: 0
.}
proc transparent*(self: SpriteBase3D): bool {.
gcsafe, locks: 0
.}
proc `transparent =`*(self: SpriteBase3D; val: bool) {.
gcsafe, locks: 0
.}
proc shaded*(self: SpriteBase3D): bool {.
gcsafe, locks: 0
.}
proc `shaded =`*(self: SpriteBase3D; val: bool) {.
gcsafe, locks: 0
.}
proc doubleSided*(self: SpriteBase3D): bool {.
gcsafe, locks: 0
.}
proc `doubleSided =`*(self: SpriteBase3D; val: bool) {.
gcsafe, locks: 0
.}
proc alphaCut*(self: SpriteBase3D): int64 {.
gcsafe, locks: 0
.}
proc `alphaCut =`*(self: SpriteBase3D; val: int64) {.
gcsafe, locks: 0
.}
proc getItemRect*(self: SpriteBase3D): Rect2 {.
gcsafe, locks: 0
.}

Methods

method queueUpdate*(self: SpriteBase3D) {.
gcsafe, locks: 0, base
.}
method imUpdate*(self: SpriteBase3D) {.
gcsafe, locks: 0, base
.}