GLTFState

Inherits: Resource < RefCounted < Object

Inherited By: FBXState

There is currently no description for this class. Please help us by contributing one!

Properties

float

bake_fps

30.0

String

base_path

""

PackedByteArray[]

buffers

[]

String

copyright

""

bool

create_animations

true

String

filename

""

PackedByteArray

glb_data

PackedByteArray()

bool

import_as_skeleton_bones

false

Dictionary

json

{}

int

major_version

0

int

minor_version

0

PackedInt32Array

root_nodes

PackedInt32Array()

String

scene_name

""

bool

use_named_skin_binds

false

Methods

void

add_used_extension ( String extension_name, bool required )

int

append_data_to_buffers ( PackedByteArray data, bool deduplication )

GLTFAccessor[]

get_accessors ( )

Variant

get_additional_data ( StringName extension_name )

AnimationPlayer

get_animation_player ( int idx )

int

get_animation_players_count ( int idx )

GLTFAnimation[]

get_animations ( )

GLTFBufferView[]

get_buffer_views ( )

GLTFCamera[]

get_cameras ( )

int

get_handle_binary_image ( )

Texture2D[]

get_images ( )

GLTFLight[]

get_lights ( )

Material[]

get_materials ( )

GLTFMesh[]

get_meshes ( )

int

get_node_index ( Node scene_node )

GLTFNode[]

get_nodes ( )

Node

get_scene_node ( int idx )

GLTFSkeleton[]

get_skeletons ( )

GLTFSkin[]

get_skins ( )

GLTFTextureSampler[]

get_texture_samplers ( )

GLTFTexture[]

get_textures ( )

String[]

get_unique_animation_names ( )

String[]

get_unique_names ( )

void

set_accessors ( GLTFAccessor[] accessors )

void

set_additional_data ( StringName extension_name, Variant additional_data )

void

set_animations ( GLTFAnimation[] animations )

void

set_buffer_views ( GLTFBufferView[] buffer_views )

void

set_cameras ( GLTFCamera[] cameras )

void

set_handle_binary_image ( int method )

void

set_images ( Texture2D[] images )

void

set_lights ( GLTFLight[] lights )

void

set_materials ( Material[] materials )

void

set_meshes ( GLTFMesh[] meshes )

void

set_nodes ( GLTFNode[] nodes )

void

set_skeletons ( GLTFSkeleton[] skeletons )

void

set_skins ( GLTFSkin[] skins )

void

set_texture_samplers ( GLTFTextureSampler[] texture_samplers )

void

set_textures ( GLTFTexture[] textures )

void

set_unique_animation_names ( String[] unique_animation_names )

void

set_unique_names ( String[] unique_names )


Constants

HANDLE_BINARY_DISCARD_TEXTURES = 0

There is currently no description for this constant. Please help us by contributing one!

HANDLE_BINARY_EXTRACT_TEXTURES = 1

There is currently no description for this constant. Please help us by contributing one!

HANDLE_BINARY_EMBED_AS_BASISU = 2

There is currently no description for this constant. Please help us by contributing one!

HANDLE_BINARY_EMBED_AS_UNCOMPRESSED = 3

There is currently no description for this constant. Please help us by contributing one!


Property Descriptions

float bake_fps = 30.0

  • void set_bake_fps ( float value )

  • float get_bake_fps ( )

There is currently no description for this property. Please help us by contributing one!


String base_path = ""

  • void set_base_path ( String value )

  • String get_base_path ( )

There is currently no description for this property. Please help us by contributing one!


PackedByteArray[] buffers = []

There is currently no description for this property. Please help us by contributing one!


  • void set_copyright ( String value )

  • String get_copyright ( )

There is currently no description for this property. Please help us by contributing one!


bool create_animations = true

  • void set_create_animations ( bool value )

  • bool get_create_animations ( )

There is currently no description for this property. Please help us by contributing one!


String filename = ""

  • void set_filename ( String value )

  • String get_filename ( )

There is currently no description for this property. Please help us by contributing one!


PackedByteArray glb_data = PackedByteArray()

There is currently no description for this property. Please help us by contributing one!


bool import_as_skeleton_bones = false

  • void set_import_as_skeleton_bones ( bool value )

  • bool get_import_as_skeleton_bones ( )

There is currently no description for this property. Please help us by contributing one!


Dictionary json = {}

There is currently no description for this property. Please help us by contributing one!


int major_version = 0

  • void set_major_version ( int value )

  • int get_major_version ( )

There is currently no description for this property. Please help us by contributing one!


int minor_version = 0

  • void set_minor_version ( int value )

  • int get_minor_version ( )

There is currently no description for this property. Please help us by contributing one!


PackedInt32Array root_nodes = PackedInt32Array()

There is currently no description for this property. Please help us by contributing one!


String scene_name = ""

  • void set_scene_name ( String value )

  • String get_scene_name ( )

There is currently no description for this property. Please help us by contributing one!


bool use_named_skin_binds = false

  • void set_use_named_skin_binds ( bool value )

  • bool get_use_named_skin_binds ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_used_extension ( String extension_name, bool required )

There is currently no description for this method. Please help us by contributing one!


int append_data_to_buffers ( PackedByteArray data, bool deduplication )

There is currently no description for this method. Please help us by contributing one!


GLTFAccessor[] get_accessors ( )

There is currently no description for this method. Please help us by contributing one!


Variant get_additional_data ( StringName extension_name )

There is currently no description for this method. Please help us by contributing one!


AnimationPlayer get_animation_player ( int idx )

There is currently no description for this method. Please help us by contributing one!


int get_animation_players_count ( int idx )

There is currently no description for this method. Please help us by contributing one!


GLTFAnimation[] get_animations ( )

There is currently no description for this method. Please help us by contributing one!


GLTFBufferView[] get_buffer_views ( )

There is currently no description for this method. Please help us by contributing one!


GLTFCamera[] get_cameras ( )

There is currently no description for this method. Please help us by contributing one!


int get_handle_binary_image ( )

There is currently no description for this method. Please help us by contributing one!


Texture2D[] get_images ( )

There is currently no description for this method. Please help us by contributing one!


GLTFLight[] get_lights ( )

There is currently no description for this method. Please help us by contributing one!


Material[] get_materials ( )

There is currently no description for this method. Please help us by contributing one!


GLTFMesh[] get_meshes ( )

There is currently no description for this method. Please help us by contributing one!


int get_node_index ( Node scene_node )

There is currently no description for this method. Please help us by contributing one!


GLTFNode[] get_nodes ( )

There is currently no description for this method. Please help us by contributing one!


Node get_scene_node ( int idx )

There is currently no description for this method. Please help us by contributing one!


GLTFSkeleton[] get_skeletons ( )

There is currently no description for this method. Please help us by contributing one!


GLTFSkin[] get_skins ( )

There is currently no description for this method. Please help us by contributing one!


GLTFTextureSampler[] get_texture_samplers ( )

There is currently no description for this method. Please help us by contributing one!


GLTFTexture[] get_textures ( )

There is currently no description for this method. Please help us by contributing one!


String[] get_unique_animation_names ( )

There is currently no description for this method. Please help us by contributing one!


String[] get_unique_names ( )

There is currently no description for this method. Please help us by contributing one!


void set_accessors ( GLTFAccessor[] accessors )

There is currently no description for this method. Please help us by contributing one!


void set_additional_data ( StringName extension_name, Variant additional_data )

There is currently no description for this method. Please help us by contributing one!


void set_animations ( GLTFAnimation[] animations )

There is currently no description for this method. Please help us by contributing one!


void set_buffer_views ( GLTFBufferView[] buffer_views )

There is currently no description for this method. Please help us by contributing one!


void set_cameras ( GLTFCamera[] cameras )

There is currently no description for this method. Please help us by contributing one!


void set_handle_binary_image ( int method )

There is currently no description for this method. Please help us by contributing one!


void set_images ( Texture2D[] images )

There is currently no description for this method. Please help us by contributing one!


void set_lights ( GLTFLight[] lights )

There is currently no description for this method. Please help us by contributing one!


void set_materials ( Material[] materials )

There is currently no description for this method. Please help us by contributing one!


void set_meshes ( GLTFMesh[] meshes )

There is currently no description for this method. Please help us by contributing one!


void set_nodes ( GLTFNode[] nodes )

There is currently no description for this method. Please help us by contributing one!


void set_skeletons ( GLTFSkeleton[] skeletons )

There is currently no description for this method. Please help us by contributing one!


void set_skins ( GLTFSkin[] skins )

There is currently no description for this method. Please help us by contributing one!


void set_texture_samplers ( GLTFTextureSampler[] texture_samplers )

There is currently no description for this method. Please help us by contributing one!


void set_textures ( GLTFTexture[] textures )

There is currently no description for this method. Please help us by contributing one!


void set_unique_animation_names ( String[] unique_animation_names )

There is currently no description for this method. Please help us by contributing one!


void set_unique_names ( String[] unique_names )

There is currently no description for this method. Please help us by contributing one!