Module array_mesh

Consts

NO_INDEX_ARRAY = -1
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_MAX = 9'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 blendShapeMode(self: ArrayMesh): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc blendShapeMode=(self: ArrayMesh; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customAabb(self: ArrayMesh): AABB {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customAabb=(self: ArrayMesh; val: AABB) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addBlendShape(self: ArrayMesh; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getBlendShapeCount(self: ArrayMesh): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getBlendShapeName(self: ArrayMesh; index: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearBlendShapes(self: ArrayMesh) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addSurfaceFromArrays(self: ArrayMesh; primitive: int64; arrays: Array;
                         blendShapes: Array = newArray();
                         compressFlags: int64 = 97792'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSurfaceCount(self: ArrayMesh): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceRemove(self: ArrayMesh; surfIdx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceUpdateRegion(self: ArrayMesh; surfIdx: int64; offset: int64;
                        data: PoolByteArray) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceGetArrayLen(self: ArrayMesh; surfIdx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceGetArrayIndexLen(self: ArrayMesh; surfIdx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceGetFormat(self: ArrayMesh; surfIdx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceGetPrimitiveType(self: ArrayMesh; surfIdx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceSetMaterial(self: ArrayMesh; surfIdx: int64; material: Material) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceGetMaterial(self: ArrayMesh; surfIdx: int64): Material {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc surfaceSetName(self: ArrayMesh; surfIdx: int64; name: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceGetName(self: ArrayMesh; surfIdx: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceGetArrays(self: ArrayMesh; surfIdx: int64): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc surfaceGetBlendShapeArrays(self: ArrayMesh; surfIdx: int64): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc centerGeometry(self: ArrayMesh) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc regenNormalmaps(self: ArrayMesh) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc lightmapUnwrap(self: ArrayMesh; arg0: Transform; arg1: float64): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}