Perspective
View sourceIdentifies a PerspectiveProjection value.
Enum
Identifies the built-in projection variant stored in a projection’s type
field.
Compare a projection’s type field with these values when code needs to
distinguish PerspectiveProjection from
OrthographicProjection.
import { PerspectiveProjection, ProjectionType } from '@wimaengine/render-core'
const projection = new PerspectiveProjection()
const isPerspective = projection.type === ProjectionType.PerspectiveIdentifies a PerspectiveProjection value.
Identifies an OrthographicProjection value.