MaterialLibrary Class Reference

MaterialLibrary Class Reference

Class Description

A collection of materials and texture maps.
+ Inheritance diagram for MaterialLibrary:

Public Member Functions

def Add (self, args)
 
def DeleteAll (self)
 
def FileOpenMatLib (args)
 
def FileSaveAsMatLib (args)
 
def FileSaveMatLib (args)
 
def FindMaterial (self, args)
 
def FindMaterialByName (self, args)
 
def GetCurrentLibrary ()
 
def GetMaterial (self, args)
 
def GetNumMaterials (self)
 
def GetNumSceneMaterials ()
 
def GetSceneMaterial (args)
 
def GetSceneMaterialLibrary ()
 
def LoadDefaultMaterialLibrary ()
 
def Remove (self, args)
 
- Public Member Functions inherited from ReferenceTarget
def FindDependentNode (self)
 
def MaybeAutoDelete (self)
 
def NotifyTarget (self, args)
 
- Public Member Functions inherited from ReferenceMaker
def ClearFlagInHierarchy (self, args)
 
def DeleteMe (self)
 
def DeleteReference (self, args)
 
def FindRef (self, args)
 
def GetNumRefs (self)
 
def GetReference (self, args)
 
def NotifyChanged (self)
 
def NotifyDependents (self, args)
 
def ReplaceReference (self, args)
 
def RescaleWorldUnits (self, args)
 
- Public Member Functions inherited from Animatable
def AddNewKey (self, args)
 
def AssignController (self, args)
 
def CanAssignController (self, args)
 
def CanCopyAnim (self)
 
def CanCopyTrack (self, args)
 
def CanDeleteSubAnim (self, args)
 
def CanMakeUnique (self)
 
def ClearAFlag (self, args)
 
def ClearAFlagEx (self, args)
 
def ClearAllAppData (self)
 
def ClearFlagBit (self, args)
 
def ClearFlagInAllAnimatables (args)
 
def CopyKeysFromTime (self, args)
 
def DeleteAppData (self, args)
 
def DeleteKeyAtTime (self, args)
 
def DeleteKeyByIndex (self, args)
 
def DeleteKeys (self, args)
 
def DeleteSubAnim (self, args)
 
def DeleteTime (self, args)
 
def DoesSupportTimeOperations (self)
 
def EditTimeRange (self, args)
 
def FreeCaches (self)
 
def GetAnimByHandle (args)
 
def GetAnimHandle (self)
 
def GetAppData (self, args)
 
def GetClassID (self)
 
def GetClassName (self)
 
def GetCustomAttributeContainer (self)
 
def GetHasSubElements
 
def GetKeyIndex (self, args)
 
def GetKeyTime (self, args)
 
def GetNextKeyTime (self, args)
 
def GetNodeName (self)
 
def GetNumKeys (self)
 
def GetNumSubAnims (self)
 
def GetParameterBlock (self)
 
def GetSubAnim (self, args)
 
def GetSubAnimName (self, args)
 
def GetSuperClassID (self)
 
def GetTimeRange (self, args)
 
def InsertTime (self, args)
 
def IsAnimated (self)
 
def IsKeyAtTime (self, args)
 
def IsSubClassOf (self, args)
 
def MoveKeys (self, args)
 
def ReverseTime (self, args)
 
def ScaleKeyValues (self, args)
 
def ScaleTime (self, args)
 
def SetAFlag (self, args)
 
def SetAFlagEx (self, args)
 
def SetAppData (self, args)
 
def SetFlagBit (self, args)
 
def SubNumToRefNum (self, args)
 
def TestAFlag (self, args)
 
def TestAFlagEx (self, args)
 
def TestFlagBit (self, args)
 
- Public Member Functions inherited from InterfaceServer
def GetInterface (self, args)
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr (self)
 

Static Public Attributes

tuple FileOpenMatLib = staticmethod(FileOpenMatLib)
 
tuple FileSaveAsMatLib = staticmethod(FileSaveAsMatLib)
 
tuple FileSaveMatLib = staticmethod(FileSaveMatLib)
 
tuple GetCurrentLibrary = staticmethod(GetCurrentLibrary)
 
tuple GetNumSceneMaterials = staticmethod(GetNumSceneMaterials)
 
tuple GetSceneMaterial = staticmethod(GetSceneMaterial)
 
tuple GetSceneMaterialLibrary = staticmethod(GetSceneMaterialLibrary)
 
tuple LoadDefaultMaterialLibrary = staticmethod(LoadDefaultMaterialLibrary)
 
tuple Materials = _swig_property(lambda self: (self.GetMaterial(i) for i in xrange(self.GetNumMaterials())))
 
tuple NumMaterials = _swig_property(GetNumMaterials)
 
tuple SceneMaterials = _swig_property(lambda self: (self.GetSceneMaterial(i) for i in xrange(self.GetNumSceneMaterials())))
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from ReferenceTarget
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from ReferenceMaker
tuple NumRefs = _swig_property(GetNumRefs)
 
tuple Refs = _swig_property(lambda self: (self.GetReference(i) for i in xrange(self.GetNumRefs())))
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from Animatable
tuple AnimHandle = _swig_property(GetAnimHandle)
 
tuple ClassID = _swig_property(GetClassID)
 
tuple ClearFlagInAllAnimatables = staticmethod(ClearFlagInAllAnimatables)
 
tuple GetAnimByHandle = staticmethod(GetAnimByHandle)
 
tuple KeyTimes = _swig_property(lambda self: (self.GetKeyTime(i) for i in xrange(self.GetNumKeys())))
 
tuple NodeName = _swig_property(GetNodeName)
 
tuple NumSubAnims = _swig_property(GetNumSubAnims)
 
tuple ParameterBlock = _swig_property(GetParameterBlock)
 
tuple SubAnimNames = _swig_property(lambda self: (self.GetSubAnimName(i) for i in xrange(self.GetNumSubAnims())))
 
tuple SubAnims = _swig_property(lambda self: (self.GetSubAnim(i) for i in xrange(self.GetNumSubAnims())))
 
tuple SuperClassID = _swig_property(GetSuperClassID)
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from InterfaceServer
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from Wrapper
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def Add (   self,
  args 
)
Add(MaterialLibrary self, MtlBase m)
def DeleteAll (   self)
DeleteAll(MaterialLibrary self)
def FileOpenMatLib (   args)
FileOpenMatLib(HWND hWnd)
def FileSaveAsMatLib (   args)
FileSaveAsMatLib(HWND hWnd)
def FileSaveMatLib (   args)
FileSaveMatLib(HWND hWnd)
def FindMaterial (   self,
  args 
)
FindMaterial(MaterialLibrary self, MtlBase m) -> int
def FindMaterialByName (   self,
  args 
)
FindMaterialByName(MaterialLibrary self, wchar_t const * name) -> int
def GetCurrentLibrary ( )
GetCurrentLibrary() -> MaterialLibrary
def GetMaterial (   self,
  args 
)
GetMaterial(MaterialLibrary self, int i) -> MtlBase
def GetNumMaterials (   self)
GetNumMaterials(MaterialLibrary self) -> int
def GetNumSceneMaterials ( )
GetNumSceneMaterials() -> int
def GetSceneMaterial (   args)
GetSceneMaterial(int i) -> MtlBase
def GetSceneMaterialLibrary ( )
GetSceneMaterialLibrary() -> MaterialLibrary
def LoadDefaultMaterialLibrary ( )
LoadDefaultMaterialLibrary()
def Remove (   self,
  args 
)
Remove(MaterialLibrary self, MtlBase m)