This reference page is linked to from the following overview topics: Material base class.
Inheritance diagram for Mtl: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 | 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') |
| 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 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
| def WireSize | ( | self, | |
mtlNum = 0, |
|||
backFace = True |
|||
| ) |
WireSize(Mtl self, int mtlNum=0, bool backFace=True) -> float WireSize(Mtl self, int mtlNum=0) -> float WireSize(Mtl self) -> float