86 class BCExportSettings {
90 BlenderContext &blender_context;
94 BCExportSettings(
ExportSettings *exportSettings, BlenderContext &blenderContext)
95 : export_settings(*exportSettings),
96 blender_context(blenderContext),
97 global_transform(
BCMatrix(exportSettings->global_forward, exportSettings->global_up))
102 const BCMatrix &get_global_transform()
104 return global_transform;
107 bool get_apply_modifiers()
122 bool get_apply_global_orientation()
137 bool get_include_children()
142 bool get_include_armatures()
147 bool get_include_shapekeys()
152 bool get_deform_bones_only()
157 bool get_include_animations()
162 bool get_include_all_actions()
167 int get_sampling_rate()
172 bool get_keep_smooth_curves()
177 bool get_keep_keyframes()
182 bool get_keep_flat_curves()
187 bool get_active_uv_only()
197 bool get_use_texture_copies()
202 bool get_triangulate()
207 bool get_use_object_instantiation()
212 bool get_use_blender_profile()
217 bool get_sort_by_name()
237 bool get_limit_precision()
242 bool get_keep_bind_info()
257 BlenderContext &get_blender_context()
259 return blender_context;
264 return blender_context.get_scene();
269 return blender_context.get_view_layer();
272 bool is_export_root(
Object *ob)
void bc_get_children(std::vector< Object * > &child_set, Object *ob, ViewLayer *view_layer)
bool bc_is_base_node(LinkNode *export_set, Object *ob, ViewLayer *view_layer)
@ BC_ANIMATION_EXPORT_KEYS
@ BC_ANIMATION_EXPORT_SAMPLES
@ BC_UI_SECTION_ANIMATION
struct ExportSettings ExportSettings
BC_export_transformation_type
@ BC_TRANSFORMATION_TYPE_MATRIX
@ BC_TRANSFORMATION_TYPE_DECOMPOSED
bool use_object_instantiation
BC_export_animation_type export_animation_type
bool apply_global_orientation
BC_global_forward_axis global_forward
BC_export_transformation_type animation_transformation_type
BC_export_transformation_type object_transformation_type
BC_export_mesh_type export_mesh_type
BC_global_up_axis global_up