![]() |
|
モデルリソースを管理するクラス [詳解]
公開メンバ関数 |
|
delegate int | ERRCHECKER (string path) |
delegate bool | CONVERTER (ref string path, ref string ext, string tmpPath, float scale) |
override void | onCatalogCleanup () |
void | updateMaterialSet () |
override void | reImport () |
override void | reload () |
override void | export (string dstpath) |
override void | load (BinaryReader reader) |
override void | save (BinaryWriter writer) |
override void | saveUsedGUID (BinaryWriter writer, bool inIncludeChildUseRomGUID) |
使用しているGUIDの書き出し(ツール用)
[詳解]
|
|
void | createInternalUseModel (string path) |
List< string > | loadDefFile (string defFileName) |
List< string > | getTexListFromDef (List< string > defList, bool isRemoveGuid=false) |
void | getTextureAndDef (List< string > outDefList, List< string > outTexList, string workFileName) |
override bool | initializingAfterLoading () |
override void | initializeKmyGfx () |
override void | ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic) |
override void | setNativeResourcePath (string inFolderPath) |
システムプロジェクトyのネイティブリソースのフルパスを設定
[詳解]
|
|
void | overwriteImport (string newPath, bool inOptimize, float inScale) |
単純上書きインポート
[詳解]
|
|
![]() |
|
override bool | initializingAfterLoading () |
virtual void | initializeKmyGfx () |
override void | save (System.IO.BinaryWriter writer) |
override void | load (System.IO.BinaryReader reader) |
virtual void | setPath (string path) |
virtual void | CopySourceResourceFile (string inSrcPath, string inDstPath=null, bool inIsOverwrite=false, bool inIsExistFileRename=false) |
void | CopyOutsideResourceFile (bool inIsOverwrite=false, bool inIsExistFileRename=false) |
bool | deleteResourceFile (Dictionary< string, int > inUsedFilePathCountDic, bool inIsAutoDeleteFile) |
virtual List< string > | getRelatedFiles () |
virtual ErrorType | verify () |
bool | IsError (bool inCheckDispOnly=true) |
bool | isSystemResource () |
bool | isDLCResource () |
void | setToModified () |
virtual string[] | getPathList () |
string | getExtension () |
virtual List< Guid > | GetUsedResourceIdList () |
override void | ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic) |
void | ClearResourceHolderCache () |
virtual void | reload () |
bool | isExistNewerTimeStamp () |
virtual void | renamePath (string inNewPath) |
virtual void | setNativeResourcePath (string inFolderPath) |
システムプロジェクトyのネイティブリソースのフルパスを設定
[詳解]
|
|
![]() |
|
string | getCategory (string locale=null) |
System.Drawing.Bitmap | getThumbnail (THUMBNAILMAKERNOTIFY notify, out bool setNotify) |
System.Drawing.Bitmap | getThumbnail (THUMBNAILMAKERNOTIFY notify) |
System.Drawing.Bitmap | getThumbnail () |
void | invalidateThumbnail () |
void | invalidateThumbnail (THUMBNAILMAKERNOTIFY notify) |
void | forceInvalidateThumbnail (THUMBNAILMAKERNOTIFY notify) |
virtual void | save (BinaryWriter writer) |
virtual void | load (BinaryReader reader) |
virtual void | saveUsedGUID (BinaryWriter writer, bool inIncludeChildUseRomGUID) |
使用しているGUIDの書き出し(ツール用)
[詳解]
|
|
void | saveUsedGUID (BinaryWriter writer) |
使用しているGUIDの書き出し(ツール用)
[詳解]
|
|
virtual bool | initializingAfterLoading () |
virtual void | postImport (string srcpath) |
virtual void | reImport () |
virtual void | export (string path) |
virtual void | onCatalogCleanup () |
void | copyFrom (Common.Rom.RomItem src) |
virtual void | CheckRecourceConsistency (Catalog inCatalog) |
virtual void | ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic) |
使用しているIdを対応するロムのIdに差し替える
[詳解]
|
|
void | ClearId (List< Rom.RomItem > inClearRomItemList) |
リストのロムの使用を削除
[詳解]
|
|
void | Dispose () |
void | AddUpdatecall (int count) |
void | save (BinaryWriter writer) |
void | load (BinaryReader reader) |
静的公開メンバ関数 |
|
static float | getSize (string srcpath) |
モデルの最大サイズの取得
[詳解]
|
|
static string | makeCreatePath (string srcpath, bool overwrite=false) |
モデルファイルのコピー先のパスの取得
[詳解]
|
|
static Model | import (string srcpath, string createpath, bool optimize, float scale, bool newTexture) |
static Model | convert (string path, bool genMaterial, Option option) |
static void | convertToResourceAll (Catalog catalog) |
![]() |
|
static string | makeCreateFilePath (Type inType, string inSrcPath, bool inIsOverWrite) |
リソースファイルのコピー先のファイルパスの作成
[詳解]
|
|
![]() |
|
static void | writeChunk (System.IO.BinaryWriter writer, IChunk rom) |
static void | readChunk (System.IO.BinaryReader reader, IChunk rom) |
static T | Clone< T > (RomItem inSrc) |
static bool | equalChunk (IChunk a, IChunk b) |
公開変数類 |
|
MaterialSet | m_materialSet = new MaterialSet() |
SharpKmyGfx.ModelData | m_mdl = null |
bool | m_isShield = false |
SharpKmyMath.Vector3 | m_previewOffset = new SharpKmyMath.Vector3() |
SharpKmyMath.Vector3 | m_previewAngle = new SharpKmyMath.Vector3() |
![]() |
|
Guid | dlcGuid = Guid.Empty |
string | relatedPath = "" |
string | path = ".\\" |
Option | option = new Option() |
ResourceSource | source = ResourceSource.RES_USER |
![]() |
|
Guid | guId |
String | name |
string | tags = "" |
string | category = "" |
静的公開変数類 |
|
static int | errorHandle = 0 |
static ERRCHECKER | errchecker = null |
static CONVERTER | converter = null |
![]() |
|
static ResourceSource | sCurrentSourceMode |
static bool | sReferenceLoad = false |
static bool | sClipboardLoad = false |
const string | TAG_3D = "#3D" |
const string | TAG_2D = "#2D" |
static Guid | sCurrentSourceGuid |
![]() |
|
static int | thumbnailWidth = 128 |
static int | thumbnailHeight = 128 |
const char | CATEGORY_SPLITTER = '\\' |
static CREATETHUMBNAIL | createThumbnailFunction = null |
const int | UnknownRefCount = -2000 |
限定公開メンバ関数 |
|
override bool | IsErrorImp (bool inCheckDispOnly) |
override List< ResourceHolder > | GetResourceHolderList () |
override void | afterRenamePath (string inNewPath) |
![]() |
|
virtual bool | IsErrorImp (bool inCheckDispOnly) |
string | checkReImportPath (string importPath, string filter) |
virtual List< ResourceHolder > | GetResourceHolderList () |
void | updateSetuppedThumbnail () |
virtual void | afterRenamePath (string inNewPath) |
![]() |
|
virtual void | Dispose (bool disposing) |
プロパティ |
|
override string |
ImportPath
[get]
|
string |
importpath
[get, set]
|
![]() |
|
string |
SourcePath
[get]
|
virtual string |
ImportPath
[get, set]
|
virtual string |
SourceFileName
[get]
|
string |
SourceFolderName
[get]
|
int |
StampType
[get, set]
|
string |
resourcePath
[get, set]
|
![]() |
|
System.Drawing.Bitmap |
Thumbnail
[get]
|
ThumbnailStatusType |
ThumbnailStatus
= ThumbnailStatusType.Empty
[get, set]
|
string |
Name
[get, set]
|
virtual int |
RefCount
[get]
|
virtual bool |
UseRefCount
[get]
|
Folder |
Parent
[get, set]
|
その他の継承メンバ |
|
![]() |
|
enum | ThumbnailStatusType { Empty = 0 , Creating , Created , Failed } |
サムネイル画像生成状況
|
|
モデルリソースを管理するクラス
|
protected virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
protected virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
static |
モデルの最大サイズの取得
srcpath | モデルのパス |
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
protected virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
static |
モデルファイルのコピー先のパスの取得
srcpath | インポート元のモデルファイルのパス |
overwrite | 上書きするか? |
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
void Yukar.Common.Resource.Model.overwriteImport | ( | string | newPath, |
bool | inOptimize, | ||
float | inScale | ||
) |
単純上書きインポート
newPath |
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
使用しているGUIDの書き出し(ツール用)
writer | ライター |
inIncludeChildUseRomGUID | 使用しているロムが使用しているロムも含むか? |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
システムプロジェクトyのネイティブリソースのフルパスを設定
inFolderPath | プロジェクトのカレントフォルダパス |
Yukar.Common.Resource.ResourceItemを再実装しています。