Blender V5.3
blender::OBJExportParams Struct Reference

#include <IO_wavefront_obj.hh>

Public Attributes

char filepath [FILE_MAX] = ""
char file_base_for_tests [FILE_MAX] = ""
char collection [MAX_ID_NAME - 2] = ""
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
bool apply_transform = 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
ReportList * reports = nullptr

Detailed Description

Definition at line 27 of file IO_wavefront_obj.hh.

Member Data Documentation

◆ apply_modifiers

bool blender::OBJExportParams::apply_modifiers = true

Definition at line 51 of file IO_wavefront_obj.hh.

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

◆ apply_transform

bool blender::OBJExportParams::apply_transform = true

Definition at line 52 of file IO_wavefront_obj.hh.

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

◆ blen_filepath

const char* blender::OBJExportParams::blen_filepath = nullptr

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

Definition at line 35 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::OBJExportRegressionTest::compare_obj_export_to_golden(), and blender::io::obj::write_materials().

◆ collection

char blender::OBJExportParams::collection[MAX_ID_NAME - 2] = ""

Definition at line 32 of file IO_wavefront_obj.hh.

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

◆ end_frame

int blender::OBJExportParams::end_frame = INT_MAX

The last frame to be exported.

Definition at line 42 of file IO_wavefront_obj.hh.

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

◆ export_animation

bool blender::OBJExportParams::export_animation = false

Whether multiple frames should be exported.

Definition at line 38 of file IO_wavefront_obj.hh.

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

◆ export_colors

bool blender::OBJExportParams::export_colors = false

Definition at line 56 of file IO_wavefront_obj.hh.

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

◆ export_curves_as_nurbs

bool blender::OBJExportParams::export_curves_as_nurbs = false

◆ export_eval_mode

eEvaluationMode blender::OBJExportParams::export_eval_mode = DAG_EVAL_VIEWPORT

Definition at line 53 of file IO_wavefront_obj.hh.

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

◆ export_material_groups

bool blender::OBJExportParams::export_material_groups = false

Definition at line 65 of file IO_wavefront_obj.hh.

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

◆ export_materials

bool blender::OBJExportParams::export_materials = true

◆ export_normals

bool blender::OBJExportParams::export_normals = true

Definition at line 55 of file IO_wavefront_obj.hh.

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

◆ export_object_groups

bool blender::OBJExportParams::export_object_groups = false

Definition at line 64 of file IO_wavefront_obj.hh.

◆ export_pbr_extensions

bool blender::OBJExportParams::export_pbr_extensions = false

Definition at line 61 of file IO_wavefront_obj.hh.

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

◆ export_selected_objects

bool blender::OBJExportParams::export_selected_objects = false

◆ export_smooth_groups

bool blender::OBJExportParams::export_smooth_groups = false

◆ export_triangulated_mesh

bool blender::OBJExportParams::export_triangulated_mesh = false

Definition at line 58 of file IO_wavefront_obj.hh.

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

◆ export_uv

bool blender::OBJExportParams::export_uv = true

Definition at line 54 of file IO_wavefront_obj.hh.

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

◆ export_vertex_groups

bool blender::OBJExportParams::export_vertex_groups = false

Definition at line 66 of file IO_wavefront_obj.hh.

◆ file_base_for_tests

char blender::OBJExportParams::file_base_for_tests[FILE_MAX] = ""

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

Definition at line 31 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::OBJExportRegressionTest::compare_obj_export_to_golden(), and blender::io::obj::write_materials().

◆ filepath

◆ forward_axis

◆ global_scale

float blender::OBJExportParams::global_scale = 1.0f

◆ path_mode

ePathReferenceMode blender::OBJExportParams::path_mode = PATH_REFERENCE_AUTO

Definition at line 60 of file IO_wavefront_obj.hh.

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

◆ reports

◆ smooth_groups_bitflags

bool blender::OBJExportParams::smooth_groups_bitflags = false

Definition at line 70 of file IO_wavefront_obj.hh.

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

◆ start_frame

int blender::OBJExportParams::start_frame = INT_MIN

The first frame to be exported.

Definition at line 40 of file IO_wavefront_obj.hh.

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

◆ up_axis


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