Logo
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SharpKmyGfx::ModelData Class Reference

#include <ModelData.h>

Public Member Functions

 ModelData (System::String^ path, System::Guid guid, bool vtxCompress)
 
 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::Vector2getMotion ()
 
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::Vector3getMeshCollisionVertices ()
 
array< System::String^> getNodeNameList ()
 
bool hasUnTriangulateMesh ()
 
void setSkinnedBoundSphereRadiusScale (float v)
 
float getSkinnedBoundSphereRadiusScale ()
 

Static Public Member Functions

static SharpKmyMath::Vector3 getCenterImpl (kmyGfx::ModelData *obj)
 

Public Attributes

kmyGfx::ModelData * obj
 
bool own = false
 

Constructor & Destructor Documentation

◆ ModelData() [1/3]

SharpKmyGfx::ModelData::ModelData ( System::String^  path,
System::Guid  guid,
bool  vtxCompress 
)

◆ ModelData() [2/3]

SharpKmyGfx::ModelData::ModelData ( System::String^  path)

◆ ModelData() [3/3]

SharpKmyGfx::ModelData::ModelData ( kmyGfx::ModelData *  o)

◆ ~ModelData()

SharpKmyGfx::ModelData::~ModelData ( )

Member Function Documentation

◆ clearMaterialGUID()

void SharpKmyGfx::ModelData::clearMaterialGUID ( )

◆ constructPBRMaterial()

void SharpKmyGfx::ModelData::constructPBRMaterial ( )

◆ evalMaterialCount()

bool SharpKmyGfx::ModelData::evalMaterialCount ( )

◆ getBoneCount()

int SharpKmyGfx::ModelData::getBoneCount ( int  index)

◆ getCenter()

SharpKmyMath::Vector3 SharpKmyGfx::ModelData::getCenter ( )

◆ getCenterImpl()

SharpKmyMath::Vector3 SharpKmyGfx::ModelData::getCenterImpl ( kmyGfx::ModelData *  obj)
static

◆ getEndTime()

float SharpKmyGfx::ModelData::getEndTime ( )

◆ getIndexCount()

size_t SharpKmyGfx::ModelData::getIndexCount ( int  index)

◆ getMaterial()

Material SharpKmyGfx::ModelData::getMaterial ( u32  index)

◆ getMaterialIndex()

int SharpKmyGfx::ModelData::getMaterialIndex ( System::String ^  name)

◆ getMaterialInfo()

MaterialInfo SharpKmyGfx::ModelData::getMaterialInfo ( int  index)

◆ getMeshClusterMaterialIndex()

int SharpKmyGfx::ModelData::getMeshClusterMaterialIndex ( int  index)

◆ getMeshCollisionVertices()

array< SharpKmyMath::Vector3 > SharpKmyGfx::ModelData::getMeshCollisionVertices ( )

◆ getMotion()

System::Collections::Generic::Dictionary< System::String^, SharpKmyMath::Vector2 > SharpKmyGfx::ModelData::getMotion ( )

◆ getMotionNameList()

System::Collections::Generic::List< System::String^> SharpKmyGfx::ModelData::getMotionNameList ( )

◆ getNodeNameList()

array< System::String^> SharpKmyGfx::ModelData::getNodeNameList ( )

◆ getPath()

System::String SharpKmyGfx::ModelData::getPath ( )

◆ getPreviewAngle()

SharpKmyMath::Vector3 SharpKmyGfx::ModelData::getPreviewAngle ( )

◆ getPreviewOffset()

SharpKmyMath::Vector3 SharpKmyGfx::ModelData::getPreviewOffset ( )

◆ getSize()

SharpKmyMath::Vector3 SharpKmyGfx::ModelData::getSize ( )

◆ getSkinnedBoundSphereRadiusScale()

float SharpKmyGfx::ModelData::getSkinnedBoundSphereRadiusScale ( )

◆ getStartTime()

float SharpKmyGfx::ModelData::getStartTime ( )

◆ getTextureNameList()

array< System::String^> SharpKmyGfx::ModelData::getTextureNameList ( )

◆ getVertexCompressMode()

bool SharpKmyGfx::ModelData::getVertexCompressMode ( )

◆ hasUnTriangulateMesh()

bool SharpKmyGfx::ModelData::hasUnTriangulateMesh ( )

◆ initializeByDef()

void SharpKmyGfx::ModelData::initializeByDef ( System::String ^  path)

◆ isModified()

bool SharpKmyGfx::ModelData::isModified ( )

◆ isOverInfluenceCount()

bool SharpKmyGfx::ModelData::isOverInfluenceCount ( int  index)

◆ load()

void SharpKmyGfx::ModelData::load ( )

◆ reconstruct()

void SharpKmyGfx::ModelData::reconstruct ( )

◆ ReleaseForToolWithSync()

void SharpKmyGfx::ModelData::ReleaseForToolWithSync ( )

◆ renamePath()

void SharpKmyGfx::ModelData::renamePath ( System::String^  path)

◆ saveDefFile()

void SharpKmyGfx::ModelData::saveDefFile ( System::String^  path)

◆ setBlendType()

void SharpKmyGfx::ModelData::setBlendType ( System::String ^  mtlname,
int  type 
)

◆ setMaterialGUID()

void SharpKmyGfx::ModelData::setMaterialGUID ( int  index,
System::Guid  id 
)

◆ setSkinnedBoundSphereRadiusScale()

void SharpKmyGfx::ModelData::setSkinnedBoundSphereRadiusScale ( float  v)

◆ setVertexCompressMode()

void SharpKmyGfx::ModelData::setVertexCompressMode ( bool  compress)

◆ unload()

void SharpKmyGfx::ModelData::unload ( )

◆ validateVertexDesc()

void SharpKmyGfx::ModelData::validateVertexDesc ( )

Member Data Documentation

◆ obj

kmyGfx::ModelData* SharpKmyGfx::ModelData::obj

◆ own

bool SharpKmyGfx::ModelData::own = false