#include <c4d_reflection.h>
A reflection layer in a material.
Public Member Functions | |
| ReflectionLayer () | |
| Int32 | GetLayerID () const | 
| Int32 | GetDataID () const | 
| String | GetName () const | 
| void | SetName (const maxon::String &name) | 
| Int32 | GetFlags () const | 
| void | SetFlags (Int32 flags) | 
Protected Attributes | |
| Int32 | _layerDataID | 
| Material * | _parent | 
| ReflectionLayer | ( | ) | 
Default constructor.
| Int32 GetLayerID | ( | ) | const | 
Retrieves the layer ID.
| Int32 GetDataID | ( | ) | const | 
Retrieves the layer base data ID to get/set its data.
| String GetName | ( | ) | const | 
Retrieves the layer name.
| void SetName | ( | const maxon::String & | name | ) | 
Sets the layer name. If not valid (i.e. empty or all chars are whitespaces) a default layer name will be used.
| [in] | name | The layer name. | 
| Int32 GetFlags | ( | ) | const | 
| void SetFlags | ( | Int32 | flags | ) | 
      
  | 
  protected | 
Internal. Used to retrieve layer data from material container. Note: this ID is dynamic and could vary (based on the layer position in the list)
      
  | 
  protected | 
Internal. The owner of the reflection layer.