Skip to content

Class: CameraUtil

Camera3D tool class

Constructors

Methods

Constructors

constructor

new CameraUtil(): CameraUtil

Returns

CameraUtil

Methods

createCamera3DObject

createCamera3DObject(parent?, name?): Camera3D

create a Camera3D component

Parameters

NameTypeDescription
parent?Object3Dparent object3D
name?stringset name to the owner of this camera3D

Returns

Camera3D

Defined in

src/util/CameraUtil.ts:18

Released under the MIT License