nw::lyt::Material Classclass Material
The material information class.
| Constructors and Destructors | ||
|---|---|---|
| Material | Constructor. | |
| V |
~Material
|
Destructor. |
| Set/Get | ||
| ReserveMem | Allocates the region that holds the material settings. | |
| GetTexMapCap | Gets the upper limit on the number of textures that can be stored within the material. | |
| GetTexSRTCap | Gets the upper limit on the number of texture SRT conversion matrices that can be stored within the material. | |
| GetTexCoordGenCap | Gets the upper limit on the number of texture coordinate generations that can be stored within the material. | |
| GetTevStageCap | Gets the upper limit on the number of TEV stages that can be stored within the material. | |
| IsAlphaCompareCap | Gets whether alpha compare settings can be stored in the material. | |
| IsBlendModeCap | Gets whether blend mode settings can be stored in the material. | |
GetName
|
Gets the name of the material. | |
| SetName | Sets the material's name. | |
| Textures | ||
| GetTexMapNum | Gets the number of textures. | |
| SetTexMapNum | Sets the number of textures. | |
| GetTexCoordGenNum | Gets the number texture coordinate generations. | |
| SetTexCoordGenNum | Sets the number of texture coordinate generations. | |
| GetTexSRTNum | Gets the number of texture SRTs. | |
| SetTexSRTNum | Sets the number of texture SRTs. | |
| GetTexMap | Gets the texture data. | |
| SetTexMap | Sets the texture data. | |
| GetTexSRT | Gets the texture SRT matrix. | |
| SetTexSRT | Sets the texture SRT matrix. | |
| GetTexCoordGen | Gets a texture coordinate generation. | |
| SetTexCoordGen | Sets texture coordinate generation. | |
| GetTexSRTElement | Gets texture SRT parameters by specifying a component. | |
| SetTexSRTElement | Sets textures SRT parameters by specifying a component. | |
| TEV | ||
| GetTevStageNum | Gets the number of TEV stages. | |
| SetTevStageNum | Sets the number of TEV stages. | |
| GetColor | Gets the color. | |
| SetColor | Sets the color. | |
| GetColorElement | Gets the TEV color component based on the color type specified. | |
| SetColorElement | Sets the TEV color component based on the color type specified. | |
| GetTevStage | Gets a TEV stage. | |
| SetTevStage | Sets a TEV stage. | |
| Materials | ||
| GetAlphaCompare | Gets the alpha compare setting. | |
| SetAlphaCompare | Sets the alpha compare setting. | |
| GetBlendMode | Gets the blend mode setting. | |
| SetBlendMode | Sets the blend mode setting. | |
| GetTextureOnly | Gets whether to use textures only. | |
| SetTextureOnly | Sets whether to use textures only. | |
| Animation | ||
| V |
BindAnimation
|
Binds animations. |
| V | UnbindAnimation | Clears a bound animation. |
| V | UnbindAllAnimation | Clears all bound animations. |
| V | Animate | Calculates the animation result. |
| AddAnimationLink | Adds animation link information. | |
| V | FindAnimationLink | Searches for animation link information. |
| V | SetAnimationEnable | Sets the animation enable/disable state. |
| GetAnimationList | Gets a list of bound animations. | |
| Other | ||
| IsUserAllocated | Determines whether the user constructed the material. | |
| SetUserAllocated | Declares that the material was constructed by the user. | |
| protected | GetTexMapAry | Gets an array of texture graphics settings. |
| protected | GetTexSRTAry | Gets an array of texture coordinate transform settings. |
| protected | GetTexCoordGenAry | Gets an array of texture coordinate generation settings. |
| protected | GetAlphaComparePtr | Gets the address of alpha compare settings. |
| protected | GetBlendModePtr | Gets the address of blend mode settings. |
| protected | GetTevStageAry | Gets the address of TEV settings. |
CONFIDENTIAL