godot / 3.4 / classes / class_gltfcamera.html

GLTFCamera

Inherits: Resource < Reference < Object

Description

Note: This class is only compiled in editor builds. Run-time glTF loading and saving is not available in exported projects. References to GLTFCamera within a script will cause an error in an exported project.

Properties

Property Descriptions

float fov_size

Default

75.0

Setter

set_fov_size(value)

Getter

get_fov_size()

bool perspective

Default

true

Setter

set_perspective(value)

Getter

get_perspective()

float zfar

Default

4000.0

Setter

set_zfar(value)

Getter

get_zfar()

float znear

Default

0.05

Setter

set_znear(value)

Getter

get_znear()

© 2014–2022 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.4/classes/class_gltfcamera.html