Blender V5.0
blender::io::usd::USDExportParams Struct Reference

#include <usd.hh>

Public Attributes

bool export_animation = false
bool selected_objects_only = false
bool export_meshes = true
bool export_lights = true
bool export_cameras = true
bool export_curves = true
bool export_points = true
bool export_volumes = true
bool export_hair = true
bool export_uvmaps = true
bool rename_uvmaps = true
bool export_normals = true
bool export_mesh_colors = true
bool export_materials = true
bool export_armatures = true
bool export_shapekeys = true
bool only_deform_bones = false
bool convert_world_material = true
bool merge_parent_xform = false
bool use_instancing = false
bool export_custom_properties = true
bool author_blender_name = true
bool allow_unicode = true
eSubdivExportMode export_subdiv = USD_SUBDIV_BEST_MATCH
enum eEvaluationMode evaluation_mode = DAG_EVAL_VIEWPORT
bool generate_preview_surface = true
bool generate_materialx_network = true
bool export_textures = false
bool overwrite_textures = true
bool relative_paths = true
bool use_original_paths = false
bool triangulate_meshes = false
int quad_method = MOD_TRIANGULATE_QUAD_SHORTEDGE
int ngon_method = MOD_TRIANGULATE_NGON_BEAUTY
bool convert_orientation = false
enum eIOAxis forward_axis = eIOAxis::IO_AXIS_NEGATIVE_Z
enum eIOAxis up_axis = eIOAxis::IO_AXIS_Y
eUSDXformOpMode xform_op_mode = eUSDXformOpMode::USD_XFORM_OP_TRS
eUSDZTextureDownscaleSize usdz_downscale_size = eUSDZTextureDownscaleSize::USD_TEXTURE_SIZE_KEEP
int usdz_downscale_custom_size = 128
std::string root_prim_path = ""
char collection [MAX_ID_NAME - 2] = ""
char custom_properties_namespace [MAX_IDPROP_NAME] = ""
eUSDSceneUnits convert_scene_units = eUSDSceneUnits::USD_SCENE_UNITS_METERS
float custom_meters_per_unit = 1.0f
wmJobWorkerStatusworker_status = nullptr

Detailed Description

Definition at line 127 of file usd.hh.

Member Data Documentation

◆ allow_unicode

◆ author_blender_name

bool blender::io::usd::USDExportParams::author_blender_name = true

Definition at line 153 of file usd.hh.

◆ collection

char blender::io::usd::USDExportParams::collection[MAX_ID_NAME - 2] = ""

Definition at line 179 of file usd.hh.

Referenced by blender::io::usd::USD_export().

◆ convert_orientation

bool blender::io::usd::USDExportParams::convert_orientation = false

Definition at line 170 of file usd.hh.

◆ convert_scene_units

eUSDSceneUnits blender::io::usd::USDExportParams::convert_scene_units = eUSDSceneUnits::USD_SCENE_UNITS_METERS

Definition at line 182 of file usd.hh.

◆ convert_world_material

bool blender::io::usd::USDExportParams::convert_world_material = true

Definition at line 148 of file usd.hh.

◆ custom_meters_per_unit

float blender::io::usd::USDExportParams::custom_meters_per_unit = 1.0f

Definition at line 183 of file usd.hh.

◆ custom_properties_namespace

char blender::io::usd::USDExportParams::custom_properties_namespace[MAX_IDPROP_NAME] = ""

Definition at line 180 of file usd.hh.

◆ evaluation_mode

enum eEvaluationMode blender::io::usd::USDExportParams::evaluation_mode = DAG_EVAL_VIEWPORT

Definition at line 157 of file usd.hh.

Referenced by blender::io::hydra::MaterialData::init().

◆ export_animation

bool blender::io::usd::USDExportParams::export_animation = false

Definition at line 128 of file usd.hh.

◆ export_armatures

bool blender::io::usd::USDExportParams::export_armatures = true

Definition at line 144 of file usd.hh.

Referenced by blender::io::usd::USDHierarchyIterator::create_data_writer().

◆ export_cameras

bool blender::io::usd::USDExportParams::export_cameras = true

Definition at line 133 of file usd.hh.

Referenced by blender::io::usd::USDHierarchyIterator::create_data_writer().

◆ export_curves

bool blender::io::usd::USDExportParams::export_curves = true

Definition at line 134 of file usd.hh.

Referenced by blender::io::usd::USDHierarchyIterator::create_data_writer().

◆ export_custom_properties

bool blender::io::usd::USDExportParams::export_custom_properties = true

Definition at line 152 of file usd.hh.

◆ export_hair

bool blender::io::usd::USDExportParams::export_hair = true

Definition at line 137 of file usd.hh.

◆ export_lights

bool blender::io::usd::USDExportParams::export_lights = true

Definition at line 132 of file usd.hh.

Referenced by blender::io::usd::USDHierarchyIterator::create_data_writer().

◆ export_materials

bool blender::io::usd::USDExportParams::export_materials = true

Definition at line 142 of file usd.hh.

◆ export_mesh_colors

bool blender::io::usd::USDExportParams::export_mesh_colors = true

Definition at line 141 of file usd.hh.

◆ export_meshes

bool blender::io::usd::USDExportParams::export_meshes = true

Definition at line 131 of file usd.hh.

Referenced by blender::io::usd::USDHierarchyIterator::create_data_writer().

◆ export_normals

bool blender::io::usd::USDExportParams::export_normals = true

Definition at line 140 of file usd.hh.

◆ export_points

bool blender::io::usd::USDExportParams::export_points = true

Definition at line 135 of file usd.hh.

Referenced by blender::io::usd::USDHierarchyIterator::create_data_writer().

◆ export_shapekeys

bool blender::io::usd::USDExportParams::export_shapekeys = true

Definition at line 145 of file usd.hh.

◆ export_subdiv

eSubdivExportMode blender::io::usd::USDExportParams::export_subdiv = USD_SUBDIV_BEST_MATCH

Definition at line 156 of file usd.hh.

◆ export_textures

◆ export_uvmaps

bool blender::io::usd::USDExportParams::export_uvmaps = true

Definition at line 138 of file usd.hh.

◆ export_volumes

bool blender::io::usd::USDExportParams::export_volumes = true

Definition at line 136 of file usd.hh.

Referenced by blender::io::usd::USDHierarchyIterator::create_data_writer().

◆ forward_axis

enum eIOAxis blender::io::usd::USDExportParams::forward_axis = eIOAxis::IO_AXIS_NEGATIVE_Z

Definition at line 171 of file usd.hh.

◆ generate_materialx_network

bool blender::io::usd::USDExportParams::generate_materialx_network = true

Definition at line 160 of file usd.hh.

Referenced by blender::io::usd::create_usd_material().

◆ generate_preview_surface

bool blender::io::usd::USDExportParams::generate_preview_surface = true

Definition at line 159 of file usd.hh.

Referenced by blender::io::usd::create_usd_material().

◆ merge_parent_xform

bool blender::io::usd::USDExportParams::merge_parent_xform = false

Definition at line 149 of file usd.hh.

◆ ngon_method

int blender::io::usd::USDExportParams::ngon_method = MOD_TRIANGULATE_NGON_BEAUTY

Definition at line 168 of file usd.hh.

◆ only_deform_bones

bool blender::io::usd::USDExportParams::only_deform_bones = false

Definition at line 146 of file usd.hh.

◆ overwrite_textures

bool blender::io::usd::USDExportParams::overwrite_textures = true

Definition at line 162 of file usd.hh.

Referenced by blender::io::usd::export_texture().

◆ quad_method

int blender::io::usd::USDExportParams::quad_method = MOD_TRIANGULATE_QUAD_SHORTEDGE

Definition at line 167 of file usd.hh.

◆ relative_paths

bool blender::io::usd::USDExportParams::relative_paths = true

◆ rename_uvmaps

bool blender::io::usd::USDExportParams::rename_uvmaps = true

◆ root_prim_path

std::string blender::io::usd::USDExportParams::root_prim_path = ""

Definition at line 178 of file usd.hh.

Referenced by blender::io::usd::process_scene_graph_instances().

◆ selected_objects_only

bool blender::io::usd::USDExportParams::selected_objects_only = false

Definition at line 129 of file usd.hh.

◆ triangulate_meshes

bool blender::io::usd::USDExportParams::triangulate_meshes = false

Definition at line 166 of file usd.hh.

◆ up_axis

enum eIOAxis blender::io::usd::USDExportParams::up_axis = eIOAxis::IO_AXIS_Y

Definition at line 172 of file usd.hh.

◆ usdz_downscale_custom_size

int blender::io::usd::USDExportParams::usdz_downscale_custom_size = 128

Definition at line 176 of file usd.hh.

◆ usdz_downscale_size

eUSDZTextureDownscaleSize blender::io::usd::USDExportParams::usdz_downscale_size = eUSDZTextureDownscaleSize::USD_TEXTURE_SIZE_KEEP

Definition at line 175 of file usd.hh.

◆ use_instancing

bool blender::io::usd::USDExportParams::use_instancing = false

Definition at line 151 of file usd.hh.

◆ use_original_paths

bool blender::io::usd::USDExportParams::use_original_paths = false

Definition at line 164 of file usd.hh.

Referenced by blender::io::usd::get_tex_image_asset_filepath().

◆ worker_status

wmJobWorkerStatus* blender::io::usd::USDExportParams::worker_status = nullptr

Communication structure between the wmJob management code and the worker code. Currently used to generate safely reports from the worker thread.

Definition at line 187 of file usd.hh.

Referenced by blender::io::usd::export_texture().

◆ xform_op_mode

eUSDXformOpMode blender::io::usd::USDExportParams::xform_op_mode = eUSDXformOpMode::USD_XFORM_OP_TRS

Definition at line 173 of file usd.hh.


The documentation for this struct was generated from the following file: