pub struct GltfExporter {Show 64 fields
pub export_import_convert_lighting_mode: String,
pub gltf_export_id: String,
pub export_format: String,
pub ui_tab: String,
pub export_copyright: String,
pub export_image_format: String,
pub export_texture_dir: String,
pub export_jpeg_quality: u32,
pub export_keep_originals: bool,
pub export_texcoords: bool,
pub export_normals: bool,
pub export_draco_mesh_compression_enable: bool,
pub export_draco_mesh_compression_level: u32,
pub export_draco_position_quantization: u32,
pub export_draco_normal_quantization: u32,
pub export_draco_texcoord_quantization: u32,
pub export_draco_color_quantization: u32,
pub export_draco_generic_quantization: u32,
pub export_tangents: bool,
pub export_materials: String,
pub export_original_specular: bool,
pub export_colors: bool,
pub export_attributes: bool,
pub use_mesh_edges: bool,
pub use_mesh_vertices: bool,
pub export_cameras: bool,
pub use_selection: bool,
pub use_visible: bool,
pub use_renderable: bool,
pub use_active_collection_with_nested: bool,
pub use_active_collection: bool,
pub use_active_scene: bool,
pub export_extras: bool,
pub export_yup: bool,
pub export_apply: bool,
pub export_animations: bool,
pub export_frame_range: bool,
pub export_frame_step: u32,
pub export_force_sampling: bool,
pub export_animation_mode: String,
pub export_nla_strips_merged_animation_name: String,
pub export_def_bones: bool,
pub export_hierarchy_flatten_bones: bool,
pub export_optimize_animation_size: bool,
pub export_optimize_animation_keep_anim_armature: bool,
pub export_optimize_animation_keep_anim_object: bool,
pub export_negative_frame: String,
pub export_anim_slide_to_zero: bool,
pub export_bake_animation: bool,
pub export_anim_single_armature: bool,
pub export_reset_pose_bones: bool,
pub export_current_frame: bool,
pub export_rest_position_armature: bool,
pub export_anim_scene_split_object: bool,
pub export_skins: bool,
pub export_all_influences: bool,
pub export_morph: bool,
pub export_morph_normal: bool,
pub export_morph_tangent: bool,
pub export_morph_animation: bool,
pub export_morph_reset_sk_data: bool,
pub export_lights: bool,
pub export_nla_strips: bool,
pub will_save_settings: bool,
}Expand description
Fields§
§export_import_convert_lighting_mode: String§gltf_export_id: String§export_format: String§ui_tab: String§export_copyright: String§export_image_format: String§export_texture_dir: String§export_jpeg_quality: u32§export_keep_originals: bool§export_texcoords: bool§export_normals: bool§export_draco_mesh_compression_enable: bool§export_draco_mesh_compression_level: u32§export_draco_position_quantization: u32§export_draco_normal_quantization: u32§export_draco_texcoord_quantization: u32§export_draco_color_quantization: u32§export_draco_generic_quantization: u32§export_tangents: bool§export_materials: String§export_original_specular: bool§export_colors: bool§export_attributes: bool§use_mesh_edges: bool§use_mesh_vertices: bool§export_cameras: bool§use_selection: bool§use_visible: bool§use_renderable: bool§use_active_collection_with_nested: bool§use_active_collection: bool§use_active_scene: bool§export_extras: bool§export_yup: bool§export_apply: bool§export_animations: bool§export_frame_range: bool§export_frame_step: u32§export_force_sampling: bool§export_animation_mode: String§export_nla_strips_merged_animation_name: String§export_def_bones: bool§export_hierarchy_flatten_bones: bool§export_optimize_animation_size: bool§export_optimize_animation_keep_anim_armature: bool§export_optimize_animation_keep_anim_object: bool§export_negative_frame: String§export_anim_slide_to_zero: bool§export_bake_animation: bool§export_anim_single_armature: bool§export_reset_pose_bones: bool§export_current_frame: bool§export_rest_position_armature: bool§export_anim_scene_split_object: bool§export_skins: bool§export_all_influences: bool§export_morph: bool§export_morph_normal: bool§export_morph_tangent: bool§export_morph_animation: bool§export_morph_reset_sk_data: bool§export_lights: bool§export_nla_strips: bool§will_save_settings: boolImplementations§
Source§impl GltfExporter
impl GltfExporter
pub fn configure(self) -> GltfExporterBuilder
pub fn builder() -> GltfExporterBuilder
Trait Implementations§
Source§impl BlendExport for GltfExporter
impl BlendExport for GltfExporter
Source§impl Clone for GltfExporter
impl Clone for GltfExporter
Source§fn clone(&self) -> GltfExporter
fn clone(&self) -> GltfExporter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GltfExporter
impl Debug for GltfExporter
Source§impl Default for GltfExporter
impl Default for GltfExporter
Source§impl From<GltfExporter> for GltfExporterBuilder
impl From<GltfExporter> for GltfExporterBuilder
Source§fn from(value: GltfExporter) -> Self
fn from(value: GltfExporter) -> Self
Converts to this type from the input type.
Source§impl From<GltfExporter> for Py<PyDict>where
GltfExporter: IntoPyDict,
impl From<GltfExporter> for Py<PyDict>where
GltfExporter: IntoPyDict,
Source§fn from(value: GltfExporter) -> Self
fn from(value: GltfExporter) -> Self
Converts to this type from the input type.
Source§impl IntoPyDict for GltfExporter
impl IntoPyDict for GltfExporter
Source§fn into_py_dict(self, py: Python<'_>) -> &PyDict
fn into_py_dict(self, py: Python<'_>) -> &PyDict
Converts self into a
PyDict object pointer. Whether pointer owned or borrowed
depends on implementation.Auto Trait Implementations§
impl Freeze for GltfExporter
impl RefUnwindSafe for GltfExporter
impl Send for GltfExporter
impl Sync for GltfExporter
impl Unpin for GltfExporter
impl UnsafeUnpin for GltfExporter
impl UnwindSafe for GltfExporter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.