Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ResourceImportPlugin Interface Reference
Inheritance diagram for ResourceImportPlugin:
[legend]

Public Member Functions

void ResourceImportPlugin ()
 
override string OnGetMaterialGenerateDir (string absModelPath)
 Returns a directory where new default materials may be generated for given mesh object model (absModelPath).
 
override void OnRegisterResource (string absFileName, BaseContainer metaFile)
 
override void Configure ()
 
void OkButton ()
 
- Public Member Functions inherited from ResourceManagerPlugin
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)
 

Public Attributes

bool Enabled
 

Constructor & Destructor Documentation

◆ ResourceImportPlugin()

void ResourceImportPlugin.ResourceImportPlugin ( )

Member Function Documentation

◆ Configure()

override void ResourceImportPlugin.Configure ( )

Implements WorkbenchPlugin.

◆ OkButton()

void ResourceImportPlugin.OkButton ( )

◆ OnGetMaterialGenerateDir()

override string ResourceImportPlugin.OnGetMaterialGenerateDir ( string  absModelPath)

Returns a directory where new default materials may be generated for given mesh object model (absModelPath).

Implements ResourceManagerPlugin.

◆ OnRegisterResource()

override void ResourceImportPlugin.OnRegisterResource ( string  absFileName,
BaseContainer  metaFile 
)

Implements ResourceManagerPlugin.

Member Data Documentation

◆ Enabled

bool ResourceImportPlugin.Enabled

The documentation for this interface was generated from the following file: