mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merge branch 'ModernEditorLayoutWIP' of https://github.com/Areloch/Torque3D into development
This commit is contained in:
commit
3697737498
148 changed files with 3463 additions and 547 deletions
|
|
@ -36,7 +36,7 @@
|
|||
#include "sfx/sfxTypes.h"
|
||||
#include "core/util/safeDelete.h"
|
||||
#include "T3D/accumulationVolume.h"
|
||||
|
||||
#include "gui/controls/guiTreeViewCtrl.h"
|
||||
|
||||
IMPLEMENT_CONOBJECT( Material );
|
||||
|
||||
|
|
@ -709,6 +709,12 @@ DefineEngineMethod( Material, dumpInstances, void, (),,
|
|||
MATMGR->dumpMaterialInstances( object );
|
||||
}
|
||||
|
||||
DefineEngineMethod(Material, getMaterialInstances, void, (GuiTreeViewCtrl* matTree), (nullAsType< GuiTreeViewCtrl*>()),
|
||||
"Dumps a formatted list of the currently allocated material instances for this material to the console.")
|
||||
{
|
||||
MATMGR->getMaterialInstances(object, matTree);
|
||||
}
|
||||
|
||||
DefineEngineMethod( Material, getAnimFlags, const char*, (U32 id), , "" )
|
||||
{
|
||||
char * animFlags = Con::getReturnBuffer(512);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue