Camera
Defined in: radiance/src/cameras/Camera.ts:4
What a renderer looks through. It looks down its own -z axis, with +y up.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Camera():
Camera
Returns
Section titled “Returns”Camera
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”children
Section titled “children”
readonlychildren:Object3D[] =[]
Defined in: radiance/src/core/Object3D.ts:21
Inherited from
Section titled “Inherited from”
readonlyid:number
Defined in: radiance/src/core/Object3D.ts:13
Inherited from
Section titled “Inherited from”isCamera
Section titled “isCamera”
readonlyisCamera:true=true
Defined in: radiance/src/cameras/Camera.ts:5
matrix
Section titled “matrix”
readonlymatrix:Matrix4
Defined in: radiance/src/core/Object3D.ts:18
Inherited from
Section titled “Inherited from”matrixWorld
Section titled “matrixWorld”
readonlymatrixWorld:Matrix4
Defined in: radiance/src/core/Object3D.ts:19
Inherited from
Section titled “Inherited from”name:
string=''
Defined in: radiance/src/core/Object3D.ts:14
Inherited from
Section titled “Inherited from”parent
Section titled “parent”parent:
Object3D|null=null
Defined in: radiance/src/core/Object3D.ts:20
Inherited from
Section titled “Inherited from”position
Section titled “position”
readonlyposition:Vector3
Defined in: radiance/src/core/Object3D.ts:15
Inherited from
Section titled “Inherited from”rotation
Section titled “rotation”
readonlyrotation:Euler
Defined in: radiance/src/core/Object3D.ts:16
Inherited from
Section titled “Inherited from”
readonlyscale:Vector3
Defined in: radiance/src/core/Object3D.ts:17
Inherited from
Section titled “Inherited from”visible
Section titled “visible”visible:
boolean=true
Defined in: radiance/src/core/Object3D.ts:23
Hidden objects and their children are left out of the render.
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”add(…
objects):this
Defined in: radiance/src/core/Object3D.ts:25
Parameters
Section titled “Parameters”objects
Section titled “objects”…Object3D[]
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”lookAt()
Section titled “lookAt()”lookAt(
target):this
Defined in: radiance/src/core/Object3D.ts:71
Turn so that the object’s -z axis points at target (in its parent’s space), with no roll:
how a camera is aimed. Straight up or down keeps the current yaw.
Parameters
Section titled “Parameters”target
Section titled “target”Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”remove()
Section titled “remove()”remove(…
objects):this
Defined in: radiance/src/core/Object3D.ts:35
Parameters
Section titled “Parameters”objects
Section titled “objects”…Object3D[]
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”traverse()
Section titled “traverse()”traverse(
fn):void
Defined in: radiance/src/core/Object3D.ts:47
Call fn on this object and every descendant, parents first.
Parameters
Section titled “Parameters”(o) => void
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”traverseVisible()
Section titled “traverseVisible()”traverseVisible(
fn):void
Defined in: radiance/src/core/Object3D.ts:53
Like traverse, but skipping hidden objects and what is under them.
Parameters
Section titled “Parameters”(o) => void
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”updateMatrixWorld()
Section titled “updateMatrixWorld()”updateMatrixWorld():
void
Defined in: radiance/src/core/Object3D.ts:60
Recompute matrix from position, rotation and scale, and matrixWorld down the tree.
Returns
Section titled “Returns”void