Back to Filament

Projection

docs/android/dokka/filament-android/com.google.android.filament/-camera/-projection/index.md

1.75.01.4 KB
Original Source

//filament-android/com.google.android.filament/Camera/Projection

Projection

enum Projection

Denotes the projection type used by this camera.

See also

setProjection

Entries

PERSPECTIVE[main]
PERSPECTIVE
Perspective projection, objects get smaller as they are farther.
ORTHO[main]
ORTHO
Orthonormal projection, preserves distances.

Functions

NameSummary
valueOf[main]
open fun valueOf(name: String): Camera.Projection
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<Camera.Projection>
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.