MaterialEditor Class Reference

MaterialEditor Class Reference
+ This reference page is linked to from the following overview topics:

Class Description

Material editor utility functions.
+ Inheritance diagram for MaterialEditor:

Public Member Functions

def CloseMtlDlg
 
def FindMtlNameInScene
 
def FlushMtlDlg
 
def GetActiveSlot
 
def GetMtlDlgMode
 
def GetNumSlots
 
def IsMtlDlgShowing
 
def IsMtlInstanced
 
def LoadMaterialLibrary
 
def OpenMtlDlg
 
def PutMaterial
 
def SaveMaterialLibrary
 
def SetActiveSlot
 
def SetMtlDlgMode
 
def SetSlot
 
def UnFlushMtlDlg
 
def UpdateMtlEditorBrackets
 

Static Public Attributes

tuple CloseMtlDlg = staticmethod(CloseMtlDlg)
 
tuple FindMtlNameInScene = staticmethod(FindMtlNameInScene)
 
tuple FlushMtlDlg = staticmethod(FlushMtlDlg)
 
tuple GetActiveSlot = staticmethod(GetActiveSlot)
 
tuple GetMtlDlgMode = staticmethod(GetMtlDlgMode)
 
tuple GetNumSlots = staticmethod(GetNumSlots)
 
tuple IsMtlDlgShowing = staticmethod(IsMtlDlgShowing)
 
tuple IsMtlInstanced = staticmethod(IsMtlInstanced)
 
tuple LoadMaterialLibrary = staticmethod(LoadMaterialLibrary)
 
tuple OpenMtlDlg = staticmethod(OpenMtlDlg)
 
tuple PutMaterial = staticmethod(PutMaterial)
 
tuple SaveMaterialLibrary = staticmethod(SaveMaterialLibrary)
 
tuple SetActiveSlot = staticmethod(SetActiveSlot)
 
tuple SetMtlDlgMode = staticmethod(SetMtlDlgMode)
 
tuple SetSlot = staticmethod(SetSlot)
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
tuple UnFlushMtlDlg = staticmethod(UnFlushMtlDlg)
 
tuple UpdateMtlEditorBrackets = staticmethod(UpdateMtlEditorBrackets)
 

Member Function Documentation

def CloseMtlDlg (   args)
CloseMtlDlg(int mode)
def FindMtlNameInScene (   args)
FindMtlNameInScene(WStr name) -> Mtl
def FlushMtlDlg ( )
FlushMtlDlg()
def GetActiveSlot ( )
GetActiveSlot() -> int
def GetMtlDlgMode ( )
GetMtlDlgMode() -> int
def GetNumSlots ( )
GetNumSlots() -> int
def IsMtlDlgShowing (   args)
IsMtlDlgShowing(int mode) -> bool
def IsMtlInstanced (   args)
IsMtlInstanced(MtlBase m) -> bool
def LoadMaterialLibrary (   args)
LoadMaterialLibrary(wchar_t const * name) -> int
def OpenMtlDlg (   args)
OpenMtlDlg(int mode)
def PutMaterial (   args)
PutMaterial(MtlBase mtl, MtlBase oldMtl, bool delOld=1)
PutMaterial(MtlBase mtl, MtlBase oldMtl)
def SaveMaterialLibrary (   args)
SaveMaterialLibrary(wchar_t const * name) -> int
def SetActiveSlot (   args)
SetActiveSlot(int i)
def SetMtlDlgMode (   args)
SetMtlDlgMode(int mode)
def SetSlot (   args)
SetSlot(int i, MtlBase m)
def UnFlushMtlDlg ( )
UnFlushMtlDlg()
def UpdateMtlEditorBrackets ( )
UpdateMtlEditorBrackets()