Enfusion Script API
|
Public Member Functions | |
void | OnRegisterResource (string absFileName, BaseContainer metaFile) |
BuildResourceContext | OnBuildResource (string absFileName, BaseContainer metaFile, GeneratedResources generatedResources) |
void | OnRenameResource (string absFileNameOld, string absFileNameNew, BaseContainer metaFile) |
string | OnGetMaterialGenerateDir (string absModelPath) |
Returns a directory where new default materials may be generated for given mesh object model (absModelPath ). | |
string | OnGetMaterialClassName (string absMaterialPath, GeneratedResources generatedResources) |
Returns suggested MaterialClass name for given material path. | |
void | OnMaterialCreated (string absMaterialPath, BaseContainer materialSrc, GeneratedResources generatedResources) |
Public Member Functions inherited from WorkbenchPlugin | |
void | Run () |
void | RunCommandline () |
void | Configure () |
void | OnResourceContextMenu (notnull array< ResourceName > resources) |
Public Member Functions inherited from Managed | |
proto external ref Managed | Clone () |
Return shallow copy of object, or null if it is not allowed (not public constructor) | |
BuildResourceContext ResourceManagerPlugin.OnBuildResource | ( | string | absFileName, |
BaseContainer | metaFile, | ||
GeneratedResources | generatedResources | ||
) |
string ResourceManagerPlugin.OnGetMaterialClassName | ( | string | absMaterialPath, |
GeneratedResources | generatedResources | ||
) |
Returns suggested MaterialClass name for given material path.
Returns a directory where new default materials may be generated for given mesh object model (absModelPath
).
Implemented in ResourceImportPlugin.
void ResourceManagerPlugin.OnMaterialCreated | ( | string | absMaterialPath, |
BaseContainer | materialSrc, | ||
GeneratedResources | generatedResources | ||
) |
void ResourceManagerPlugin.OnRegisterResource | ( | string | absFileName, |
BaseContainer | metaFile | ||
) |
Implemented in ResourceImportPlugin, TerrainImportPlugin, and TextureImportPlugin.
void ResourceManagerPlugin.OnRenameResource | ( | string | absFileNameOld, |
string | absFileNameNew, | ||
BaseContainer | metaFile | ||
) |
Implemented in TextureImportPlugin.