Version:
2021.1
2020.2
2020.1
2019.2
2019.1
2018.3
Back to list
View :: getCurrentCamera
Synopsis
Returns the information of the current camera (used in the main viewer)
Script function
view.getCurrentCamera
() -> (
position
,
view
,
up
,
fovX
)
Return value
position
(
Point3
) : Position of the camera
view
(
Vector3
) : Direction of the camera view
up
(
Vector3
) : Up vector of the camera
fovX
(
Angle
) : Horizontal field of view of the camera