Blender  V3.3
Public Attributes | List of all members
OBJExportParams Struct Reference

#include <IO_wavefront_obj.h>

Public Attributes

char filepath [FILE_MAX]
 
char file_base_for_tests [FILE_MAX]
 
const char * blen_filepath
 
bool export_animation
 
int start_frame
 
int end_frame
 
eIOAxis forward_axis
 
eIOAxis up_axis
 
float scaling_factor
 
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_object_groups
 
bool export_material_groups
 
bool export_vertex_groups
 
bool export_smooth_groups
 
bool smooth_groups_bitflags
 

Detailed Description

Definition at line 19 of file IO_wavefront_obj.h.

Member Data Documentation

◆ apply_modifiers

bool OBJExportParams::apply_modifiers

◆ blen_filepath

const char* OBJExportParams::blen_filepath

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

Definition at line 26 of file IO_wavefront_obj.h.

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

◆ end_frame

int OBJExportParams::end_frame

The last frame to be exported.

Definition at line 33 of file IO_wavefront_obj.h.

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

◆ export_animation

bool OBJExportParams::export_animation

Whether multiple frames should be exported.

Definition at line 29 of file IO_wavefront_obj.h.

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

◆ export_colors

bool OBJExportParams::export_colors

◆ export_curves_as_nurbs

bool OBJExportParams::export_curves_as_nurbs

◆ export_eval_mode

eEvaluationMode OBJExportParams::export_eval_mode

◆ export_material_groups

bool OBJExportParams::export_material_groups

◆ export_materials

bool OBJExportParams::export_materials

◆ export_normals

bool OBJExportParams::export_normals

◆ export_object_groups

bool OBJExportParams::export_object_groups

◆ export_selected_objects

bool OBJExportParams::export_selected_objects

◆ export_smooth_groups

bool OBJExportParams::export_smooth_groups

Calculate smooth groups from sharp edges.

Definition at line 59 of file IO_wavefront_obj.h.

Referenced by blender::io::obj::OBJExportParamsDefault::OBJExportParamsDefault(), and blender::io::obj::TEST_F().

◆ export_triangulated_mesh

bool OBJExportParams::export_triangulated_mesh

◆ export_uv

bool OBJExportParams::export_uv

◆ export_vertex_groups

bool OBJExportParams::export_vertex_groups

◆ 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 23 of file IO_wavefront_obj.h.

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

◆ filepath

char OBJExportParams::filepath[FILE_MAX]

◆ forward_axis

eIOAxis OBJExportParams::forward_axis

◆ path_mode

ePathReferenceMode OBJExportParams::path_mode

◆ scaling_factor

float OBJExportParams::scaling_factor

◆ smooth_groups_bitflags

bool OBJExportParams::smooth_groups_bitflags

Create bitflags instead of the default "0"/"1" group IDs.

Definition at line 63 of file IO_wavefront_obj.h.

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

◆ start_frame

int OBJExportParams::start_frame

The first frame to be exported.

Definition at line 31 of file IO_wavefront_obj.h.

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

◆ up_axis

eIOAxis OBJExportParams::up_axis

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