Programming API Reference: EduGraf.Geometries
Class public static Geometry
Each method creates some kind of geometry from the given parameters.Method public static IGeometry
Create2D()
Create a new 2d geometry. Each vertex is defined by 3 position coordinates. Three consecutive vertices define one triangle.float
[
] positions : unrolled (x, y) coordinates
Method public static IGeometry
Create2D()
Create a new 2d geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y) coordinatesuint
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
Create2D()
Create a new 2d geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y) coordinatesushort
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
CreateWithUv2D()
Create a new 2d geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y) coordinatesfloat
[
] textureUv : unrolled (u, v) texture coordinatesuint
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
CreateWithUv2D()
Create a new 2d geometry. Each vertex is defined by 3 position coordinates. Three consecutive triangle elements define one triangle.float
[
] positions : unrolled (x, y) coordinatesfloat
[
] textureUv : unrolled (u, v) texture coordinatesushort
[
] triangles : unrolled list of vertex numbers
Method public static IGeometry
Create()
Create a new 3d 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 3d 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 3d 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 3d 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 3d 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 3d 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 3d 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 3d 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 3d 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 3d 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 3d 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 3d 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