class

Godot::GLTFDocument

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

append_from_buffer(bytes : Pointer(Void), base_path : String, state : GLTFState, flags : Int64) : Int64
Source
append_from_file(path : String, state : GLTFState, flags : Int64, base_path : String) : Int64
Source
append_from_scene(node : Node, state : GLTFState, flags : Int64) : Int64
Source
export_object_model_property(state : GLTFState, node_path : NodePath, godot_node : Node, gltf_node_index : Int64) : GLTFObjectModelProperty
Source
fallback_image_format

Property fallback_image_format getter

Source
fallback_image_format=(val)

Property fallback_image_format setter

Source
fallback_image_quality

Property fallback_image_quality getter

Source
fallback_image_quality=(val : Number)

Property fallback_image_quality setter

Source
generate_buffer(state : GLTFState) : Pointer(Void)
Source
generate_scene(state : GLTFState, bake_fps : Float64, trimming : Bool, remove_immutable_tracks : Bool) : Node
Source
get_fallback_image_format
Source
get_fallback_image_quality
Source
get_image_format
Source
get_lossy_quality
Source
get_root_node_mode
Source
get_supported_gltf_extensions
Source
get_texture_map_mode
Source
get_visibility_mode
Source
image_format

Property image_format getter

Source
image_format=(val)

Property image_format setter

Source
import_object_model_property(state : GLTFState, json_pointer : String) : GLTFObjectModelProperty
Source
lossy_quality

Property lossy_quality getter

Source
lossy_quality=(val : Number)

Property lossy_quality setter

Source
register_gltf_document_extension(extension : GLTFDocumentExtension, first_priority : Bool) : Void
Source
root_node_mode

Property root_node_mode getter

Source
root_node_mode=(val : Int)

Property root_node_mode setter

Source
set_fallback_image_format(fallback_image_format : String) : Void
Source
set_fallback_image_quality(fallback_image_quality : Float64) : Void
Source
set_image_format(image_format : String) : Void
Source
set_lossy_quality(lossy_quality : Float64) : Void
Source
set_root_node_mode(root_node_mode : Int64) : Void
Source
set_texture_map_mode(texture_map_mode : Int64) : Void
Source
set_visibility_mode(visibility_mode : Int64) : Void
Source
texture_map_mode

Property texture_map_mode getter

Source
texture_map_mode=(val : Int)

Property texture_map_mode setter

Source
unregister_gltf_document_extension(extension : GLTFDocumentExtension) : Void
Source
visibility_mode

Property visibility_mode getter

Source
visibility_mode=(val : Int)

Property visibility_mode setter

Source
write_to_filesystem(state : GLTFState, path : String) : Int64
Source

Nested types