Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RenderCamera

The camera object passed to renderer callbacks in RenderContext.

Read more...

Hierarchy

  • Object
    • RenderCamera

Index

Properties

center

center: ArrayLike<number>

The camera target ("look at") position in the internal Cartesian rendering coordinate system.

Read more...

constructor

constructor: Function

The initial value of Object.prototype.constructor is the standard built-in Object constructor.

eye

eye: ArrayLike<number>

The position of the camera in the internal Cartesian rendering coordinate system.

Read more...

far

far: number

The distance to the far plane.

Read more...

fovX

fovX: number

The horizontal field of view.

Read more...

fovY

fovY: number

The vertical field of view.

Read more...

near

near: number

The distance to the near plane.

Read more...

pixelRatio

pixelRatio: number

The render pixel ratio.

Read more...

projectionMatrix

projectionMatrix: ArrayLike<number>

A 4x4 matrix that defines the perspective projection transformation.

Read more...

up

up: ArrayLike<number>

The camera up vector.

Read more...

viewInverseTransposeMatrix

viewInverseTransposeMatrix: ArrayLike<number>

The inverse transpose of viewMatrix, used to transform normals from world space to camera space.

Read more...

viewMatrix

viewMatrix: ArrayLike<number>

A 4x4 matrix that transforms coordinates from world space to camera space.

Read more...

viewport

viewport: any

The viewport (x, y, width, height).

Read more...

Methods

hasOwnProperty

  • hasOwnProperty(v: PropertyKey): boolean
  • Determines whether an object has a property with the specified name.

    Parameters

    • v: PropertyKey

      A property name.

    Returns boolean

isPrototypeOf

  • isPrototypeOf(v: Object): boolean
  • Determines whether an object exists in another object's prototype chain.

    Parameters

    • v: Object

      Another object whose prototype chain is to be checked.

    Returns boolean

propertyIsEnumerable

  • propertyIsEnumerable(v: PropertyKey): boolean
  • Determines whether a specified property is enumerable.

    Parameters

    • v: PropertyKey

      A property name.

    Returns boolean

toLocaleString

  • toLocaleString(): string
  • Returns a date converted to a string using the current locale.

    Returns string

toString

  • toString(): string
  • Returns a string representation of an object.

    Returns string

valueOf

  • valueOf(): Object
  • Returns the primitive value of the specified object.

    Returns Object

Generated using TypeDoc