Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

AuRea 1.0.2

This enumeration defines the different types of primitive geometries that can be used when rendering a mesh in a graphics application.

A primitive is the basic building block for drawing shapes in computer graphics, such as points, lines, and triangles. This enum specifies how the vertices in a mesh should be interpreted to create the desired shapes.

Entries

Represents individual points in space.

Represents individual line segments, with each pair of vertices defining a separate line.

Similar to LineStrip, but additionally closes the loop by connecting the last vertex back to the first vertex.

Represents a series of connected lines.

Represents individual triangles, with every group of three vertices defining a separate triangle.

Represents a connected strip of triangles.

Represents a fan of triangles that share a common central vertex.

Properties

Returns a representation of an immutable list of all enum entries, in the order they're declared.

val value: Int

Inherited properties

expect val name: String
expect val ordinal: Int

Functions

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns an array containing the constants of this enum type, in the order they're declared.