Programming API Reference: EduGraf.Geometries
Class public static Geometry
Each method creates some kind of geometry from the given parameters.Method public static IGeometry
Create()
Create a new geometry. Each vertex is defined by 3 position coordinates. Three consecutive vertices define one triangle.float
[
] positions : unrolled (x, y, z) coordinates
Method public static IGeometry
Create()
Create a new geometry. Each vertex is defined by 3 position and 3 normal coordinates. Three consecutive vertices define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesfloat
[
] normals : unrolled (x, y, z) coordinates
Method public static IGeometry
Create()
Create a new geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesuint
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
Create()
Create a new geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesushort
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
Create()
Create a new geometry. Each vertex is defined by 3 position and 3 normal coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesfloat
[
] normals : unrolled (x, y, z) coordinatesuint
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
Create()
Create a new geometry. Each vertex is defined by 3 position and 3 normal coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesfloat
[
] normals : unrolled (x, y, z) coordinatesushort
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
CreateWithUv()
Create a new geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesfloat
[
] textureUv : unrolled (u, v) texture coordinates
Method public static IGeometry
CreateWithUv()
Create a new geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesfloat
[
] normals : unrolled (x, y, z) coordinatesfloat
[
] textureUv : unrolled (u, v) texture coordinates
Method public static IGeometry
CreateWithUv()
Create a new geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesfloat
[
] textureUv : unrolled (u, v) texture coordinatesuint
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
CreateWithUv()
Create a new geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesfloat
[
] textureUv : unrolled (u, v) texture coordinatesushort
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
CreateWithUv()
Create a new geometry. Each vertex is defined by 3 position and 3 normal coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesfloat
[
] normals : unrolled (x, y, z) coordinatesfloat
[
] textureUv : unrolled (u, v) texture coordinatesuint
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
CreateWithUv()
Create a new geometry. Each vertex is defined by 3 position and 3 normal coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y, z) coordinatesfloat
[
] normals : unrolled (x, y, z) coordinatesfloat
[
] textureUv : unrolled (u, v) texture coordinatesushort
[
] triangles : unrolled list of vertex numbers