Programming API Reference: SharpGfx.Geometries.Shapes
Class publicstatic Cube
Approach with indexing.Propertypublicstaticfloat[] Positions { get; }: Vertex-positions of each face, shared vertices are repeated.Propertypublicstaticfloat[] Normals { get; }: Normal per vertex.Propertypublicstaticfloat[] Tangent { get; }: U in model space.Propertypublicstaticfloat[] BiTangent { get; }: V in model space.Propertypublicstaticfloat[] TextureUvs { get; }: In texture space.Propertypublicstaticushort[] Triangles { get; }: In vertex numbers.