Projection

gdext.builtin.Projection
See theProjection companion class
object Projection

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Projection.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(): Projection
def createDepthCorrection(flipY: Boolean): Projection
def createForHmd(eye: Long, aspect: Float, intraocularDist: Float, displayWidth: Float, displayToLens: Float, oversample: Float, zNear: Float, zFar: Float): Projection
def createFrustum(left: Float, right: Float, bottom: Float, top: Float, zNear: Float, zFar: Float): Projection
def createFrustumAspect(size: Float, aspect: Float, offset: Vector2, zNear: Float, zFar: Float, flipFov: Boolean = ...): Projection
def createOrthogonal(left: Float, right: Float, bottom: Float, top: Float, zNear: Float, zFar: Float): Projection
def createOrthogonalAspect(size: Float, aspect: Float, zNear: Float, zFar: Float, flipFov: Boolean = ...): Projection
def createPerspective(fovy: Float, aspect: Float, zNear: Float, zFar: Float, flipFov: Boolean = ...): Projection
def createPerspectiveHmd(fovy: Float, aspect: Float, zNear: Float, zFar: Float, flipFov: Boolean, eye: Long, intraocularDist: Float, convergenceDist: Float): Projection
def fromArray(m: Array[Float]): Projection

From 16 elements in column-major order.

From 16 elements in column-major order.

Attributes

def getFovy(fovx: Float, aspect: Float): Float

Concrete fields