91class BCExportSettings {
95 BlenderContext &blender_context;
99 BCExportSettings(
ExportSettings *exportSettings, BlenderContext &blenderContext)
100 : export_settings(*exportSettings),
101 blender_context(blenderContext),
102 global_transform(
BCMatrix(exportSettings->global_forward, exportSettings->global_up))
106 const BCMatrix &get_global_transform()
108 return global_transform;
111 bool get_apply_modifiers()
126 bool get_apply_global_orientation()
141 bool get_include_children()
146 bool get_include_armatures()
151 bool get_include_shapekeys()
156 bool get_deform_bones_only()
161 bool get_include_animations()
166 bool get_include_all_actions()
171 int get_sampling_rate()
176 bool get_keep_smooth_curves()
181 bool get_keep_keyframes()
186 bool get_keep_flat_curves()
191 bool get_active_uv_only()
201 bool get_use_texture_copies()
206 bool get_triangulate()
211 bool get_use_object_instantiation()
216 bool get_use_blender_profile()
221 bool get_sort_by_name()
241 bool get_limit_precision()
246 bool get_keep_bind_info()
261 BlenderContext &get_blender_context()
263 return blender_context;
268 return blender_context.get_scene();
273 return blender_context.get_view_layer();
276 bool is_export_root(
Object *ob)
278 return bc_is_base_node(get_export_set(), ob, get_scene(), get_view_layer());
bool bc_is_base_node(LinkNode *export_set, Object *ob, const Scene *scene, ViewLayer *view_layer)
void bc_get_children(std::vector< Object * > &child_set, Object *ob, const Scene *scene, 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