new Camera(
location?,target?,up?,name?):Camera
Creates camera.
The provided points and directions are copied.
Camera location.
Camera target point.
Camera up direction.
string
Camera name.
Camera
get id():
bigint
Returns the unique identifier of the object.
bigint
get location():
Point
Returns the location of the camera.
set location(
location):void
Sets the location of the camera.
Location to assign to the camera.
void
get name():
string|null
Returns the name of the camera.
string | null
set name(
name):void
Sets the name of the camera.
string | null
Name to assign to the camera.
void
get target():
Point
Returns the target of the camera.
set target(
target):void
Sets the target of the camera.
Target to assign to the camera.
void
get up():
Direction
Returns the up direction of the camera.
set up(
up):void
Sets the up direction of the camera.
Up direction to assign to the camera.
void