Blender V2.61 - r43446
|
#include <BL_Material.h>
Definition at line 47 of file BL_Material.h.
BL_Material::BL_Material | ( | ) |
Definition at line 32 of file BL_Material.cpp.
References Initialize().
void BL_Material::GetConversionRGB | ( | unsigned int * | rgb | ) |
void BL_Material::GetConversionUV | ( | MT_Point2 * | uv | ) |
void BL_Material::GetConversionUV2 | ( | MT_Point2 * | uv | ) |
void BL_Material::Initialize | ( | ) |
Definition at line 37 of file BL_Material.cpp.
References alpha, alphablend, amb, blend_mode, color_blend, cubemap, emit, flag, glslmat, hard, i, IdMode, imageId, img, BL_Mapping::mapping, mapping, matcolor, material, materialindex, matname, MAXTEX, mtexname, num_enabled, BL_Mapping::objconame, BL_Mapping::offsets, BL_Mapping::projplane, PROJX, PROJY, PROJZ, ras_mode, rgb, BL_Mapping::scale, spec_f, speccolor, texname, tface, tile, tilexrep, tileyrep, uv, and uv2.
Referenced by BL_Material(), and ConvertMaterial().
bool BL_Material::IsShared | ( | ) |
Definition at line 159 of file BL_Material.cpp.
Referenced by KX_BlenderMaterial::ActivatShaders().
void BL_Material::SetConversionRGB | ( | unsigned int * | rgb | ) |
void BL_Material::SetConversionUV | ( | const STR_String & | name, |
MT_Point2 * | uv | ||
) |
Definition at line 117 of file BL_Material.cpp.
References Main::name, uv, and uvName.
Referenced by ConvertMaterial().
void BL_Material::SetConversionUV2 | ( | const STR_String & | name, |
MT_Point2 * | uv | ||
) |
Definition at line 133 of file BL_Material.cpp.
References Main::name, uv2, and uv2Name.
Referenced by ConvertMaterial().
void BL_Material::SetSharedMaterial | ( | bool | v | ) |
Definition at line 151 of file BL_Material.cpp.
void BL_Material::SetUsers | ( | int | num | ) |
Definition at line 164 of file BL_Material.cpp.
Referenced by ConvertMaterial().
float BL_Material::alpha |
Definition at line 74 of file BL_Material.h.
Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().
short BL_Material::alphablend |
Definition at line 71 of file BL_Material.h.
Referenced by KX_BlenderMaterial::ActivateMeshSlot(), ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().
float BL_Material::amb |
Definition at line 75 of file BL_Material.h.
Referenced by ConvertMaterial(), and Initialize().
int BL_Material::blend_mode[MAXTEX] |
Definition at line 77 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), Initialize(), and BL_Texture::setTexEnv().
float BL_Material::color_blend[MAXTEX] |
Definition at line 74 of file BL_Material.h.
Referenced by ConvertMaterial(), Initialize(), and BL_Texture::setTexEnv().
EnvMap* BL_Material::cubemap[MAXTEX] |
Definition at line 88 of file BL_Material.h.
Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::OnConstruction().
float BL_Material::emit |
Definition at line 74 of file BL_Material.h.
Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().
unsigned int BL_Material::flag[MAXTEX] |
Definition at line 63 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), Initialize(), KX_BlenderMaterial::OnConstruction(), and BL_Texture::setTexEnv().
bool BL_Material::glslmat |
Definition at line 60 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), Initialize(), and KX_BlenderMaterial::OnConstruction().
float BL_Material::hard |
Definition at line 73 of file BL_Material.h.
Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().
Definition at line 58 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().
STR_String BL_Material::imageId[MAXTEX] |
Definition at line 82 of file BL_Material.h.
Referenced by Initialize().
Image* BL_Material::img[MAXTEX] |
Definition at line 87 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::getImage(), Initialize(), and KX_BlenderMaterial::OnConstruction().
BL_Mapping BL_Material::mapping[MAXTEX] |
Definition at line 81 of file BL_Material.h.
Referenced by ConvertMaterial(), GetProjPlane(), Initialize(), and KX_BlenderMaterial::OnConstruction().
float BL_Material::matcolor[4] |
Definition at line 69 of file BL_Material.h.
Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().
Definition at line 85 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderSceneConverter::FreeBlendFile(), KX_BlenderMaterial::GetBlenderMaterial(), and Initialize().
Definition at line 67 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().
Definition at line 65 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), Initialize(), and KX_BlenderMaterial::OnConstruction().
STR_String BL_Material::mtexname[MAXTEX] |
Definition at line 66 of file BL_Material.h.
Referenced by ConvertMaterial(), and Initialize().
Definition at line 79 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), Initialize(), and KX_BlenderMaterial::OnConstruction().
short BL_Material::pad |
Definition at line 71 of file BL_Material.h.
unsigned int BL_Material::ras_mode |
Definition at line 59 of file BL_Material.h.
Referenced by KX_BlenderMaterial::ActivateBlenderShaders(), KX_BlenderMaterial::ActivateMat(), KX_BlenderMaterial::ActivatShaders(), ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().
float BL_Material::ref |
Definition at line 74 of file BL_Material.h.
Referenced by ConvertMaterial(), and KX_BlenderMaterial::UpdateIPO().
unsigned int BL_Material::rgb[4] |
Definition at line 90 of file BL_Material.h.
Referenced by GetConversionRGB(), KX_BlenderMaterial::GetMCol(), Initialize(), and SetConversionRGB().
float BL_Material::spec_f |
Definition at line 73 of file BL_Material.h.
Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().
float BL_Material::speccolor[3] |
Definition at line 70 of file BL_Material.h.
Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().
STR_String BL_Material::texname[MAXTEX] |
Definition at line 62 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().
Definition at line 86 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::GetMTFace(), and Initialize().
Definition at line 64 of file BL_Material.h.
Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().
int BL_Material::tilexrep[MAXTEX] |
Definition at line 64 of file BL_Material.h.
Referenced by KX_BlenderMaterial::Initialize(), and Initialize().
int BL_Material::tileyrep[MAXTEX] |
Definition at line 64 of file BL_Material.h.
Referenced by KX_BlenderMaterial::Initialize(), and Initialize().
Definition at line 91 of file BL_Material.h.
Referenced by GetConversionUV(), Initialize(), and SetConversionUV().
Definition at line 92 of file BL_Material.h.
Referenced by GetConversionUV2(), Initialize(), and SetConversionUV2().
Definition at line 95 of file BL_Material.h.
Referenced by BL_BlenderShader::SetAttribs(), and SetConversionUV2().
Definition at line 94 of file BL_Material.h.
Referenced by BL_BlenderShader::SetAttribs(), and SetConversionUV().