Ri2DMayaTexture[ Texture | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]
| public: | |
| // Constructors and assignment | |
| Ri2DMayaTexture(); | |
| // place2DTexture stuff | |
| void | SetWindowTransform(const RiAffineTMatrix2 &wTrans); |
| void | SetPlacementTransform(const RiAffineTMatrix2 &trans); |
| void | SetMirror(bool on); |
| void | SetWrap(bool onU, bool onV); |
| void | SetStagger(bool on); |
| void | SetNoise(const RiVector2 &amount); |
| protected: | |
| bool | DoTransform(RiMaterialRegion &hit, RiVector2 &newUV); |
Ri2DMayaTexture();
Default Constructor
Ri2DMayaTexture();
void SetWindowTransform(const RiAffineTMatrix2 &wTrans);
void SetPlacementTransform(const RiAffineTMatrix2 &trans);
void SetMirror(bool on);
void SetWrap(bool onU, bool onV);
void SetStagger(bool on);
void SetNoise(const RiVector2 &amount);
bool DoTransform(RiMaterialRegion &hit, RiVector2 &newUV);
| public: | ||
|---|---|---|
| // Accessors | ||
| RiReal | GetScalar(RiMaterialRegion &hit); | // pure virtual |
| RiVector2 | GetVector2(RiMaterialRegion &hit); | // pure virtual |
| RiVector3 | GetVector3(RiMaterialRegion &hit); | // pure virtual |
| RiSpectrum | GetSpectrum(RiMaterialRegion &hit); | // pure virtual |
| // General Color properties | ||
| void | SetDefaultColor(const RiVector3 &rgbDefault); | |
| RiVector3 | GetDefaultColor(); | |
| void | SetColorGain(const RiVector3 &rgbGain); | |
| void | SetColorOffset(const RiVector3 &rgbOffset); | |
| void | SetInvertColor(bool on); | |
| // place2DTexture stuff | ||
| void | SetWindowTransform(const RiAffineTMatrix2 &wTrans); | |
| void | SetPlacementTransform(const RiAffineTMatrix2 &trans); | |
| void | SetMirror(bool on); | |
| void | SetWrap(bool onU, bool onV); | |
| void | SetStagger(bool on); | |
| void | SetNoise(const RiVector2 &amount); | |
| protected: | ||
| RiVector3 | DoColorCorrection(RiVector3 rgb); | |
| bool | DoTransform(RiMaterialRegion &hit, RiVector2 &newUV); | |