100 class BCExportSettings {
104 BlenderContext &blender_context;
108 BCExportSettings(
ExportSettings *exportSettings, BlenderContext &blenderContext)
109 : export_settings(*exportSettings),
110 blender_context(blenderContext),
111 global_transform(
BCMatrix(exportSettings->global_forward, exportSettings->global_up))
116 const BCMatrix &get_global_transform()
118 return global_transform;
121 bool get_apply_modifiers()
136 bool get_apply_global_orientation()
151 bool get_include_children()
156 bool get_include_armatures()
161 bool get_include_shapekeys()
166 bool get_deform_bones_only()
171 bool get_include_animations()
176 bool get_include_all_actions()
181 int get_sampling_rate()
186 bool get_keep_smooth_curves()
191 bool get_keep_keyframes()
196 bool get_keep_flat_curves()
201 bool get_active_uv_only()
211 bool get_use_texture_copies()
216 bool get_triangulate()
221 bool get_use_object_instantiation()
226 bool get_use_blender_profile()
231 bool get_sort_by_name()
251 bool get_limit_precision()
256 bool get_keep_bind_info()
271 BlenderContext &get_blender_context()
273 return blender_context;
278 return blender_context.get_scene();
283 return blender_context.get_view_layer();
286 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