From 03cd8097e15c6cbf2ad85c443e6b17d82774c6bc Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sat, 13 Aug 2022 16:27:15 -0500 Subject: Move GLTF camera conversion code into GLTFCamera --- modules/gltf/doc_classes/GLTFCamera.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'modules/gltf/doc_classes') diff --git a/modules/gltf/doc_classes/GLTFCamera.xml b/modules/gltf/doc_classes/GLTFCamera.xml index b90abd105d..49efaa1564 100644 --- a/modules/gltf/doc_classes/GLTFCamera.xml +++ b/modules/gltf/doc_classes/GLTFCamera.xml @@ -10,6 +10,34 @@ https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-camera https://github.com/KhronosGroup/glTF-Tutorials/blob/master/gltfTutorial/gltfTutorial_015_SimpleCameras.md + + + + + + Creates a new GLTFCamera instance by parsing the given [Dictionary]. + + + + + + + Create a new GLTFCamera instance from the given Godot [Camera3D] node. + + + + + + Serializes this GLTFCamera instance into a [Dictionary]. + + + + + + Converts this GLTFCamera instance into a Godot [Camera3D] node. + + + The distance to the far culling boundary for this camera relative to its local Z axis, in meters. This maps to GLTF's [code]zfar[/code] property. -- cgit v1.2.3