Blender V4.5
OBJExportParams Struct Reference

#include <IO_wavefront_obj.hh>

Public Attributes

char filepath [FILE_MAX] = ""
 
char file_base_for_tests [FILE_MAX] = ""
 
char collection [MAX_IDPROP_NAME] = ""
 
const char * blen_filepath = nullptr
 
bool export_animation = false
 
int start_frame = INT_MIN
 
int end_frame = INT_MAX
 
eIOAxis forward_axis = IO_AXIS_NEGATIVE_Z
 
eIOAxis up_axis = IO_AXIS_Y
 
float global_scale = 1.0f
 
bool export_selected_objects = false
 
bool apply_modifiers = true
 
eEvaluationMode export_eval_mode = DAG_EVAL_VIEWPORT
 
bool export_uv = true
 
bool export_normals = true
 
bool export_colors = false
 
bool export_materials = true
 
bool export_triangulated_mesh = false
 
bool export_curves_as_nurbs = false
 
ePathReferenceMode path_mode = PATH_REFERENCE_AUTO
 
bool export_pbr_extensions = false
 
bool export_object_groups = false
 
bool export_material_groups = false
 
bool export_vertex_groups = false
 
bool export_smooth_groups = false
 
bool smooth_groups_bitflags = false
 
ReportListreports = nullptr
 

Detailed Description

Definition at line 25 of file IO_wavefront_obj.hh.

Member Data Documentation

◆ apply_modifiers

bool OBJExportParams::apply_modifiers = true

Definition at line 49 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::OBJMesh::OBJMesh().

◆ blen_filepath

const char* OBJExportParams::blen_filepath = nullptr

Full path to current blender file (used for comments in output).

Definition at line 33 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::export_frame().

◆ collection

char OBJExportParams::collection[MAX_IDPROP_NAME] = ""

Definition at line 30 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::exporter_main().

◆ end_frame

int OBJExportParams::end_frame = INT_MAX

The last frame to be exported.

Definition at line 40 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::exporter_main().

◆ export_animation

bool OBJExportParams::export_animation = false

Whether multiple frames should be exported.

Definition at line 36 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::exporter_main().

◆ export_colors

bool OBJExportParams::export_colors = false

Definition at line 53 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::write_mesh_objects().

◆ export_curves_as_nurbs

bool OBJExportParams::export_curves_as_nurbs = false

Definition at line 56 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::filter_supported_objects().

◆ export_eval_mode

eEvaluationMode OBJExportParams::export_eval_mode = DAG_EVAL_VIEWPORT

Definition at line 50 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::exporter_main().

◆ export_material_groups

bool OBJExportParams::export_material_groups = false

◆ export_materials

bool OBJExportParams::export_materials = true

◆ export_normals

bool OBJExportParams::export_normals = true

Definition at line 52 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::write_mesh_objects().

◆ export_object_groups

bool OBJExportParams::export_object_groups = false

Definition at line 61 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::OBJWriter::write_object_name().

◆ export_pbr_extensions

bool OBJExportParams::export_pbr_extensions = false

Definition at line 58 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::export_frame().

◆ export_selected_objects

bool OBJExportParams::export_selected_objects = false

Definition at line 48 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::filter_supported_objects().

◆ export_smooth_groups

bool OBJExportParams::export_smooth_groups = false

Definition at line 65 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::write_mesh_objects().

◆ export_triangulated_mesh

bool OBJExportParams::export_triangulated_mesh = false

Definition at line 55 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::OBJMesh::OBJMesh().

◆ export_uv

bool OBJExportParams::export_uv = true

Definition at line 51 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::write_mesh_objects().

◆ export_vertex_groups

bool OBJExportParams::export_vertex_groups = false

◆ file_base_for_tests

char OBJExportParams::file_base_for_tests[FILE_MAX] = ""

Pretend that destination file folder is this, if non-empty. Used only for tests.

Definition at line 29 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::export_frame().

◆ filepath

char OBJExportParams::filepath[FILE_MAX] = ""

Full path to the destination .OBJ file.

Definition at line 27 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::export_frame(), blender::io::obj::exporter_main(), and OBJ_export().

◆ forward_axis

eIOAxis OBJExportParams::forward_axis = IO_AXIS_NEGATIVE_Z

◆ global_scale

float OBJExportParams::global_scale = 1.0f

◆ path_mode

ePathReferenceMode OBJExportParams::path_mode = PATH_REFERENCE_AUTO

Definition at line 57 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::export_frame().

◆ reports

ReportList* OBJExportParams::reports = nullptr

◆ smooth_groups_bitflags

bool OBJExportParams::smooth_groups_bitflags = false

Definition at line 67 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::write_mesh_objects().

◆ start_frame

int OBJExportParams::start_frame = INT_MIN

The first frame to be exported.

Definition at line 38 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::exporter_main().

◆ up_axis

eIOAxis OBJExportParams::up_axis = IO_AXIS_Y

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