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

Public Member Functions

void TextureImportPlugin ()
 
bool IsImage (string className)
 
override void OnRegisterResource (string absFileName, BaseContainer metaFile)
 
override void OnRenameResource (string absFileNameOld, string absFileNameNew, 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
 
ref array< ref TextureTypem_TextureTypes = new array<ref TextureType>
 

Constructor & Destructor Documentation

◆ TextureImportPlugin()

void TextureImportPlugin.TextureImportPlugin ( )

Member Function Documentation

◆ Configure()

override void TextureImportPlugin.Configure ( )

Implements WorkbenchPlugin.

◆ IsImage()

bool TextureImportPlugin.IsImage ( string  className)

◆ OkButton()

void TextureImportPlugin.OkButton ( )

◆ OnRegisterResource()

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

Implements ResourceManagerPlugin.

◆ OnRenameResource()

override void TextureImportPlugin.OnRenameResource ( string  absFileNameOld,
string  absFileNameNew,
BaseContainer  metaFile 
)

Implements ResourceManagerPlugin.

Member Data Documentation

◆ Enabled

bool TextureImportPlugin.Enabled

◆ m_TextureTypes

ref array<ref TextureType> TextureImportPlugin.m_TextureTypes = new array<ref TextureType>

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