MaxBakeElement10 Class Reference
 
 
 
MaxBakeElement10 Class Reference

#include <renderelements.h>

Inheritance diagram for MaxBakeElement10:
MaxBakeElement8 MaxBakeElement MaxRenderElement IRenderElement SpecialFX ReferenceTarget ReferenceMaker Animatable InterfaceServer Noncopyable MaxHeapOperators MaxHeapOperators

Class Description

Extention to MaxBakeElement8 in 3ds Max 10.

Extends MaxBakeElement8, allowing Texture Bake Elements to provide a bitmap background color.

Public Types

enum   { IID = 0x3b6566df }
  MaxBakeElement10 interface ID. More...

Public Member Functions

virtual AColor  GetBackgroundColor ()=0
  Get the background color of the bitmap to be created.
virtual void  SetBackgroundColor (AColor color)=0
  Set the background color of the bitmap to be created.
virtual void *  GetInterface (ULONG id)
  Renderer calls this method to see if IRenderElement is compatible with it.

Member Enumeration Documentation

anonymous enum

MaxBakeElement10 interface ID.

Enumerator:
IID 
{ IID = 0x3b6566df };

Member Function Documentation

virtual AColor GetBackgroundColor ( ) [pure virtual]

Get the background color of the bitmap to be created.

Returns:
The background color
virtual void SetBackgroundColor ( AColor  color ) [pure virtual]

Set the background color of the bitmap to be created.

Parameters:
[in] color The background color
virtual void* GetInterface ( ULONG  id ) [inline, virtual]

Renderer calls this method to see if IRenderElement is compatible with it.

Reimplemented from MaxBakeElement8.

{ return (id == IID) ? this : MaxBakeElement8::GetInterface(id);}