Blender V4.3
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
bool export_animation
int start_frame
int end_frame
eIOAxis forward_axis
eIOAxis up_axis
float global_scale
bool export_selected_objects
bool apply_modifiers
eEvaluationMode export_eval_mode
bool export_uv
bool export_normals
bool export_colors
bool export_materials
bool export_triangulated_mesh
bool export_curves_as_nurbs
ePathReferenceMode path_mode
bool export_pbr_extensions
bool export_object_groups
bool export_material_groups
bool export_vertex_groups
bool export_smooth_groups
bool smooth_groups_bitflags
ReportListreports = nullptr

Detailed Description

Definition at line 23 of file IO_wavefront_obj.hh.

Member Data Documentation

◆ apply_modifiers

bool OBJExportParams::apply_modifiers

Definition at line 47 of file IO_wavefront_obj.hh.

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

◆ blen_filepath

const char* OBJExportParams::blen_filepath

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

Definition at line 31 of file IO_wavefront_obj.hh.

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

◆ collection

char OBJExportParams::collection[MAX_IDPROP_NAME] = ""

Definition at line 28 of file IO_wavefront_obj.hh.

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

◆ end_frame

int OBJExportParams::end_frame

The last frame to be exported.

Definition at line 38 of file IO_wavefront_obj.hh.

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

◆ export_animation

bool OBJExportParams::export_animation

Whether multiple frames should be exported.

Definition at line 34 of file IO_wavefront_obj.hh.

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

◆ export_colors

bool OBJExportParams::export_colors

Definition at line 51 of file IO_wavefront_obj.hh.

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

◆ export_curves_as_nurbs

bool OBJExportParams::export_curves_as_nurbs

◆ export_eval_mode

eEvaluationMode OBJExportParams::export_eval_mode

Definition at line 48 of file IO_wavefront_obj.hh.

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

◆ export_material_groups

bool OBJExportParams::export_material_groups

Definition at line 60 of file IO_wavefront_obj.hh.

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

◆ export_materials

bool OBJExportParams::export_materials

◆ export_normals

bool OBJExportParams::export_normals

Definition at line 50 of file IO_wavefront_obj.hh.

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

◆ export_object_groups

bool OBJExportParams::export_object_groups

Definition at line 59 of file IO_wavefront_obj.hh.

◆ export_pbr_extensions

bool OBJExportParams::export_pbr_extensions

Definition at line 56 of file IO_wavefront_obj.hh.

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

◆ export_selected_objects

bool OBJExportParams::export_selected_objects

◆ export_smooth_groups

bool OBJExportParams::export_smooth_groups

Definition at line 63 of file IO_wavefront_obj.hh.

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

◆ export_triangulated_mesh

bool OBJExportParams::export_triangulated_mesh

Definition at line 53 of file IO_wavefront_obj.hh.

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

◆ export_uv

bool OBJExportParams::export_uv

Definition at line 49 of file IO_wavefront_obj.hh.

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

◆ export_vertex_groups

bool OBJExportParams::export_vertex_groups

Definition at line 61 of file IO_wavefront_obj.hh.

◆ 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 27 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 25 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

◆ global_scale

float OBJExportParams::global_scale

Definition at line 43 of file IO_wavefront_obj.hh.

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

◆ path_mode

ePathReferenceMode OBJExportParams::path_mode

Definition at line 55 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

Definition at line 65 of file IO_wavefront_obj.hh.

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

◆ start_frame

int OBJExportParams::start_frame

The first frame to be exported.

Definition at line 36 of file IO_wavefront_obj.hh.

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

◆ up_axis

eIOAxis OBJExportParams::up_axis

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