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) coordinates
  • uint[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) coordinates
  • ushort[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) coordinates
  • float[textureUv : unrolled (u, v) texture coordinates
  • uint[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) coordinates
  • float[textureUv : unrolled (u, v) texture coordinates
  • ushort[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) coordinates
  • float[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) coordinates
  • uint[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) coordinates
  • ushort[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) coordinates
  • float[normals : unrolled (x, y, z) coordinates
  • uint[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) coordinates
  • float[normals : unrolled (x, y, z) coordinates
  • ushort[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) coordinates
  • float[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) coordinates
  • float[normals : unrolled (x, y, z) coordinates
  • float[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) coordinates
  • float[textureUv : unrolled (u, v) texture coordinates
  • uint[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) coordinates
  • float[textureUv : unrolled (u, v) texture coordinates
  • ushort[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) coordinates
  • float[normals : unrolled (x, y, z) coordinates
  • float[textureUv : unrolled (u, v) texture coordinates
  • uint[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) coordinates
  • float[normals : unrolled (x, y, z) coordinates
  • float[textureUv : unrolled (u, v) texture coordinates
  • ushort[triangles : unrolled list of vertex numbers