StdMat Class Reference

Class Description

Standard material.
+ Inheritance diagram for StdMat:

Public Member Functions

def GetFaceMap
 
def GetFalloffOut
 
def GetFilter
 
def GetIOR
 
def GetLockAmbDiffTex
 
def GetMapEnabled
 
def GetMapName
 
def GetMapState
 
def GetOpacFalloff
 
def GetOpacity
 
def GetReflectionDim
 
def GetSamplingOn
 
def GetSelfIllum
 
def GetSelfIllumColor
 
def GetSelfIllumColorOn
 
def GetShading
 
def GetShinyStrength
 
def GetSoften
 
def GetTexmapAmt
 
def GetTransparencyType
 
def GetTwoSided
 
def GetWire
 
def GetWireSize
 
def GetWireUnits
 
def IsFaceted
 
def KeyAtTimeByID
 
def SetEnableMap
 
def SetFaceMap
 
def SetFaceted
 
def SetFalloffOut
 
def SetFilter
 
def SetIOR
 
def SetLockAmbDiffTex
 
def SetOpacFalloff
 
def SetOpacity
 
def SetSamplingOn
 
def SetSelfIllum
 
def SetSelfIllumColor
 
def SetSelfIllumColorOn
 
def SetShading
 
def SetShinyStrength
 
def SetSoften
 
def SetTexmapAmt
 
def SetTransparencyType
 
def SetTwoSided
 
def SetWire
 
def SetWireSize
 
def SetWireUnits
 
def StdIDToChannel
 
def SupportsShaders
 
def SwitchSampler
 
def SwitchShader
 
def SyncADTexLock
 
def TranspColor
 
- Public Member Functions inherited from Mtl
def CombineMaterials
 
def CopySubMtl
 
def GetActiveTexmap
 
def GetAmbient
 
def GetDiffuse
 
def GetNumSubMtls
 
def GetSelfIllum
 
def GetSelfIllumColor
 
def GetSelfIllumColorOn
 
def GetShininess
 
def GetShinyStrength
 
def GetSpecular
 
def GetSubMtl
 
def GetSubMtlSlotName
 
def GetSubMtlTVName
 
def GetXParency
 
def SetActiveTexmap
 
def SetAmbient
 
def SetDiffuse
 
def SetShininess
 
def SetSpecular
 
def SetSubMtl
 
def SupportsRenderElements
 
def SupportsShaders
 
def VPDisplaySubMtl
 
def WireSize
 
- Public Member Functions inherited from MtlBase
def ActivateTexDisplay
 
def AnyMulti
 
def ClearMtlFlag
 
def DeactivateMapsInTree
 
def GetActiveMB
 
def GetFullName
 
def GetGBufID
 
def GetMeditObjType
 
def GetMEditRotate
 
def GetMeditTiling
 
def GetName
 
def GetRefTarget
 
def GetTransparencyHint
 
def IsMultiMtl
 
def LocalMappingsRequired
 
def LocalRequirements
 
def MappingsRequired
 
def MapSlotType
 
def Requirements
 
def Reset
 
def SetActiveMB
 
def SetGBufID
 
def SetMeditObjType
 
def SetMeditTiling
 
def SetMtlFlag
 
def SetName
 
def SupportsMultiMapsInViewport
 
def SupportTexDisplay
 
def TestMtlFlag
 
def TextureDisplayEnabled
 
def Update
 
def Validity
 
- Public Member Functions inherited from ReferenceTarget
def NotifyTarget
 
- Public Member Functions inherited from ReferenceMaker
def ClearFlagInHierarchy
 
def DeleteMe
 
def DeleteReference
 
def FindRef
 
def GetNumRefs
 
def GetReference
 
def NotifyChanged
 
def NotifyDependents
 
def ReplaceReference
 
def RescaleWorldUnits
 
- Public Member Functions inherited from Animatable
def AddNewKey
 
def AssignController
 
def CanAssignController
 
def CanCopyAnim
 
def CanCopyTrack
 
def CanDeleteSubAnim
 
def CanMakeUnique
 
def ClearAFlag
 
def ClearAFlagEx
 
def ClearFlagBit
 
def ClearFlagInAllAnimatables
 
def CopyKeysFromTime
 
def DeleteKeyAtTime
 
def DeleteKeyByIndex
 
def DeleteKeys
 
def DeleteSubAnim
 
def DeleteTime
 
def DoesSupportTimeOperations
 
def EditTimeRange
 
def FreeCaches
 
def GetAnimByHandle
 
def GetAnimHandle
 
def GetClassID
 
def GetClassName
 
def GetCustomAttributeContainer
 
def GetHasSubElements
 
def GetKeyIndex
 
def GetKeyTime
 
def GetNextKeyTime
 
def GetNodeName
 
def GetNumKeys
 
def GetNumSubAnims
 
def GetParameterBlock
 
def GetSubAnim
 
def GetSubAnimName
 
def GetSuperClassID
 
def GetTimeRange
 
def InsertTime
 
def IsAnimated
 
def IsKeyAtTime
 
def IsSubClassOf
 
def MoveKeys
 
def ReverseTime
 
def ScaleKeyValues
 
def ScaleTime
 
def SetAFlag
 
def SetAFlagEx
 
def SetFlagBit
 
def SubNumToRefNum
 
def TestAFlag
 
def TestAFlagEx
 
def TestFlagBit
 
- Public Member Functions inherited from InterfaceServer
def GetInterface
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr
 

Static Public Attributes

tuple FaceMap = _swig_property(GetFaceMap, SetFaceMap)
 
tuple FalloffOut = _swig_property(GetFalloffOut, SetFalloffOut)
 
tuple Filter = _swig_property(GetFilter, SetFilter)
 
tuple IOR = _swig_property(GetIOR, SetIOR)
 
tuple LockAmbDiffTex = _swig_property(GetLockAmbDiffTex, SetLockAmbDiffTex)
 
tuple Opacity = _swig_property(GetOpacity, SetOpacity)
 
tuple OpacityFalloff = _swig_property(GetOpacFalloff, SetOpacFalloff)
 
tuple SamplingOn = _swig_property(GetSamplingOn, SetSamplingOn)
 
tuple SelfIllum = _swig_property(GetSelfIllum, SetSelfIllum)
 
tuple Shading = _swig_property(GetShading, SetShading)
 
tuple ShinyStrength = _swig_property(GetShinyStrength, SetShinyStrength)
 
tuple Soften = _swig_property(GetSoften, SetSoften)
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
tuple TransparencyType = _swig_property(GetTransparencyType, SetTransparencyType)
 
tuple TwoSided = _swig_property(GetTwoSided, SetTwoSided)
 
tuple Wire = _swig_property(GetWire, SetWire)
 
tuple WireSize = _swig_property(GetWireSize, SetWireSize)
 
tuple WireUnits = _swig_property(GetWireUnits, SetWireUnits)
 
- Static Public Attributes inherited from Mtl
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 ShinyStrength = _swig_property(GetShinyStrength)
 
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 GetFaceMap (   self)
GetFaceMap(StdMat self) -> bool
def GetFalloffOut (   self)
GetFalloffOut(StdMat self) -> bool
def GetFilter (   self,
  args 
)
GetFilter(StdMat self, TimeValue t=Autodesk::Max::Now()) -> Color
GetFilter(StdMat self) -> Color
def GetIOR (   self,
  args 
)
GetIOR(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetIOR(StdMat self) -> float
def GetLockAmbDiffTex (   self)
GetLockAmbDiffTex(StdMat self) -> bool
def GetMapEnabled (   self,
  args 
)
GetMapEnabled(StdMat self, int id) -> bool
def GetMapName (   self,
  args 
)
GetMapName(StdMat self, int indx) -> WStr
def GetMapState (   self,
  args 
)
GetMapState(StdMat self, int indx) -> int
def GetOpacFalloff (   self,
  args 
)
GetOpacFalloff(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetOpacFalloff(StdMat self) -> float
def GetOpacity (   self,
  args 
)
GetOpacity(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetOpacity(StdMat self) -> float
def GetReflectionDim (   self,
  args 
)
GetReflectionDim(StdMat self, float diffIllumIntensity) -> float
def GetSamplingOn (   self)
GetSamplingOn(StdMat self) -> bool
def GetSelfIllum (   self,
  args 
)
GetSelfIllum(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetSelfIllum(StdMat self) -> float
def GetSelfIllumColor (   self,
  args 
)
GetSelfIllumColor(StdMat self, int mtlNum, bool backFace) -> Color
GetSelfIllumColor(StdMat self, TimeValue t) -> Color
def GetSelfIllumColorOn (   self,
  mtlNum = 0,
  backFace = True 
)
GetSelfIllumColorOn(StdMat self, int mtlNum=0, bool backFace=True) -> bool
GetSelfIllumColorOn(StdMat self, int mtlNum=0) -> bool
GetSelfIllumColorOn(StdMat self) -> bool
def GetShading (   self)
GetShading(StdMat self) -> int
def GetShinyStrength (   self,
  mtlNum = 0 
)
GetShinyStrength(StdMat self, int mtlNum=0) -> float
GetShinyStrength(StdMat self) -> float
def GetSoften (   self)
GetSoften(StdMat self) -> bool
def GetTexmapAmt (   self,
  args 
)
GetTexmapAmt(StdMat self, int id, TimeValue t=Autodesk::Max::Now()) -> float
GetTexmapAmt(StdMat self, int id) -> float
def GetTransparencyType (   self)
GetTransparencyType(StdMat self) -> int
def GetTwoSided (   self)
GetTwoSided(StdMat self) -> bool
def GetWire (   self)
GetWire(StdMat self) -> bool
def GetWireSize (   self,
  args 
)
GetWireSize(StdMat self, TimeValue t=Autodesk::Max::Now()) -> float
GetWireSize(StdMat self) -> float
def GetWireUnits (   self)
GetWireUnits(StdMat self) -> bool
def IsFaceted (   self)
IsFaceted(StdMat self) -> bool
def KeyAtTimeByID (   self,
  args 
)
KeyAtTimeByID(StdMat self, ParamID id, TimeValue t) -> bool
def SetEnableMap (   self,
  args 
)
SetEnableMap(StdMat self, int id, bool onoff)
def SetFaceMap (   self,
  args 
)
SetFaceMap(StdMat self, bool onoff)
def SetFaceted (   self,
  args 
)
SetFaceted(StdMat self, bool on)
def SetFalloffOut (   self,
  args 
)
SetFalloffOut(StdMat self, bool onOff)
def SetFilter (   self,
  args 
)
SetFilter(StdMat self, Color c, TimeValue t=Autodesk::Max::Now())
SetFilter(StdMat self, Color c)
def SetIOR (   self,
  args 
)
SetIOR(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetIOR(StdMat self, float v)
def SetLockAmbDiffTex (   self,
  args 
)
SetLockAmbDiffTex(StdMat self, bool onOff)
def SetOpacFalloff (   self,
  args 
)
SetOpacFalloff(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetOpacFalloff(StdMat self, float v)
def SetOpacity (   self,
  args 
)
SetOpacity(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetOpacity(StdMat self, float v)
def SetSamplingOn (   self,
  args 
)
SetSamplingOn(StdMat self, bool onOff)
def SetSelfIllum (   self,
  args 
)
SetSelfIllum(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetSelfIllum(StdMat self, float v)
def SetSelfIllumColor (   self,
  args 
)
SetSelfIllumColor(StdMat self, Color c, TimeValue t)
def SetSelfIllumColorOn (   self,
  args 
)
SetSelfIllumColorOn(StdMat self, bool on)
def SetShading (   self,
  args 
)
SetShading(StdMat self, int s)
def SetShinyStrength (   self,
  args 
)
SetShinyStrength(StdMat self, float v, TimeValue t=Autodesk::Max::Now())
SetShinyStrength(StdMat self, float v)
def SetSoften (   self,
  args 
)
SetSoften(StdMat self, bool onoff)
def SetTexmapAmt (   self,
  args 
)
SetTexmapAmt(StdMat self, int id, float amt, TimeValue t=Autodesk::Max::Now())
SetTexmapAmt(StdMat self, int id, float amt)
def SetTransparencyType (   self,
  args 
)
SetTransparencyType(StdMat self, int type)
def SetTwoSided (   self,
  args 
)
SetTwoSided(StdMat self, bool onoff)
def SetWire (   self,
  args 
)
SetWire(StdMat self, bool onoff)
def SetWireSize (   self,
  args 
)
SetWireSize(StdMat self, float s, TimeValue t=Autodesk::Max::Now())
SetWireSize(StdMat self, float s)
def SetWireUnits (   self,
  args 
)
SetWireUnits(StdMat self, bool onOff)
def StdIDToChannel (   self,
  args 
)
StdIDToChannel(StdMat self, long id) -> long
def SupportsShaders (   self)
SupportsShaders(StdMat self) -> bool
def SwitchSampler (   self,
  args 
)
SwitchSampler(StdMat self, Class_ID id) -> bool
def SwitchShader (   self,
  args 
)
SwitchShader(StdMat self, Class_ID id) -> bool
def SyncADTexLock (   self,
  args 
)
SyncADTexLock(StdMat self, bool lockOn)
def TranspColor (   self,
  args 
)
TranspColor(StdMat self, float opac, Color filt, Color diff) -> Color