Re-exports§
pub use unity_game_object::gltforge_game_object_child;pub use unity_game_object::gltforge_game_object_child_count;pub use unity_game_object::gltforge_game_object_count;pub use unity_game_object::gltforge_game_object_mesh_count;pub use unity_game_object::gltforge_game_object_mesh_index;pub use unity_game_object::gltforge_game_object_name;pub use unity_game_object::gltforge_game_object_transform;pub use unity_gltf::UnityGltf;pub use unity_gltf::gltforge_load;pub use unity_gltf::gltforge_release;pub use unity_gltf::gltforge_retain;pub use unity_image::gltforge_image_bytes;pub use unity_image::gltforge_image_count;pub use unity_image::gltforge_image_name;pub use unity_image::gltforge_image_uri;pub use unity_mesh::gltforge_mesh_count;pub use unity_mesh::gltforge_mesh_index_format;pub use unity_mesh::gltforge_mesh_name;pub use unity_mesh::gltforge_mesh_normals;pub use unity_mesh::gltforge_mesh_positions;pub use unity_mesh::gltforge_mesh_tangents;pub use unity_mesh::gltforge_mesh_uv_channel_count;pub use unity_mesh::gltforge_mesh_uvs;pub use unity_mesh::gltforge_mesh_vertex_count;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_alpha_cutoff;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_alpha_mode;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_base_color_factor;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_base_color_texture;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_count;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_cull;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_emissive_factor;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_emissive_texture;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_metallic_factor;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_metallic_roughness_texture;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_name;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_normal_scale;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_normal_texture;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_occlusion_strength;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_occlusion_texture;pub use unity_pbr_metallic_roughness::gltforge_pbr_metallic_roughness_roughness_factor;pub use unity_scene::gltforge_root_game_object_count;pub use unity_scene::gltforge_root_game_object_index;pub use unity_scene::gltforge_scene_name;pub use unity_submesh::gltforge_mesh_submesh_count;pub use unity_submesh::gltforge_mesh_submesh_indices_u16;pub use unity_submesh::gltforge_mesh_submesh_indices_u32;pub use unity_submesh::gltforge_mesh_submesh_material;
Modules§
- convert
- error
- unity_
game_ object - unity_
gltf - unity_
image - unity_
indices - unity_
mesh - unity_
pbr_ metallic_ roughness - unity_
scene - unity_
submesh
Structs§
- Unity
Game Object - A Unity-shaped glTF node. References children and meshes by index, mirroring the glTF node structure.
- Unity
Image - A glTF image entry.
- Unity
Mesh - A Unity-shaped glTF mesh: one shared vertex array with N sub-meshes (one per glTF primitive).
Maps directly to a
UnityEngine.MeshwithsubMeshCountsub-meshes. - Unity
PbrMetallic Roughness - A glTF 2.0 PBR metallic-roughness material in Unity-ready form.
- Unity
SubMesh - A single glTF primitive converted to a Unity sub-mesh.
Indices are pre-offset to reference the shared vertex array on
crate::unity_mesh::UnityMesh. - Unity
Transform - The local transform of a Unity node, pre-converted to Unity’s left-handed coordinate system.
Enums§
- Unity
Indices - Index buffer format, selected per primitive based on vertex count.
Constants§
- ALPHA_
MODE_ BLEND - ALPHA_
MODE_ MASK - ALPHA_
MODE_ OPAQUE - Alpha mode constants for
UnityPbrMetallicRoughness::alpha_mode. - IDENTITY