|
|
テクスチャリソースを管理するクラス [詳解]
公開型 |
|
| enum | Shape { _2D , _Cube , _3D } |
| enum | Usage { Default , Normal , _2D } |
| enum | Slice { NoSlice , Window , PixelSlice , CountSlice } |
| enum | Wrap { Repeat , Clamp , Mirror } |
| enum | Filter { Nearest , Bilinear } |
| enum | FillType { FILL_STREATCH , FILL_REPEAT } |
| enum |
SpriteOrigin
{
LEFT_TOP = 0 , TOP , RIGHT_TOP , LEFT , CENTER , RIGHT , LEFT_BOTTOM , BOTTOM , RIGHT_BOTTOM } |
| enum |
CommonTexture
{
None = -1 , Arrow , BattleNeedle , BattleNumber , BattleStatusBG , BattleStatusBGEffect , EquipIcons , ExpBar , ExpBarMax , ExpPanel , InputCancel , InputDelete , InputEnd , InputType0 , InputType1 , InputType2 , InputType3 , LvPanel , MenuClose , MenuPageLeft , MenuPageRight , PageIcons , PageIconsON , PageIconsOFF , ResultBack , StatusBar , StatusBarPanel , VRCtrlParts , VRCtrlPartsB , VrpadA , VrpadB , VrpadBack , VrpadDown , VrpadHome , VrpadLButton , VrpadLeft , VrpadLStick , VrpadLStickBase , VrpadLT , VrpadLThumb , VrpadRButton , VrpadRight , VrpadRStick , VrpadRStickBase , VrpadRT , VrpadRThumb , VrpadStart , VrpadUp , VrpadX , VrpadY , GameIcon , MessageWindow , DefaultWindow , Infopanel , ChoiceWindow , DefaultSelectableWindow , DefaultSelectedWindow , BattleCommand3D , BattleStatus3D , EscapeIcon , ReturnIcon , NewIcon , DefaultIcon , MenuChange , MapPlayerIcon , ArrowRight } |
基底クラス
Yukar.Common.Rom.RomItem
に属する継承公開型 |
|
| enum | ThumbnailStatusType { Empty = 0 , Creating , Created , Failed } |
| サムネイル画像生成状況
|
|
公開メンバ関数 |
|
| override void | onCatalogCleanup () |
| override void | postImport (string srcpath) |
| void | attachTexture (SharpKmyGfx.Texture texture) |
| void | initializeTexture () |
| override void | initializeKmyGfx () |
| override void | load (BinaryReader reader) |
| override void | save (BinaryWriter writer) |
| override void | CheckRecourceConsistency (Catalog inCatalog) |
| void | applyToEntity () |
| void | invalidateReferencedMaterialThumbnail () |
| override void | reImport () |
| override void | reload () |
| SharpKmyGfx.Texture | getTexture () |
| int | GetDivWidth () |
| int | GetDivHeight () |
| override bool | initializingAfterLoading () |
| override void | setNativeResourcePath (string inFolderPath) |
| システムプロジェクトyのネイティブリソースのフルパスを設定
[詳解]
|
|
基底クラス
Yukar.Common.Resource.ResourceItem
に属する継承公開メンバ関数 |
|
| 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のネイティブリソースのフルパスを設定
[詳解]
|
|
基底クラス
Yukar.Common.Rom.RomItem
に属する継承公開メンバ関数 |
|
| 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 string | makeCreatePath (string srcpath, bool overwrite=false) |
| static Texture | import (string srcpath, Shape inShape) |
| static Texture | import (string srcpath, string dstpath, Shape inShape=Shape._2D) |
| static Texture | createTextureResource (string path, Catalog catalog, bool srgb, bool addToCatalog, Shape shape, Usage usage, Slice slice, out bool isNew) |
| static System.Guid | GetCommonTextureGuid (CommonTexture commonTexture) |
| static System.Guid[] | GetCommonTextureGuidList () |
| static CommonTexture | GetCommonTextureFromGuid (System.Guid guid) |
| static bool | isCommonTextureGuid (System.Guid guid) |
| static System.Drawing.Bitmap | GetCommonTextureBitmapFromGuid (System.Guid guid) |
| static Texture | getDefaultCommonTexture (CommonTexture commonTexture) |
| static Texture | createErrorTexture (bool inSRGB) |
| static void | convertModelTexture (Catalog catalog, string basename, SharpKmyGfx.ModelData mdl, List< Texture > list, List< Material > mlist, MaterialSet mset) |
| static void | setReflectionMap (SharpKmyGfx.GameView gameview, string name) |
基底クラス
Yukar.Common.Resource.ResourceItem
に属する継承静的公開メンバ関数 |
|
| static string | makeCreateFilePath (Type inType, string inSrcPath, bool inIsOverWrite) |
| リソースファイルのコピー先のファイルパスの作成
[詳解]
|
|
基底クラス
Yukar.Common.Rom.RomItem
に属する継承静的公開メンバ関数 |
|
| 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) |
公開変数類 |
|
| string | importPath = "" |
| Shape | shape = Shape._2D |
| Usage | usage = Usage.Default |
| Slice | slice = Slice.NoSlice |
| bool | m_compress = false |
| bool | m_srgb = false |
| Wrap | wrapU = Wrap.Repeat |
| Wrap | wrapV = Wrap.Repeat |
| Wrap | wrapW = Wrap.Repeat |
| Filter | magFilter = Filter.Bilinear |
| Filter | minFilter = Filter.Bilinear |
| FillType | fillType = FillType.FILL_REPEAT |
| int | top = 0 |
| int | bottom = 0 |
| int | left = 0 |
| int | right = 0 |
| int | hsliceParam = 1 |
| int | vsliceParam = 1 |
| bool | keepAspectForWindow = false |
| SpriteOrigin | origin = SpriteOrigin.LEFT_TOP |
| bool | attachFromCatalog |
基底クラス
Yukar.Common.Resource.ResourceItem
に属する継承公開変数類 |
|
| Guid | dlcGuid = Guid.Empty |
| string | relatedPath = "" |
| string | path = ".\\" |
| Option | option = new Option() |
| ResourceSource | source = ResourceSource.RES_USER |
基底クラス
Yukar.Common.Rom.RomItem
に属する継承公開変数類 |
|
| Guid | guId |
| String | name |
| string | tags = "" |
| string | category = "" |
静的公開変数類 |
|
| static System.Guid | UnknownId = new System.Guid("B669D5FA-B579-4D4D-BC5B-9A4E11BA7CA5") |
基底クラス
Yukar.Common.Resource.ResourceItem
に属する継承静的公開変数類 |
|
| static ResourceSource | sCurrentSourceMode |
| static bool | sReferenceLoad = false |
| static bool | sClipboardLoad = false |
| const string | TAG_3D = "#3D" |
| const string | TAG_2D = "#2D" |
| static Guid | sCurrentSourceGuid |
基底クラス
Yukar.Common.Rom.RomItem
に属する継承静的公開変数類 |
|
| 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 void | afterRenamePath (string inNewPath) |
基底クラス
Yukar.Common.Resource.ResourceItem
に属する継承限定公開メンバ関数 |
|
| virtual bool | IsErrorImp (bool inCheckDispOnly) |
| string | checkReImportPath (string importPath, string filter) |
| virtual List< ResourceHolder > | GetResourceHolderList () |
| void | updateSetuppedThumbnail () |
| virtual void | afterRenamePath (string inNewPath) |
基底クラス
Yukar.Common.Rom.RomItem
に属する継承限定公開メンバ関数 |
|
| virtual void | Dispose (bool disposing) |
プロパティ |
|
| override string |
ImportPath
[get, set]
|
| bool |
m_genmipmap
[get]
|
| int |
ShapeType
[get, set]
|
| int |
ChannelType
[get, set]
|
| int |
SliceType
[get, set]
|
| bool |
Srgb
[get, set]
|
| int |
WrapU
[get, set]
|
| int |
WrapV
[get, set]
|
| int |
WrapW
[get, set]
|
| int |
MagFilter
[get, set]
|
| int |
MinFilter
[get, set]
|
| int |
WindowFillType
[get, set]
|
| int |
Top
[get, set]
|
| int |
Bottom
[get, set]
|
| int |
Left
[get, set]
|
| int |
Right
[get, set]
|
| int |
HsliceParam
[get, set]
|
| int |
VsliceParam
[get, set]
|
| int |
Origin
[get, set]
|
| bool |
Compress
[get, set]
|
| bool |
ShrinkEdge
[get, set]
|
| bool |
KeepAspect
[get, set]
|
| bool |
IsShrinkEdge
[get]
|
| override string |
SourceFileName
[get]
|
| override int |
RefCount
[get]
|
| override bool |
UseRefCount
[get]
|
| int |
Width
[get, set]
|
| int |
Height
[get, set]
|
| int |
NumBits
[get, set]
|
| string |
ImageType
[get]
|
基底クラス
Yukar.Common.Resource.ResourceItem
に属する継承プロパティ |
|
| string |
SourcePath
[get]
|
| virtual string |
ImportPath
[get, set]
|
| virtual string |
SourceFileName
[get]
|
| string |
SourceFolderName
[get]
|
| int |
StampType
[get, set]
|
| string |
resourcePath
[get, set]
|
基底クラス
Yukar.Common.Rom.RomItem
に属する継承プロパティ |
|
| 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]
|
テクスチャリソースを管理するクラス
|
protected virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
protected virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
システムプロジェクトyのネイティブリソースのフルパスを設定
| inFolderPath | プロジェクトのカレントフォルダパス |
Yukar.Common.Resource.ResourceItemを再実装しています。