Module array_mesh

Consts

NO_INDEX_ARRAY* = - 1'i64
ARRAY_WEIGHTS_SIZE* = 4'i64
ARRAY_VERTEX* = 0'i64
ARRAY_NORMAL* = 1'i64
ARRAY_TANGENT* = 2'i64
ARRAY_COLOR* = 3'i64
ARRAY_TEX_UV* = 4'i64
ARRAY_TEX_UV2* = 5'i64
ARRAY_BONES* = 6'i64
ARRAY_WEIGHTS* = 7'i64
ARRAY_INDEX* = 8'i64
ARRAY_FORMAT_VERTEX* = 1'i64
ARRAY_FORMAT_NORMAL* = 2'i64
ARRAY_FORMAT_TANGENT* = 4'i64
ARRAY_FORMAT_COLOR* = 8'i64
ARRAY_FORMAT_TEX_UV* = 16'i64
ARRAY_FORMAT_TEX_UV2* = 32'i64
ARRAY_FORMAT_BONES* = 64'i64
ARRAY_FORMAT_WEIGHTS* = 128'i64
ARRAY_FORMAT_INDEX* = 256'i64

Procs

proc addBlendShape*(self: ArrayMesh; name: string) {.
gcsafe, locks: 0
.}
proc getBlendShapeCount*(self: ArrayMesh): int64 {.
gcsafe, locks: 0
.}
proc getBlendShapeName*(self: ArrayMesh; index: int64): string {.
gcsafe, locks: 0
.}
proc clearBlendShapes*(self: ArrayMesh) {.
gcsafe, locks: 0
.}
proc setBlendShapeMode*(self: ArrayMesh; mode: int64) {.
gcsafe, locks: 0
.}
proc getBlendShapeMode*(self: ArrayMesh): int64 {.
gcsafe, locks: 0
.}
proc addSurfaceFromArrays*(self: ArrayMesh; primitive: int64; arrays: Array;
                          blendShapes: Array; compressFlags: int64 = 97792'i64) {.
gcsafe, locks: 0
.}
proc getSurfaceCount*(self: ArrayMesh): int64 {.
gcsafe, locks: 0
.}
proc surfaceRemove*(self: ArrayMesh; surfIdx: int64) {.
gcsafe, locks: 0
.}
proc surfaceGetArrayLen*(self: ArrayMesh; surfIdx: int64): int64 {.
gcsafe, locks: 0
.}
proc surfaceGetArrayIndexLen*(self: ArrayMesh; surfIdx: int64): int64 {.
gcsafe, locks: 0
.}
proc surfaceGetFormat*(self: ArrayMesh; surfIdx: int64): int64 {.
gcsafe, locks: 0
.}
proc surfaceGetPrimitiveType*(self: ArrayMesh; surfIdx: int64): int64 {.
gcsafe, locks: 0
.}
proc surfaceSetMaterial*(self: ArrayMesh; surfIdx: int64; material: Material) {.
gcsafe, locks: 0
.}
proc surfaceGetMaterial*(self: ArrayMesh; surfIdx: int64): Material {.
gcsafe, locks: 0
.}
proc surfaceSetName*(self: ArrayMesh; surfIdx: int64; name: string) {.
gcsafe, locks: 0
.}
proc surfaceGetName*(self: ArrayMesh; surfIdx: int64): string {.
gcsafe, locks: 0
.}
proc centerGeometry*(self: ArrayMesh) {.
gcsafe, locks: 0
.}
proc regenNormalmaps*(self: ArrayMesh) {.
gcsafe, locks: 0
.}
proc setCustomAabb*(self: ArrayMesh; aabb: Rect3) {.
gcsafe, locks: 0
.}
proc getCustomAabb*(self: ArrayMesh): Rect3 {.
gcsafe, locks: 0
.}