#include <ModelData.h>
Public Member Functions | |
ModelData (System::String^ path, System::Guid guid) | |
ModelData (System::String^ path) | |
ModelData (kmyGfx::ModelData *o) | |
~ModelData () | |
void | load () |
void | unload () |
MaterialInfo | getMaterialInfo (int index) |
void | ReleaseForToolWithSync () |
void | initializeByDef (System::String ^path) |
void | renamePath (System::String^ path) |
SharpKmyMath::Vector3 | getSize () |
SharpKmyMath::Vector3 | getCenter () |
void | setBlendType (System::String ^mtlname, int type) |
int | getMaterialIndex (System::String ^name) |
int | getMeshClusterMaterialIndex (int index) |
size_t | getIndexCount (int index) |
int | getBoneCount (int index) |
Material | getMaterial (u32 index) |
bool | isOverInfluenceCount (int index) |
array< System::String^> | getTextureNameList () |
System::Collections::Generic::List< System::String^> | getMotionNameList () |
System::Collections::Generic::Dictionary< System::String^, SharpKmyMath::Vector2 > | getMotion () |
System::String | getPath () |
void | saveDefFile (System::String^ path) |
bool | isModified () |
void | reconstruct () |
void | constructPBRMaterial () |
bool | evalMaterialCount () |
void | validateVertexDesc () |
void | clearMaterialGUID () |
void | setMaterialGUID (int index, System::Guid id) |
void | setVertexCompressMode (bool compress) |
bool | getVertexCompressMode () |
float | getStartTime () |
float | getEndTime () |
SharpKmyMath::Vector3 | getPreviewOffset () |
SharpKmyMath::Vector3 | getPreviewAngle () |
array< SharpKmyMath::Vector3 > | getMeshCollisionVertices () |
array< System::String^> | getNodeNameList () |
bool | hasUnTriangulateMesh () |
void | setSkinnedBoundSphereRadiusScale (float v) |
float | getSkinnedBoundSphereRadiusScale () |
void | saveNativeModel (System::String^ path) |
void | setNativeModelPath (System::String^ path) |
Static Public Member Functions | |
static SharpKmyMath::Vector3 | getCenterImpl (kmyGfx::ModelData *obj) |
Public Attributes | |
kmyGfx::ModelData * | obj |
bool | own = false |
SharpKmyGfx::ModelData::ModelData | ( | System::String^ | path, |
System::Guid | guid | ||
) |
SharpKmyGfx::ModelData::ModelData | ( | System::String^ | path | ) |
SharpKmyGfx::ModelData::ModelData | ( | kmyGfx::ModelData * | o | ) |
SharpKmyGfx::ModelData::~ModelData | ( | ) |
void SharpKmyGfx::ModelData::clearMaterialGUID | ( | ) |
void SharpKmyGfx::ModelData::constructPBRMaterial | ( | ) |
bool SharpKmyGfx::ModelData::evalMaterialCount | ( | ) |
int SharpKmyGfx::ModelData::getBoneCount | ( | int | index | ) |
SharpKmyMath::Vector3 SharpKmyGfx::ModelData::getCenter | ( | ) |
|
static |
float SharpKmyGfx::ModelData::getEndTime | ( | ) |
size_t SharpKmyGfx::ModelData::getIndexCount | ( | int | index | ) |
Material SharpKmyGfx::ModelData::getMaterial | ( | u32 | index | ) |
int SharpKmyGfx::ModelData::getMaterialIndex | ( | System::String ^ | name | ) |
MaterialInfo SharpKmyGfx::ModelData::getMaterialInfo | ( | int | index | ) |
int SharpKmyGfx::ModelData::getMeshClusterMaterialIndex | ( | int | index | ) |
array< SharpKmyMath::Vector3 > SharpKmyGfx::ModelData::getMeshCollisionVertices | ( | ) |
System::Collections::Generic::Dictionary< System::String^, SharpKmyMath::Vector2 > SharpKmyGfx::ModelData::getMotion | ( | ) |
System::Collections::Generic::List< System::String^> SharpKmyGfx::ModelData::getMotionNameList | ( | ) |
array< System::String^> SharpKmyGfx::ModelData::getNodeNameList | ( | ) |
System::String SharpKmyGfx::ModelData::getPath | ( | ) |
SharpKmyMath::Vector3 SharpKmyGfx::ModelData::getPreviewAngle | ( | ) |
SharpKmyMath::Vector3 SharpKmyGfx::ModelData::getPreviewOffset | ( | ) |
SharpKmyMath::Vector3 SharpKmyGfx::ModelData::getSize | ( | ) |
float SharpKmyGfx::ModelData::getSkinnedBoundSphereRadiusScale | ( | ) |
float SharpKmyGfx::ModelData::getStartTime | ( | ) |
array< System::String^> SharpKmyGfx::ModelData::getTextureNameList | ( | ) |
bool SharpKmyGfx::ModelData::getVertexCompressMode | ( | ) |
bool SharpKmyGfx::ModelData::hasUnTriangulateMesh | ( | ) |
void SharpKmyGfx::ModelData::initializeByDef | ( | System::String ^ | path | ) |
bool SharpKmyGfx::ModelData::isModified | ( | ) |
bool SharpKmyGfx::ModelData::isOverInfluenceCount | ( | int | index | ) |
void SharpKmyGfx::ModelData::load | ( | ) |
void SharpKmyGfx::ModelData::reconstruct | ( | ) |
void SharpKmyGfx::ModelData::ReleaseForToolWithSync | ( | ) |
void SharpKmyGfx::ModelData::renamePath | ( | System::String^ | path | ) |
void SharpKmyGfx::ModelData::saveDefFile | ( | System::String^ | path | ) |
void SharpKmyGfx::ModelData::saveNativeModel | ( | System::String^ | path | ) |
void SharpKmyGfx::ModelData::setBlendType | ( | System::String ^ | mtlname, |
int | type | ||
) |
void SharpKmyGfx::ModelData::setMaterialGUID | ( | int | index, |
System::Guid | id | ||
) |
void SharpKmyGfx::ModelData::setNativeModelPath | ( | System::String^ | path | ) |
void SharpKmyGfx::ModelData::setSkinnedBoundSphereRadiusScale | ( | float | v | ) |
void SharpKmyGfx::ModelData::setVertexCompressMode | ( | bool | compress | ) |
void SharpKmyGfx::ModelData::unload | ( | ) |
void SharpKmyGfx::ModelData::validateVertexDesc | ( | ) |
kmyGfx::ModelData* SharpKmyGfx::ModelData::obj |
bool SharpKmyGfx::ModelData::own = false |