MaxPlus Python API Reference
StdMat Class Reference
+ Inheritance diagram for StdMat:

Public Member Functions

def GetFaceMap (self)
 
def GetFalloffOut (self)
 
def GetFilter (self, *args)
 
def GetIOR (self, *args)
 
def GetLockAmbDiffTex (self)
 
def GetMapEnabled (self, *args)
 
def GetMapName (self, *args)
 
def GetMapState (self, *args)
 
def GetOpacFalloff (self, *args)
 
def GetOpacity (self, *args)
 
def GetReflectionDim (self, *args)
 
def GetSamplingOn (self)
 
def GetSelfIllum (self, *args)
 
def GetSelfIllumColor (self, *args)
 
def GetShading (self)
 
def GetShinyStrength (self, *args)
 
def GetSoften (self)
 
def GetTexmapAmt (self, *args)
 
def GetTransparencyType (self)
 
def GetTwoSided (self)
 
def GetWire (self)
 
def GetWireSize (self, *args)
 
def GetWireUnits (self)
 
def IsFaceted (self)
 
def KeyAtTimeByID (self, *args)
 
def SetEnableMap (self, *args)
 
def SetFaceMap (self, *args)
 
def SetFaceted (self, *args)
 
def SetFalloffOut (self, *args)
 
def SetFilter (self, *args)
 
def SetIOR (self, *args)
 
def SetLockAmbDiffTex (self, *args)
 
def SetOpacFalloff (self, *args)
 
def SetOpacity (self, *args)
 
def SetSamplingOn (self, *args)
 
def SetSelfIllum (self, *args)
 
def SetSelfIllumColor (self, *args)
 
def SetSelfIllumColorOn (self, *args)
 
def SetShading (self, *args)
 
def SetShinyStrength (self, *args)
 
def SetSoften (self, *args)
 
def SetTexmapAmt (self, *args)
 
def SetTransparencyType (self, *args)
 
def SetTwoSided (self, *args)
 
def SetWire (self, *args)
 
def SetWireSize (self, *args)
 
def SetWireUnits (self, *args)
 
def StdIDToChannel (self, *args)
 
def SwitchSampler (self, *args)
 
def SwitchShader (self, *args)
 
def SyncADTexLock (self, *args)
 
def TranspColor (self, *args)
 
- Public Member Functions inherited from Mtl
def CombineMaterials (*args)
 
def CopySubMtl (self, *args)
 
def GetActiveTexmap (self)
 
def GetAmbient (self, mtlNum=0, backFace=True)
 
def GetDiffuse (self, mtlNum=0, backFace=True)
 
def GetNumSubMtls (self)
 
def GetSelfIllum (self, mtlNum=0, backFace=True)
 
def GetSelfIllumColor (self, mtlNum=0, backFace=True)
 
def GetSelfIllumColorOn (self, mtlNum=0, backFace=True)
 
def GetShininess (self, mtlNum=0, backFace=True)
 
def GetShinyStrength (self, mtlNum=0, backFace=True)
 
def GetSpecular (self, mtlNum=0, backFace=True)
 
def GetSubMtl (self, *args)
 
def GetSubMtlSlotName (self, *args)
 
def GetSubMtlTVName (self, *args)
 
def GetWireSize (self, mtlNum=0, backFace=True)
 
def GetXParency (self, mtlNum=0, backFace=True)
 
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 (self, type=0)
 
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

 FaceMap = _swig_property(GetFaceMap, SetFaceMap)
 
 FalloffOut = _swig_property(GetFalloffOut, SetFalloffOut)
 
 Filter = _swig_property(GetFilter, SetFilter)
 
 IOR = _swig_property(GetIOR, SetIOR)
 
 LockAmbDiffTex = _swig_property(GetLockAmbDiffTex, SetLockAmbDiffTex)
 
 Opacity = _swig_property(GetOpacity, SetOpacity)
 
 OpacityFalloff = _swig_property(GetOpacFalloff, SetOpacFalloff)
 
 SamplingOn = _swig_property(GetSamplingOn, SetSamplingOn)
 
 SelfIllum = _swig_property(GetSelfIllum, SetSelfIllum)
 
 Shading = _swig_property(GetShading, SetShading)
 
 ShinyStrength = _swig_property(GetShinyStrength, SetShinyStrength)
 
 Soften = _swig_property(GetSoften, SetSoften)
 
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
 TransparencyType = _swig_property(GetTransparencyType, SetTransparencyType)
 
 TwoSided = _swig_property(GetTwoSided, SetTwoSided)
 
 Wire = _swig_property(GetWire, SetWire)
 
 WireSize = _swig_property(GetWireSize, SetWireSize)
 
 WireUnits = _swig_property(GetWireUnits, SetWireUnits)
 
- Static Public Attributes inherited from Mtl
 Ambient = _swig_property(GetAmbient, SetAmbient)
 
 CombineMaterials = staticmethod(CombineMaterials)
 
 Diffuse = _swig_property(GetDiffuse, SetDiffuse)
 
 SelfIllumColor = _swig_property(GetSelfIllumColor, SetSpecular)
 
 Shininess = _swig_property(GetShininess, SetShininess)
 
 Specular = _swig_property(GetSpecular, SetSpecular)
 
 SubMtls = _swig_property(lambda self: (self.GetSubMtl(i) for i in xrange(self.GetNumSubMtls())))
 
 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
 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
 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
 NumRefs = _swig_property(GetNumRefs)
 
 Refs = _swig_property(lambda self: (self.GetReference(i) for i in xrange(self.GetNumRefs())))
 
 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
 AnimHandle = _swig_property(GetAnimHandle)
 
 ClassID = _swig_property(GetClassID)
 
 ClearFlagInAllAnimatables = staticmethod(ClearFlagInAllAnimatables)
 
 GetAnimByHandle = staticmethod(GetAnimByHandle)
 
 KeyTimes = _swig_property(lambda self: (self.GetKeyTime(i) for i in xrange(self.GetNumKeys())))
 
 NodeName = _swig_property(GetNodeName)
 
 NumSubAnims = _swig_property(GetNumSubAnims)
 
 ParameterBlock = _swig_property(GetParameterBlock)
 
 SubAnimNames = _swig_property(lambda self: (self.GetSubAnimName(i) for i in xrange(self.GetNumSubAnims())))
 
 SubAnims = _swig_property(lambda self: (self.GetSubAnim(i) for i in xrange(self.GetNumSubAnims())))
 
 SuperClassID = _swig_property(GetSuperClassID)
 
 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
 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
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed Description

Standard material.

Member Function Documentation

◆ GetFaceMap()

def GetFaceMap (   self)
GetFaceMap(StdMat self) -> bool

◆ GetFalloffOut()

def GetFalloffOut (   self)
GetFalloffOut(StdMat self) -> bool

◆ GetFilter()

def GetFilter (   self,
args 
)
GetFilter(StdMat self, TimeValue t=Autodesk::Max::Now()) -> Color
GetFilter(StdMat self) -> Color

◆ GetIOR()

def GetIOR (   self,
args 
)
GetIOR(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetIOR(StdMat self) -> float

◆ GetLockAmbDiffTex()

def GetLockAmbDiffTex (   self)
GetLockAmbDiffTex(StdMat self) -> bool

◆ GetMapEnabled()

def GetMapEnabled (   self,
args 
)
GetMapEnabled(StdMat self, int id) -> bool

◆ GetMapName()

def GetMapName (   self,
args 
)
GetMapName(StdMat self, int indx) -> WStr

◆ GetMapState()

def GetMapState (   self,
args 
)
GetMapState(StdMat self, int indx) -> int

◆ GetOpacFalloff()

def GetOpacFalloff (   self,
args 
)
GetOpacFalloff(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetOpacFalloff(StdMat self) -> float

◆ GetOpacity()

def GetOpacity (   self,
args 
)
GetOpacity(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetOpacity(StdMat self) -> float

◆ GetReflectionDim()

def GetReflectionDim (   self,
args 
)
GetReflectionDim(StdMat self, float diffIllumIntensity) -> float

◆ GetSamplingOn()

def GetSamplingOn (   self)
GetSamplingOn(StdMat self) -> bool

◆ GetSelfIllum()

def GetSelfIllum (   self,
args 
)
GetSelfIllum(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetSelfIllum(StdMat self) -> float

◆ GetSelfIllumColor()

def GetSelfIllumColor (   self,
args 
)
GetSelfIllumColor(StdMat self, TimeValue t) -> Color

◆ GetShading()

def GetShading (   self)
GetShading(StdMat self) -> int

◆ GetShinyStrength()

def GetShinyStrength (   self,
args 
)
GetShinyStrength(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetShinyStrength(StdMat self) -> float

◆ GetSoften()

def GetSoften (   self)
GetSoften(StdMat self) -> bool

◆ GetTexmapAmt()

def GetTexmapAmt (   self,
args 
)
GetTexmapAmt(StdMat self, int id, TimeValue t=Autodesk::Max::Now()) -> float
GetTexmapAmt(StdMat self, int id) -> float

◆ GetTransparencyType()

def GetTransparencyType (   self)
GetTransparencyType(StdMat self) -> int

◆ GetTwoSided()

def GetTwoSided (   self)
GetTwoSided(StdMat self) -> bool

◆ GetWire()

def GetWire (   self)
GetWire(StdMat self) -> bool

◆ GetWireSize()

def GetWireSize (   self,
args 
)
GetWireSize(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetWireSize(StdMat self) -> float

◆ GetWireUnits()

def GetWireUnits (   self)
GetWireUnits(StdMat self) -> bool

◆ IsFaceted()

def IsFaceted (   self)
IsFaceted(StdMat self) -> bool

◆ KeyAtTimeByID()

def KeyAtTimeByID (   self,
args 
)
KeyAtTimeByID(StdMat self, ParamID id, TimeValue t) -> bool

◆ SetEnableMap()

def SetEnableMap (   self,
args 
)
SetEnableMap(StdMat self, int id, bool onoff)

◆ SetFaceMap()

def SetFaceMap (   self,
args 
)
SetFaceMap(StdMat self, bool onoff)

◆ SetFaceted()

def SetFaceted (   self,
args 
)
SetFaceted(StdMat self, bool on)

◆ SetFalloffOut()

def SetFalloffOut (   self,
args 
)
SetFalloffOut(StdMat self, bool onOff)

◆ SetFilter()

def SetFilter (   self,
args 
)
SetFilter(StdMat self, Color c, TimeValue t=Autodesk::Max::Now())
SetFilter(StdMat self, Color c)

◆ SetIOR()

def SetIOR (   self,
args 
)
SetIOR(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetIOR(StdMat self, float v)

◆ SetLockAmbDiffTex()

def SetLockAmbDiffTex (   self,
args 
)
SetLockAmbDiffTex(StdMat self, bool onOff)

◆ SetOpacFalloff()

def SetOpacFalloff (   self,
args 
)
SetOpacFalloff(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetOpacFalloff(StdMat self, float v)

◆ SetOpacity()

def SetOpacity (   self,
args 
)
SetOpacity(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetOpacity(StdMat self, float v)

◆ SetSamplingOn()

def SetSamplingOn (   self,
args 
)
SetSamplingOn(StdMat self, bool onOff)

◆ SetSelfIllum()

def SetSelfIllum (   self,
args 
)
SetSelfIllum(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetSelfIllum(StdMat self, float v)

◆ SetSelfIllumColor()

def SetSelfIllumColor (   self,
args 
)
SetSelfIllumColor(StdMat self, Color c, TimeValue t)

◆ SetSelfIllumColorOn()

def SetSelfIllumColorOn (   self,
args 
)
SetSelfIllumColorOn(StdMat self, bool on)

◆ SetShading()

def SetShading (   self,
args 
)
SetShading(StdMat self, int s)

◆ SetShinyStrength()

def SetShinyStrength (   self,
args 
)
SetShinyStrength(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetShinyStrength(StdMat self, float v)

◆ SetSoften()

def SetSoften (   self,
args 
)
SetSoften(StdMat self, bool onoff)

◆ SetTexmapAmt()

def SetTexmapAmt (   self,
args 
)
SetTexmapAmt(StdMat self, int id, float amt, TimeValue t=Autodesk::Max::Now())
SetTexmapAmt(StdMat self, int id, float amt)

◆ SetTransparencyType()

def SetTransparencyType (   self,
args 
)
SetTransparencyType(StdMat self, int type)

◆ SetTwoSided()

def SetTwoSided (   self,
args 
)
SetTwoSided(StdMat self, bool onoff)

◆ SetWire()

def SetWire (   self,
args 
)
SetWire(StdMat self, bool onoff)

◆ SetWireSize()

def SetWireSize (   self,
args 
)
SetWireSize(StdMat self, float s, TimeValue t=Autodesk::Max::Now())
SetWireSize(StdMat self, float s)

◆ SetWireUnits()

def SetWireUnits (   self,
args 
)
SetWireUnits(StdMat self, bool onOff)

◆ StdIDToChannel()

def StdIDToChannel (   self,
args 
)
StdIDToChannel(StdMat self, long id) -> long

◆ SwitchSampler()

def SwitchSampler (   self,
args 
)
SwitchSampler(StdMat self, Class_ID id) -> bool

◆ SwitchShader()

def SwitchShader (   self,
args 
)
SwitchShader(StdMat self, Class_ID id) -> bool

◆ SyncADTexLock()

def SyncADTexLock (   self,
args 
)
SyncADTexLock(StdMat self, bool lockOn)

◆ TranspColor()

def TranspColor (   self,
args 
)
TranspColor(StdMat self, float opac, Color filt, Color diff) -> Color