CFx SDK Documentation
2022 SP0
|
#include <GiMaterial.h>
Public Types | |
enum | Source { kScene = 0 , kFile = 1 , kProcedural = 2 } |
Public Member Functions | |
OdGiMaterialMap () | |
void | setSource (Source source) |
void | setSourceFileName (const OdString &filename) |
void | setBlendFactor (double blendFactor) |
void | setTexture (OdGiMaterialTexturePtr pTexture) |
OdGiMapper & | mapper () |
Source | source () const |
OdString | sourceFileName () const |
double | blendFactor () const |
const OdGiMapper & | mapper () const |
void | setMapper (const OdGiMapper &mapper) |
const OdGiMaterialTexturePtr | texture (void) const |
bool | operator== (const OdGiMaterialMap &other) const |
bool | operator!= (const OdGiMaterialMap &other) const |
OdGiMaterialMap & | operator= (const OdGiMaterialMap &mmap) |
Static Public Attributes | |
static ODGI_EXPORT_STATIC const OdGiMaterialMap | kNull |
This class implements material maps.
<group OdGi_Classes>
Definition at line 1361 of file GiMaterial.h.
Describes the image source of this MaterialMap object.
Enumerator | |
---|---|
kScene | |
kFile | |
kProcedural |
Definition at line 1368 of file GiMaterial.h.
|
inline |
Definition at line 1572 of file GiMaterial.h.
|
inline |
Returns the blend factor for this MaterialMap object.
Definition at line 1615 of file GiMaterial.h.
|
inline |
Returns a reference to, or a copy of, the OdGiMapper for this MaterialMap object.
Definition at line 1597 of file GiMaterial.h.
|
inline |
Returns a reference to the OdGiMapper for this MaterialMap object.
Definition at line 1621 of file GiMaterial.h.
|
inline |
Definition at line 1488 of file GiMaterial.h.
|
inline |
Definition at line 1493 of file GiMaterial.h.
|
inline |
Definition at line 1474 of file GiMaterial.h.
|
inline |
Sets the blend factor for this MaterialMap object.
blendFactor | [in] Blend factor. |
Definition at line 1591 of file GiMaterial.h.
|
inline |
Sets the OdGiMapper for this MaterialMap object.
mapper | [in] OdGiMapper reference. |
Definition at line 1627 of file GiMaterial.h.
Sets the image source for this MaterialMap object.
source | [in] Image source. |
Value Description kScene 0 Image is created from the current scene. kFile 1 Image is from a file. kProcedural 2 Image is procedurally generated.
Definition at line 1579 of file GiMaterial.h.
Sets the source filename for this MaterialMap object.
filename | [in] Source filename. |
Definition at line 1585 of file GiMaterial.h.
|
inline |
Sets the material texture for this MaterialMap object.
pTexture | [in] Material texture. |
Definition at line 1633 of file GiMaterial.h.
|
inline |
Returns the image source for this MaterialMap object.
Value Description kScene 0 Image is created from the current scene. kFile 1 Image is from a file. kProcedural 2 Image is procedurally generated.
Definition at line 1603 of file GiMaterial.h.
|
inline |
Returns the source filename for this MaterialMap object.
Definition at line 1609 of file GiMaterial.h.
|
inline |
Returns the material texture for this MaterialMap object.
Definition at line 1639 of file GiMaterial.h.
|
static |
Definition at line 1375 of file GiMaterial.h.