Back to Filament

VertexDomain

docs/android/dokka/filament-android/com.google.android.filament/-material/-vertex-domain/index.md

1.75.01.7 KB
Original Source

//filament-android/com.google.android.filament/Material/VertexDomain

VertexDomain

enum VertexDomain

Supported types of vertex domains

See also

<a href="https://google.github.io/filament/Materials.html#materialdefinitions/materialblock/vertexandattributes:vertexdomain">Vertex and attributes: vertexDomain

Entries

OBJECT[main]
OBJECT
Vertices are in object space, default.
WORLD[main]
WORLD
Vertices are in world space.
VIEW[main]
VIEW
Vertices are in view space.
DEVICE[main]
DEVICE
Vertices are in normalized device space.

Functions

NameSummary
valueOf[main]
open fun valueOf(name: String): Material.VertexDomain
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.)
values[main]
open fun values(): Array<Material.VertexDomain>
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.