Module surface_tool

Procs

proc begin(self: SurfaceTool; primitive: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addVertex(self: SurfaceTool; vertex: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addColor(self: SurfaceTool; color: Color) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addNormal(self: SurfaceTool; normal: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addTangent(self: SurfaceTool; tangent: Plane) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addUv(self: SurfaceTool; uv: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addUv2(self: SurfaceTool; uv2: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addBones(self: SurfaceTool; bones: PoolIntArray) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addWeights(self: SurfaceTool; weights: PoolRealArray) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addSmoothGroup(self: SurfaceTool; smooth: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addTriangleFan(self: SurfaceTool; vertexes: PoolVector3Array;
                   uvs: PoolVector2Array = newPoolVector2Array();
                   colors: PoolColorArray = newPoolColorArray();
                   uv2s: PoolVector2Array = newPoolVector2Array();
                   normals: PoolVector3Array = newPoolVector3Array();
                   tangents: Array = newArray()) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addIndex(self: SurfaceTool; index: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc index(self: SurfaceTool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc deindex(self: SurfaceTool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc generateNormals(self: SurfaceTool; flip: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc generateTangents(self: SurfaceTool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addToFormat(self: SurfaceTool; flags: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setMaterial(self: SurfaceTool; material: Material) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clear(self: SurfaceTool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc createFrom(self: SurfaceTool; existing: Mesh; surface: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc appendFrom(self: SurfaceTool; existing: Mesh; surface: int64; transform: Transform) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc commit(self: SurfaceTool; existing: ArrayMesh = nil; flags: int64 = 97792'i64): ArrayMesh {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}