# CSLXSIMaterialInfo Class Reference

`#include <XSIMaterialInfo.h>`

Inheritance diagram for CSLXSIMaterialInfo:

List of all members.

## Public Types
enum | EWrapType { SI_CLAMP, SI_REPEAT }
| Defines the various wrap types. More...
## Public Member Functions
| CSLXSIMaterialInfo (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate)
virtual | ~CSLXSIMaterialInfo ()
| Destructor.
ETemplateType | Type ()
virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName)
EWrapType | GetUWrap ()
SI_Void | SetUWrap (EWrapType in_Type)
EWrapType | GetVWrap ()
SI_Void | SetVWrap (EWrapType in_Type)

## Detailed Description

Provides additional information on Materials for dotXSI 6.0+ (see the XSI_MaterialInfo template reference).

Note:
  This template was introduced in dotXSI Version 3.6

## Member Enumeration Documentation

enum EWrapType

Defines the various wrap types.

Enumerator:

  SI_CLAMP | Clamp texture
  SI_REPEAT | Repeat texture

## Constructor & Destructor Documentation

CSLXSIMaterialInfo | ( | CSLScene * | in_pScene,
|  | CSLModel * | in_pModel,
|  | CdotXSITemplate * | in_pTemplate |
| ) |  |  |

Constructor

Parameters:

  | in_pScene | Pointer to the scene
  | in_pModel | Pointer to the model
  | in_pTemplate | Pointer to the parent template

## Member Function Documentation

ETemplateType Type | ( |  | ) | `[inline, virtual]`

Gets the type of this template

Returns:
  ETemplateType The type of this template: XSI_MATERIAL_INFO

Implements CSLTemplate.

virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | `[virtual]`

Return a proxy to the specified parameter.

Parameters:

  | in_szName | Name of the parameter

Returns:
  CSLAnimatableType* Pointer to a parameter proxy.

Reimplemented from CSLTemplate.

EWrapType GetUWrap | ( |  | ) |

Gets the UWrap type

Returns:
  EWrapType The type

SI_Void SetUWrap | ( | EWrapType | in_Type | ) |

Sets the UWrap type

Parameters:

  | In_Type | The type

EWrapType GetVWrap | ( |  | ) |

Gets the VWrap type

Returns:
  EWrapType The type

SI_Void SetVWrap | ( | EWrapType | in_Type | ) |

Sets the VWrap type

Parameters:

  | In_Type | The type

The documentation for this class was generated from the following file:

- XSIMaterialInfo.h