Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene_api.c
| Show First 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | static void rna_Scene_alembic_export(Scene *scene, | ||||
| float shutter_close, | float shutter_close, | ||||
| bool selected_only, | bool selected_only, | ||||
| bool uvs, | bool uvs, | ||||
| bool normals, | bool normals, | ||||
| bool vcolors, | bool vcolors, | ||||
| bool apply_subdiv, | bool apply_subdiv, | ||||
| bool flatten_hierarchy, | bool flatten_hierarchy, | ||||
| bool visible_objects_only, | bool visible_objects_only, | ||||
| bool renderable_only, | |||||
| bool face_sets, | bool face_sets, | ||||
| bool use_subdiv_schema, | bool use_subdiv_schema, | ||||
| bool export_hair, | bool export_hair, | ||||
| bool export_particles, | bool export_particles, | ||||
| bool packuv, | bool packuv, | ||||
| float scale, | float scale, | ||||
| bool triangulate, | bool triangulate, | ||||
| int quad_method, | int quad_method, | ||||
| Show All 17 Lines | const struct AlembicExportParams params = { | ||||
| .selected_only = selected_only, | .selected_only = selected_only, | ||||
| .uvs = uvs, | .uvs = uvs, | ||||
| .normals = normals, | .normals = normals, | ||||
| .vcolors = vcolors, | .vcolors = vcolors, | ||||
| .apply_subdiv = apply_subdiv, | .apply_subdiv = apply_subdiv, | ||||
| .flatten_hierarchy = flatten_hierarchy, | .flatten_hierarchy = flatten_hierarchy, | ||||
| .visible_objects_only = visible_objects_only, | .visible_objects_only = visible_objects_only, | ||||
| .renderable_only = renderable_only, | |||||
| .face_sets = face_sets, | .face_sets = face_sets, | ||||
| .use_subdiv_schema = use_subdiv_schema, | .use_subdiv_schema = use_subdiv_schema, | ||||
| .export_hair = export_hair, | .export_hair = export_hair, | ||||
| .export_particles = export_particles, | .export_particles = export_particles, | ||||
| .packuv = packuv, | .packuv = packuv, | ||||
| .triangulate = triangulate, | .triangulate = triangulate, | ||||
| .quad_method = quad_method, | .quad_method = quad_method, | ||||
| .ngon_method = ngon_method, | .ngon_method = ngon_method, | ||||
| ▲ Show 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | # ifdef WITH_ALEMBIC | ||||
| RNA_def_boolean( | RNA_def_boolean( | ||||
| func, "apply_subdiv", 1, "Subsurfs as meshes", "Export subdivision surfaces as meshes"); | func, "apply_subdiv", 1, "Subsurfs as meshes", "Export subdivision surfaces as meshes"); | ||||
| RNA_def_boolean(func, "flatten", 0, "Flatten hierarchy", "Flatten hierarchy"); | RNA_def_boolean(func, "flatten", 0, "Flatten hierarchy", "Flatten hierarchy"); | ||||
| RNA_def_boolean(func, | RNA_def_boolean(func, | ||||
| "visible_objects_only", | "visible_objects_only", | ||||
| 0, | 0, | ||||
| "Visible layers only", | "Visible layers only", | ||||
| "Export only objects in visible layers"); | "Export only objects in visible layers"); | ||||
| RNA_def_boolean(func, | |||||
| "renderable_only", | |||||
| 0, | |||||
| "Renderable objects only", | |||||
| "Export only objects marked renderable in the outliner"); | |||||
| RNA_def_boolean(func, "face_sets", 0, "Facesets", "Export face sets"); | RNA_def_boolean(func, "face_sets", 0, "Facesets", "Export face sets"); | ||||
| RNA_def_boolean(func, | RNA_def_boolean(func, | ||||
| "subdiv_schema", | "subdiv_schema", | ||||
| 0, | 0, | ||||
| "Use Alembic subdivision Schema", | "Use Alembic subdivision Schema", | ||||
| "Use Alembic subdivision Schema"); | "Use Alembic subdivision Schema"); | ||||
| RNA_def_boolean( | RNA_def_boolean( | ||||
| func, "export_hair", 1, "Export Hair", "Exports hair particle systems as animated curves"); | func, "export_hair", 1, "Export Hair", "Exports hair particle systems as animated curves"); | ||||
| ▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines | |||||