Blender V5.3
blender::FBXImportParams Struct Reference

#include <IO_fbx.hh>

Public Attributes

char filepath [FILE_MAX] = ""
float global_scale = 1.0f
eFBXMtlNameCollisionMode mtl_name_collision_mode = eFBXMtlNameCollisionMode::MakeUnique
eFBXVertexColorMode vertex_colors = eFBXVertexColorMode::sRGB
bool validate_meshes = true
bool use_custom_normals = true
bool import_subdivision = false
bool use_custom_props = true
bool props_enum_as_string = true
bool ignore_leaf_bones = false
bool use_anim = true
float anim_offset = 1.0f
ReportList * reports = nullptr

Detailed Description

Definition at line 38 of file IO_fbx.hh.

Member Data Documentation

◆ anim_offset

float blender::FBXImportParams::anim_offset = 1.0f

Definition at line 51 of file IO_fbx.hh.

Referenced by blender::io::fbx::FbxImportContext::import_animation().

◆ filepath

char blender::FBXImportParams::filepath[FILE_MAX] = ""

◆ global_scale

float blender::FBXImportParams::global_scale = 1.0f

Definition at line 40 of file IO_fbx.hh.

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

◆ ignore_leaf_bones

bool blender::FBXImportParams::ignore_leaf_bones = false

◆ import_subdivision

bool blender::FBXImportParams::import_subdivision = false

Definition at line 45 of file IO_fbx.hh.

◆ mtl_name_collision_mode

eFBXMtlNameCollisionMode blender::FBXImportParams::mtl_name_collision_mode = eFBXMtlNameCollisionMode::MakeUnique

Definition at line 41 of file IO_fbx.hh.

Referenced by blender::io::fbx::FbxImportContext::import_materials().

◆ props_enum_as_string

bool blender::FBXImportParams::props_enum_as_string = true

Definition at line 47 of file IO_fbx.hh.

◆ reports

ReportList* blender::FBXImportParams::reports = nullptr

Definition at line 53 of file IO_fbx.hh.

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

◆ use_anim

bool blender::FBXImportParams::use_anim = true

Definition at line 50 of file IO_fbx.hh.

Referenced by blender::io::fbx::FbxImportContext::import_animation().

◆ use_custom_normals

bool blender::FBXImportParams::use_custom_normals = true

Definition at line 44 of file IO_fbx.hh.

Referenced by blender::io::fbx::import_meshes().

◆ use_custom_props

◆ validate_meshes

bool blender::FBXImportParams::validate_meshes = true

Definition at line 43 of file IO_fbx.hh.

Referenced by blender::io::fbx::import_meshes().

◆ vertex_colors

eFBXVertexColorMode blender::FBXImportParams::vertex_colors = eFBXVertexColorMode::sRGB

Definition at line 42 of file IO_fbx.hh.

Referenced by blender::io::fbx::import_meshes().


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