Logo
Public Member Functions | List of all members
SharpKmyGfx.ModelData Class Reference
Inheritance diagram for SharpKmyGfx.ModelData:

Public Member Functions

 ModelData (string path, Guid guid, bool vtxCompress)
 
 ModelData (string path)
 
 ModelData (IntPtr ptr)
 
IntPtr getNativeModelDataPtr ()
 
void Dispose ()
 
void load ()
 
void unload ()
 
MaterialInfo getMaterialInfo (int index)
 
void ReleaseForToolWithSync ()
 
void initializeByDef (string path)
 
void renamePath (string path)
 
SharpKmyMath.Vector3 getSize ()
 
SharpKmyMath.Vector3 getCenter ()
 
void setBlendType (string mtlname, int type)
 
int getMaterialIndex (string name)
 
int getMeshClusterMaterialIndex (int index)
 
int getIndexCount (int index)
 
int getBoneCount (int index)
 
Material getMaterial (UInt32 index)
 
bool isOverInfluenceCount (int index)
 
string[] getTextureNameList ()
 
List< string > getMotionNameList ()
 
Dictionary< string, SharpKmyMath.Vector2getMotion ()
 
string getPath ()
 
void saveDefFile (string path)
 
bool isModified ()
 
void reconstruct ()
 
void constructPBRMaterial ()
 
bool evalMaterialCount ()
 
void validateVertexDesc ()
 
void clearMaterialGUID ()
 
void setMaterialGUID (int index, Guid id)
 
void setVertexCompressMode (bool compress)
 
bool getVertexCompressMode ()
 
void setVrmSpringBoneLimit (float limit)
 
float getStartTime ()
 
float getEndTime ()
 
SharpKmyMath.Vector3 getPreviewOffset ()
 
SharpKmyMath.Vector3 getPreviewAngle ()
 
SharpKmyMath.Vector3[] getMeshCollisionVertices ()
 
string[] getNodeNameList ()
 
bool hasUnTriangulateMesh ()
 
void setSkinnedBoundSphereRadiusScale (float v)
 
float getSkinnedBoundSphereRadiusScale ()
 
int getLODLevelCount ()
 

Constructor & Destructor Documentation

◆ ModelData() [1/3]

SharpKmyGfx.ModelData.ModelData ( string  path,
Guid  guid,
bool  vtxCompress 
)

◆ ModelData() [2/3]

SharpKmyGfx.ModelData.ModelData ( string  path)

◆ ModelData() [3/3]

SharpKmyGfx.ModelData.ModelData ( IntPtr  ptr)

Member Function Documentation

◆ clearMaterialGUID()

void SharpKmyGfx.ModelData.clearMaterialGUID ( )

◆ constructPBRMaterial()

void SharpKmyGfx.ModelData.constructPBRMaterial ( )

◆ Dispose()

void SharpKmyGfx.ModelData.Dispose ( )

◆ evalMaterialCount()

bool SharpKmyGfx.ModelData.evalMaterialCount ( )

◆ getBoneCount()

int SharpKmyGfx.ModelData.getBoneCount ( int  index)

◆ getCenter()

SharpKmyMath.Vector3 SharpKmyGfx.ModelData.getCenter ( )

◆ getEndTime()

float SharpKmyGfx.ModelData.getEndTime ( )

◆ getIndexCount()

int SharpKmyGfx.ModelData.getIndexCount ( int  index)

◆ getLODLevelCount()

int SharpKmyGfx.ModelData.getLODLevelCount ( )

◆ getMaterial()

Material SharpKmyGfx.ModelData.getMaterial ( UInt32  index)

◆ getMaterialIndex()

int SharpKmyGfx.ModelData.getMaterialIndex ( string  name)

◆ getMaterialInfo()

MaterialInfo SharpKmyGfx.ModelData.getMaterialInfo ( int  index)

◆ getMeshClusterMaterialIndex()

int SharpKmyGfx.ModelData.getMeshClusterMaterialIndex ( int  index)

◆ getMeshCollisionVertices()

SharpKmyMath.Vector3[] SharpKmyGfx.ModelData.getMeshCollisionVertices ( )

◆ getMotion()

Dictionary< string, SharpKmyMath.Vector2 > SharpKmyGfx.ModelData.getMotion ( )

◆ getMotionNameList()

List< string > SharpKmyGfx.ModelData.getMotionNameList ( )

◆ getNativeModelDataPtr()

IntPtr SharpKmyGfx.ModelData.getNativeModelDataPtr ( )

◆ getNodeNameList()

string[] SharpKmyGfx.ModelData.getNodeNameList ( )

◆ getPath()

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()

string[] SharpKmyGfx.ModelData.getTextureNameList ( )

◆ getVertexCompressMode()

bool SharpKmyGfx.ModelData.getVertexCompressMode ( )

◆ hasUnTriangulateMesh()

bool SharpKmyGfx.ModelData.hasUnTriangulateMesh ( )

◆ initializeByDef()

void SharpKmyGfx.ModelData.initializeByDef ( 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 ( string  path)

◆ saveDefFile()

void SharpKmyGfx.ModelData.saveDefFile ( string  path)

◆ setBlendType()

void SharpKmyGfx.ModelData.setBlendType ( string  mtlname,
int  type 
)

◆ setMaterialGUID()

void SharpKmyGfx.ModelData.setMaterialGUID ( int  index,
Guid  id 
)

◆ setSkinnedBoundSphereRadiusScale()

void SharpKmyGfx.ModelData.setSkinnedBoundSphereRadiusScale ( float  v)

◆ setVertexCompressMode()

void SharpKmyGfx.ModelData.setVertexCompressMode ( bool  compress)

◆ setVrmSpringBoneLimit()

void SharpKmyGfx.ModelData.setVrmSpringBoneLimit ( float  limit)

◆ unload()

void SharpKmyGfx.ModelData.unload ( )

◆ validateVertexDesc()

void SharpKmyGfx.ModelData.validateVertexDesc ( )