focalLength( )
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
focalLength() : number;
Returns
Section titled “Returns”The focal length of the perspective projection of the node, or -1
if that of the device’s physical camera is used. The focal length is expressed as a fraction of half of the width of the device’s camera sensor.
Default value: -1