Detailed Description
- See also:
- Class IRenderElement , Class MaxRenderElement
- Description:
- This class is only available in release 5 or
later.
The class provides the interfaces for creating a Texture Baking
plugins in 3ds Max. The texture baking plugins are controlled
through the Maxscript "Render To Texture". There are methods
available in this class that provide the ability to produce a
dynamic UI in Maxscript.
This class provides the basic infrastructure for the UI and
Maxscript interaction, to fully understand the workings of these
plugins please look at the RenderElement samples
For an example of this class in use by Texture Baking
plug-ins see
/MAXSDK/SAMPLES/RENDER/RENDERELEMENTS/INCLUDE/STDBAKEELEM.CPP
All methods of this class are virtual.
#include <renderelements.h>
List of all
members.
Member Enumeration Documentation
Member Function Documentation
virtual void SetOutputSz |
( |
int |
xSz, |
|
|
int |
ySz |
|
) |
|
[pure virtual] |
- Parameters:
- int xSz
Specifies the width of the output.
int ySz
Specifies the height of the output.
virtual void GetOutputSz |
( |
int & |
xSz, |
|
|
int & |
ySz |
|
) |
|
const [pure virtual] |
- Parameters:
- int& xSz
The new width
int& ySz
the new height
virtual void SetFileName |
( |
const MCHAR * |
newName |
) |
[pure virtual] |
- Parameters:
- MCHAR* newName
The name to set for the UI
virtual void SetFileName |
( |
MCHAR * |
newName |
) |
[inline, virtual] |
virtual const MCHAR* GetFileName |
( |
|
) |
const [pure virtual] |
virtual void SetFileType |
( |
const MCHAR * |
newType |
) |
[pure virtual] |
- Parameters:
- MCHAR* newType
The name for the full file name
virtual void SetFileType |
( |
MCHAR * |
newType |
) |
[inline, virtual] |
virtual const MCHAR* GetFileType |
( |
|
) |
const [pure virtual] |
virtual void SetFileNameUnique |
( |
BOOL |
on |
) |
[pure virtual] |
virtual BOOL IsFileNameUnique |
( |
|
) |
const [pure virtual] |
virtual void SetRenderBitmap |
( |
Bitmap * |
pBitmap |
) |
[pure virtual] |
- Parameters:
- Bitmap* pBitmap
The bitmap used for the output
virtual Bitmap* GetRenderBitmap |
( |
|
) |
const [pure virtual] |
virtual void SetLightApplied |
( |
BOOL |
on |
) |
[pure virtual] |
- Parameters:
- BOOL on
The state for the lighting parameter
virtual BOOL IsLightApplied |
( |
|
) |
const [pure virtual] |
virtual void SetShadowApplied |
( |
BOOL |
on |
) |
[pure virtual] |
- Parameters:
- BOOL on
The state for the shadow parameter
virtual BOOL IsShadowApplied |
( |
|
) |
const [pure virtual] |
virtual void SetAtmosphereApplied |
( |
BOOL |
on |
) |
[pure virtual] |
- Parameters:
- BOOL on
Specifies whether Atmospheres are used or not.
virtual BOOL IsAtmosphereApplied |
( |
|
) |
const [pure virtual] |
virtual BOOL AtmosphereApplied |
( |
|
) |
const [inline, virtual] |
virtual BOOL ShadowsApplied |
( |
|
) |
const [inline, virtual] |
virtual int GetNParams |
( |
|
) |
const [pure virtual] |
virtual const MCHAR* GetParamName |
( |
int |
nParam |
) |
[pure virtual] |
- Parameters:
- int nParam
The value for the parameter whose name is to be returned.
virtual const int FindParamByName |
( |
MCHAR * |
name |
) |
[pure virtual] |
virtual int GetParamType |
( |
int |
nParam |
) |
[pure virtual] |
- Parameters:
- int nParam
The value for the parameter whose type is to be returned.
Implemented in MaxBakeElement8.
virtual int GetParamValue |
( |
int |
nParam |
) |
[pure virtual] |
- Parameters:
- int nParam
The value for the parameter whose value is to be returned.
virtual void SetParamValue |
( |
int |
nParam, |
|
|
int |
newVal |
|
) |
|
[pure virtual] |
- Parameters:
- int nParam
The value for the parameter whose value is to be set
int newVal
The value to set
SClass_ID SuperClassID |
( |
|
) |
[inline, virtual] |
- Default Implementation:
- { return RENDER_ELEMENT_CLASS_ID; }
Reimplemented from IRenderElement.
virtual void* GetInterface |
( |
ULONG |
id |
) |
[inline, virtual] |
virtual void ReleaseInterface |
( |
ULONG |
id, |
|
|
void * |
i |
|
) |
|
[inline, virtual] |
MaxBakeElement MaxBakeElement
MaxBakeElement MaxBakeElement MaxBakeElement MaxBakeElement
MaxBakeElement MaxBakeElement MaxBakeElement MaxBakeElement
MaxBakeElement MaxBakeElement
MaxBakeElement MaxBakeElement MaxBakeElement MaxBakeElement
MaxBakeElement MaxBakeElement MaxBakeElement MaxBakeElement