Blender V4.3
blender::io::obj::MTLTexMap Struct Reference

#include <obj_export_mtl.hh>

Public Member Functions

bool is_valid () const
 

Public Attributes

float3 translation {0.0f}
 
float3 scale {1.0f}
 
int projection_type = SHD_PROJ_FLAT
 
std::string image_path
 
std::string mtl_dir_path
 

Detailed Description

Definition at line 33 of file obj_export_mtl.hh.

Member Function Documentation

◆ is_valid()

bool blender::io::obj::MTLTexMap::is_valid ( ) const
inline

Definition at line 34 of file obj_export_mtl.hh.

References image_path.

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

Member Data Documentation

◆ image_path

◆ mtl_dir_path

std::string blender::io::obj::MTLTexMap::mtl_dir_path

◆ projection_type

int blender::io::obj::MTLTexMap::projection_type = SHD_PROJ_FLAT

◆ scale

float3 blender::io::obj::MTLTexMap::scale {1.0f}

◆ translation

float3 blender::io::obj::MTLTexMap::translation {0.0f}

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