Softanza
StartFrançais
Softanza
The library documents itself · Graphics

stzMesh

11 own methods · 0 forms written with extensions, listed under their method

the source: base/graphics/stzMesh.ring(opens in a new tab) · All classes · The area reference: Graphics

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 0 come from the library's tests; 8 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzMesh([ :Torus, 1.5, 0.55, 96, 48 ]). 3 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
pWhat is :Cube / :Sphere / :Plane, or a list: [ :Cube, nSize ] [ :Sphere, nRadius, nSegments, nRings ] [ :Plane, nSize ] [ :Obj, cObjText ] [ :Custom, aComponentCounts, aVertices, aIndices ]no extension
Id_
(no comment in the source: the name reads as a sentence) id_no extension
Kind
(no comment in the source: the name reads as a sentence) kind
composed example
o1 = new stzMesh([ :Torus, 1.5, 0.55, 96, 48 ])
? o1.Kind()
#--> torus
composed from the signature, run for this page
no extension
IsAlive
(no comment in the source: the name reads as a sentence) is alive
composed example
o1 = new stzMesh([ :Torus, 1.5, 0.55, 96, 48 ])
? o1.IsAlive()
#--> 1
composed from the signature, run for this page
no extension
VertexCount
(no comment in the source: the name reads as a sentence) vertex count
composed example
o1 = new stzMesh([ :Torus, 1.5, 0.55, 96, 48 ])
? o1.VertexCount()
#--> 4753
composed from the signature, run for this page
no extension
IndexCount
(no comment in the source: the name reads as a sentence) index count
composed example
o1 = new stzMesh([ :Torus, 1.5, 0.55, 96, 48 ])
? o1.IndexCount()
#--> 27648
composed from the signature, run for this page
no extension
TriangleCount
(no comment in the source: the name reads as a sentence) triangle count
composed example
o1 = new stzMesh([ :Torus, 1.5, 0.55, 96, 48 ])
? o1.TriangleCount()
#--> 9216
composed from the signature, run for this page
no extension
AttributeCount
(no comment in the source: the name reads as a sentence) attribute count
composed example
o1 = new stzMesh([ :Torus, 1.5, 0.55, 96, 48 ])
? o1.AttributeCount()
#--> 3
composed from the signature, run for this page
no extension
Stride
Floats per vertex.
composed example
o1 = new stzMesh([ :Torus, 1.5, 0.55, 96, 48 ])
? o1.Stride()
#--> 8
composed from the signature, run for this page
no extension
Format
The vertex format the pipeline is built from ("3,3,2"). Derived from the attributes -- extending the mesh extends this, and nothing else.
composed example
o1 = new stzMesh([ :Torus, 1.5, 0.55, 96, 48 ])
? o1.Format()
#--> 3,3,2
composed from the signature, run for this page
no extension
Free
(no comment in the source: the name reads as a sentence) freeno extension