This reference page is linked to from the following overview topics: Accessing Material Properties.
#include <stdmat.h>
Public Member Functions |
|
virtual void | SetSoften (BOOL onoff)=0 |
virtual void | SetFaceMap (BOOL onoff)=0 |
virtual void | SetTwoSided (BOOL onoff)=0 |
virtual void | SetWire (BOOL onoff)=0 |
virtual void | SetWireUnits (BOOL onOff)=0 |
virtual void | SetFalloffOut (BOOL onOff)=0 |
virtual void | SetTransparencyType (int type)=0 |
virtual void | SetAmbient (Color c, TimeValue t)=0 |
virtual void | SetDiffuse (Color c, TimeValue t)=0 |
virtual void | SetSpecular (Color c, TimeValue t)=0 |
virtual void | SetFilter (Color c, TimeValue t)=0 |
virtual void | SetShininess (float v, TimeValue t)=0 |
virtual void | SetShinStr (float v, TimeValue t)=0 |
virtual void | SetSelfIllum (float v, TimeValue t)=0 |
virtual void | SetOpacity (float v, TimeValue t)=0 |
virtual void | SetOpacFalloff (float v, TimeValue t)=0 |
virtual void | SetWireSize (float s, TimeValue t)=0 |
virtual void | SetIOR (float v, TimeValue t)=0 |
virtual void | LockAmbDiffTex (BOOL onOff)=0 |
virtual void | SetSamplingOn (BOOL on)=0 |
virtual BOOL | GetSamplingOn ()=0 |
virtual void | SetShading (int s)=0 |
virtual int | GetShading ()=0 |
virtual void | EnableMap (int id, BOOL onoff)=0 |
virtual BOOL | MapEnabled (int id)=0 |
virtual void | SetTexmapAmt (int id, float amt, TimeValue t)=0 |
virtual float | GetTexmapAmt (int id, TimeValue t)=0 |
virtual BOOL | GetSoften ()=0 |
virtual BOOL | GetFaceMap ()=0 |
virtual BOOL | GetTwoSided ()=0 |
virtual BOOL | GetWire ()=0 |
virtual BOOL | GetWireUnits ()=0 |
virtual BOOL | GetFalloffOut ()=0 |
virtual int | GetTransparencyType ()=0 |
virtual Color | GetAmbient (TimeValue t)=0 |
virtual Color | GetDiffuse (TimeValue t)=0 |
virtual Color | GetSpecular (TimeValue t)=0 |
virtual Color | GetFilter (TimeValue t)=0 |
virtual float | GetShininess (TimeValue t)=0 |
virtual float | GetShinStr (TimeValue t)=0 |
virtual float | GetSelfIllum (TimeValue t)=0 |
virtual float | GetOpacity (TimeValue t)=0 |
virtual float | GetOpacFalloff (TimeValue t)=0 |
virtual float | GetWireSize (TimeValue t)=0 |
virtual float | GetIOR (TimeValue t)=0 |
virtual BOOL | GetAmbDiffTexLock ()=0 |
virtual void SetSoften | ( | BOOL | onoff | ) | [pure virtual] |
virtual void SetFaceMap | ( | BOOL | onoff | ) | [pure virtual] |
virtual void SetTwoSided | ( | BOOL | onoff | ) | [pure virtual] |
virtual void SetWire | ( | BOOL | onoff | ) | [pure virtual] |
virtual void SetWireUnits | ( | BOOL | onOff | ) | [pure virtual] |
virtual void SetFalloffOut | ( | BOOL | onOff | ) | [pure virtual] |
virtual void SetTransparencyType | ( | int | type | ) | [pure virtual] |
virtual void SetAmbient | ( | Color | c, |
TimeValue | t | ||
) | [pure virtual] |
virtual void SetDiffuse | ( | Color | c, |
TimeValue | t | ||
) | [pure virtual] |
virtual void SetSpecular | ( | Color | c, |
TimeValue | t | ||
) | [pure virtual] |
virtual void SetFilter | ( | Color | c, |
TimeValue | t | ||
) | [pure virtual] |
virtual void SetShininess | ( | float | v, |
TimeValue | t | ||
) | [pure virtual] |
Implements Mtl.
virtual void SetShinStr | ( | float | v, |
TimeValue | t | ||
) | [pure virtual] |
virtual void SetSelfIllum | ( | float | v, |
TimeValue | t | ||
) | [pure virtual] |
virtual void SetOpacity | ( | float | v, |
TimeValue | t | ||
) | [pure virtual] |
virtual void SetOpacFalloff | ( | float | v, |
TimeValue | t | ||
) | [pure virtual] |
virtual void SetWireSize | ( | float | s, |
TimeValue | t | ||
) | [pure virtual] |
virtual void SetIOR | ( | float | v, |
TimeValue | t | ||
) | [pure virtual] |
virtual void LockAmbDiffTex | ( | BOOL | onOff | ) | [pure virtual] |
virtual void SetSamplingOn | ( | BOOL | on | ) | [pure virtual] |
virtual BOOL GetSamplingOn | ( | ) | [pure virtual] |
virtual void SetShading | ( | int | s | ) | [pure virtual] |
Implemented in StdMat2.
virtual int GetShading | ( | ) | [pure virtual] |
Implemented in StdMat2.
virtual void EnableMap | ( | int | id, |
BOOL | onoff | ||
) | [pure virtual] |
virtual BOOL MapEnabled | ( | int | id | ) | [pure virtual] |
virtual void SetTexmapAmt | ( | int | id, |
float | amt, | ||
TimeValue | t | ||
) | [pure virtual] |
virtual float GetTexmapAmt | ( | int | id, |
TimeValue | t | ||
) | [pure virtual] |
virtual BOOL GetSoften | ( | ) | [pure virtual] |
virtual BOOL GetFaceMap | ( | ) | [pure virtual] |
virtual BOOL GetTwoSided | ( | ) | [pure virtual] |
virtual BOOL GetWire | ( | ) | [pure virtual] |
virtual BOOL GetWireUnits | ( | ) | [pure virtual] |
virtual BOOL GetFalloffOut | ( | ) | [pure virtual] |
virtual int GetTransparencyType | ( | ) | [pure virtual] |
virtual Color GetAmbient | ( | TimeValue | t | ) | [pure virtual] |
virtual Color GetDiffuse | ( | TimeValue | t | ) | [pure virtual] |
virtual Color GetSpecular | ( | TimeValue | t | ) | [pure virtual] |
virtual Color GetFilter | ( | TimeValue | t | ) | [pure virtual] |
virtual float GetShininess | ( | TimeValue | t | ) | [pure virtual] |
virtual float GetShinStr | ( | TimeValue | t | ) | [pure virtual] |
virtual float GetSelfIllum | ( | TimeValue | t | ) | [pure virtual] |
virtual float GetOpacity | ( | TimeValue | t | ) | [pure virtual] |
virtual float GetOpacFalloff | ( | TimeValue | t | ) | [pure virtual] |
virtual float GetWireSize | ( | TimeValue | t | ) | [pure virtual] |
virtual float GetIOR | ( | TimeValue | t | ) | [pure virtual] |
virtual BOOL GetAmbDiffTexLock | ( | ) | [pure virtual] |