Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

LanguageSyntax
C++byte getWeight( CmultiValue::Cmap& map )
 byte getActiveWeight( CmultiValue::Cmap& map )
PythonCmap getWeight()
 Cmap getActiveWeight()

Return value

...

0 = Error getting weight map.

1 = Success.

Python

Cmap containing the weight value (Cmap.value).

Anchor
cmaxwellcbsdfgetreflectance
cmaxwellcbsdfgetreflectance

...

Returns the reflectance pointer of this BSDF.

LanguageSyntax
C++Cmaxwell::Creflectance getReflectance()
PythonCreflectance getReflectance()

Return value

Creflectance object.

Anchor
cmaxwellcbsdfsetcolor
cmaxwellcbsdfsetcolor

...

LanguajeSyntax
C++byte setColor( const char* pID, CmultiValue::Cmap& map );
 byte getColor( const char* pID, CmultiValue::Cmap& map );
 byte setActiveColor( const char* pID, CmultiValue::Cmap& map );
 byte getActiveColor( const char* pID, CmultiValue::Cmap& map );
Pythonint setColor( str pID, Cmap map );
 Cmap getColor( str pID );
 int setActiveColor( str pID, Cmap map );
 Cmap getActiveColor( str pID );

Return value

C++ (all) and Python ("set" methods)

...

1 = Success.

Python ("get" methods)

Cmap containing the color requested.

...

Gets a coating of this BSDF.

LanguageSyntax
C++Cmaxwell::Ccoating getCoating( byte index )
PythonCcoating getCoating( int index )

Return value

Cmaxwell::Ccoating object (linked to the scene).

...

Python

Number of coatings.

...