Blender V5.0
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
eOBJMtlNameCollisionMode mtl_name_collision_mode = OBJ_MTL_NAME_COLLISION_MAKE_UNIQUE
ReportListreports = nullptr

Detailed Description

Definition at line 82 of file IO_wavefront_obj.hh.

Member Data Documentation

◆ clamp_size

float OBJImportParams::clamp_size = 0.0f

Value 0 disables clamping.

Definition at line 86 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 97 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 95 of file IO_wavefront_obj.hh.

◆ collection_separator

◆ filepath

char OBJImportParams::filepath[FILE_MAX] = ""

Full path to the source OBJ file to import.

Definition at line 84 of file IO_wavefront_obj.hh.

Referenced by blender::io::obj::importer_main(), blender::nodes::node_geo_import_obj::node_geo_exec(), and OBJ_import().

◆ forward_axis

eIOAxis OBJImportParams::forward_axis = IO_AXIS_NEGATIVE_Z

Definition at line 88 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 93 of file IO_wavefront_obj.hh.

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

◆ mtl_name_collision_mode

eOBJMtlNameCollisionMode OBJImportParams::mtl_name_collision_mode = OBJ_MTL_NAME_COLLISION_MAKE_UNIQUE

How to handle material name collisions during import.

Definition at line 100 of file IO_wavefront_obj.hh.

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

◆ relative_paths

bool OBJImportParams::relative_paths = true

◆ reports

ReportList* OBJImportParams::reports = nullptr

◆ up_axis

eIOAxis OBJImportParams::up_axis = IO_AXIS_Y

Definition at line 89 of file IO_wavefront_obj.hh.

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

◆ use_split_groups

bool OBJImportParams::use_split_groups = false

Definition at line 92 of file IO_wavefront_obj.hh.

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

◆ use_split_objects

bool OBJImportParams::use_split_objects = true

Definition at line 91 of file IO_wavefront_obj.hh.

◆ validate_meshes

bool OBJImportParams::validate_meshes = true

Definition at line 94 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: