Mtl Class Reference

Class Description

Material base class.
+ Inheritance diagram for Mtl:

Public Member Functions

def CombineMaterials (args)
 
def CopySubMtl (self, args)
 
def GetActiveTexmap (self)
 
def GetAmbient
 
def GetDiffuse
 
def GetNumSubMtls (self)
 
def GetSelfIllum
 
def GetSelfIllumColor
 
def GetSelfIllumColorOn
 
def GetShininess
 
def GetShinyStrength
 
def GetSpecular
 
def GetSubMtl (self, args)
 
def GetSubMtlSlotName (self, args)
 
def GetSubMtlTVName (self, args)
 
def GetWireSize
 
def GetXParency
 
def SetActiveTexmap (self, args)
 
def SetAmbient (self, args)
 
def SetDiffuse (self, args)
 
def SetShininess (self, args)
 
def SetSpecular (self, args)
 
def SetSubMtl (self, args)
 
def SupportsRenderElements (self)
 
def SupportsShaders (self)
 
def VPDisplaySubMtl (self)
 
- Public Member Functions inherited from MtlBase
def ActivateTexDisplay (self, args)
 
def AnyMulti (self)
 
def ClearMtlFlag (self, args)
 
def DeactivateMapsInTree (self)
 
def GetActiveMB (self)
 
def GetFullName (self)
 
def GetGBufID (self)
 
def GetMeditObjType (self)
 
def GetMEditRotate (self)
 
def GetMeditTiling (self)
 
def GetName (self)
 
def GetRefTarget (self)
 
def GetTransparencyHint (self, args)
 
def IsMultiMtl (self)
 
def LocalMappingsRequired (self, args)
 
def LocalRequirements (self, args)
 
def MappingsRequired (self, args)
 
def MapSlotType (self, args)
 
def Requirements (self, args)
 
def Reset (self)
 
def SetActiveMB (self, args)
 
def SetGBufID (self, args)
 
def SetMeditObjType (self, args)
 
def SetMeditTiling (self, args)
 
def SetMtlFlag (self, args)
 
def SetName (self, args)
 
def SupportsMultiMapsInViewport (self)
 
def SupportTexDisplay (self)
 
def TestMtlFlag (self, args)
 
def TextureDisplayEnabled (self)
 
def Update (self, args)
 
def Validity (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 Ambient = _swig_property(GetAmbient, SetAmbient)
 
tuple CombineMaterials = staticmethod(CombineMaterials)
 
tuple Diffuse = _swig_property(GetDiffuse, SetDiffuse)
 
tuple SelfIllumColor = _swig_property(GetSelfIllumColor, SetSpecular)
 
tuple Shininess = _swig_property(GetShininess, SetShininess)
 
tuple Specular = _swig_property(GetSpecular, SetSpecular)
 
tuple SubMtls = _swig_property(lambda self: (self.GetSubMtl(i) for i in xrange(self.GetNumSubMtls())))
 
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 MtlBase
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 CombineMaterials (   args)
CombineMaterials(Mtl mat1, Mtl mat2, int & mat2Offset) -> Mtl
def CopySubMtl (   self,
  args 
)
CopySubMtl(Mtl self, HWND hwnd, int ifrom, int ito)
def GetActiveTexmap (   self)
GetActiveTexmap(Mtl self) -> MtlBase
def GetAmbient (   self,
  mtlNum = 0,
  backFace = True 
)
GetAmbient(Mtl self, int mtlNum=0, bool backFace=True) -> Color
GetAmbient(Mtl self, int mtlNum=0) -> Color
GetAmbient(Mtl self) -> Color
def GetDiffuse (   self,
  mtlNum = 0,
  backFace = True 
)
GetDiffuse(Mtl self, int mtlNum=0, bool backFace=True) -> Color
GetDiffuse(Mtl self, int mtlNum=0) -> Color
GetDiffuse(Mtl self) -> Color
def GetNumSubMtls (   self)
GetNumSubMtls(Mtl self) -> int
def GetSelfIllum (   self,
  mtlNum = 0,
  backFace = True 
)
GetSelfIllum(Mtl self, int mtlNum=0, bool backFace=True) -> float
GetSelfIllum(Mtl self, int mtlNum=0) -> float
GetSelfIllum(Mtl self) -> float
def GetSelfIllumColor (   self,
  mtlNum = 0,
  backFace = True 
)
GetSelfIllumColor(Mtl self, int mtlNum=0, bool backFace=True) -> Color
GetSelfIllumColor(Mtl self, int mtlNum=0) -> Color
GetSelfIllumColor(Mtl self) -> Color
def GetSelfIllumColorOn (   self,
  mtlNum = 0,
  backFace = True 
)
GetSelfIllumColorOn(Mtl self, int mtlNum=0, bool backFace=True) -> bool
GetSelfIllumColorOn(Mtl self, int mtlNum=0) -> bool
GetSelfIllumColorOn(Mtl self) -> bool
def GetShininess (   self,
  mtlNum = 0,
  backFace = True 
)
GetShininess(Mtl self, int mtlNum=0, bool backFace=True) -> float
GetShininess(Mtl self, int mtlNum=0) -> float
GetShininess(Mtl self) -> float
def GetShinyStrength (   self,
  mtlNum = 0,
  backFace = True 
)
GetShinyStrength(Mtl self, int mtlNum=0, bool backFace=True) -> float
GetShinyStrength(Mtl self, int mtlNum=0) -> float
GetShinyStrength(Mtl self) -> float
def GetSpecular (   self,
  mtlNum = 0,
  backFace = True 
)
GetSpecular(Mtl self, int mtlNum=0, bool backFace=True) -> Color
GetSpecular(Mtl self, int mtlNum=0) -> Color
GetSpecular(Mtl self) -> Color
def GetSubMtl (   self,
  args 
)
GetSubMtl(Mtl self, int i) -> Mtl
def GetSubMtlSlotName (   self,
  args 
)
GetSubMtlSlotName(Mtl self, int i) -> WStr
def GetSubMtlTVName (   self,
  args 
)
GetSubMtlTVName(Mtl self, int i) -> WStr
def GetWireSize (   self,
  mtlNum = 0,
  backFace = True 
)
GetWireSize(Mtl self, int mtlNum=0, bool backFace=True) -> float
GetWireSize(Mtl self, int mtlNum=0) -> float
GetWireSize(Mtl self) -> float
def GetXParency (   self,
  mtlNum = 0,
  backFace = True 
)
GetXParency(Mtl self, int mtlNum=0, bool backFace=True) -> float
GetXParency(Mtl self, int mtlNum=0) -> float
GetXParency(Mtl self) -> float
def SetActiveTexmap (   self,
  args 
)
SetActiveTexmap(Mtl self, MtlBase txm)
def SetAmbient (   self,
  args 
)
SetAmbient(Mtl self, Color c, TimeValue t=Autodesk::Max::Now())
SetAmbient(Mtl self, Color c)
def SetDiffuse (   self,
  args 
)
SetDiffuse(Mtl self, Color c, TimeValue t=Autodesk::Max::Now())
SetDiffuse(Mtl self, Color c)
def SetShininess (   self,
  args 
)
SetShininess(Mtl self, float v, TimeValue t=Autodesk::Max::Now())
SetShininess(Mtl self, float v)
def SetSpecular (   self,
  args 
)
SetSpecular(Mtl self, Color c, TimeValue t=Autodesk::Max::Now())
SetSpecular(Mtl self, Color c)
def SetSubMtl (   self,
  args 
)
SetSubMtl(Mtl self, int i, Mtl m)
def SupportsRenderElements (   self)
SupportsRenderElements(Mtl self) -> bool
def SupportsShaders (   self)
SupportsShaders(Mtl self) -> bool
def VPDisplaySubMtl (   self)
VPDisplaySubMtl(Mtl self) -> int