Blender V4.5
OBJImportParams Struct Reference

#include <IO_wavefront_obj.hh>

Public Attributes

char filepath [FILE_MAX] = ""
 
float clamp_size = 0.0f
 
float global_scale = 1.0f
 
eIOAxis forward_axis = IO_AXIS_NEGATIVE_Z
 
eIOAxis up_axis = IO_AXIS_Y
 
char collection_separator = 0
 
bool use_split_objects = true
 
bool use_split_groups = false
 
bool import_vertex_groups = false
 
bool validate_meshes = true
 
bool close_spline_loops = true
 
bool relative_paths = true
 
bool clear_selection = true
 
ReportListreports = nullptr
 

Detailed Description

Definition at line 72 of file IO_wavefront_obj.hh.

Member Data Documentation

◆ clamp_size

float OBJImportParams::clamp_size = 0.0f

Value 0 disables clamping.

Definition at line 76 of file IO_wavefront_obj.hh.

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

◆ clear_selection

bool OBJImportParams::clear_selection = true

Definition at line 87 of file IO_wavefront_obj.hh.

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

◆ close_spline_loops

bool OBJImportParams::close_spline_loops = true

Definition at line 85 of file IO_wavefront_obj.hh.

◆ collection_separator

◆ filepath

char OBJImportParams::filepath[FILE_MAX] = ""

◆ forward_axis

eIOAxis OBJImportParams::forward_axis = IO_AXIS_NEGATIVE_Z

Definition at line 78 of file IO_wavefront_obj.hh.

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

◆ global_scale

float OBJImportParams::global_scale = 1.0f

◆ import_vertex_groups

bool OBJImportParams::import_vertex_groups = false

Definition at line 83 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::MeshFromGeometry::create_mesh().

◆ relative_paths

bool OBJImportParams::relative_paths = true

◆ reports

◆ up_axis

eIOAxis OBJImportParams::up_axis = IO_AXIS_Y

Definition at line 79 of file IO_wavefront_obj.hh.

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

◆ use_split_groups

bool OBJImportParams::use_split_groups = false

◆ use_split_objects

bool OBJImportParams::use_split_objects = true

Definition at line 81 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::OBJParser::parse().

◆ validate_meshes

bool OBJImportParams::validate_meshes = true

Definition at line 84 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::MeshFromGeometry::create_mesh().


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