This is passed to the renderer on every frame.
This provides information about the ambient light color, the background color, the duration of one frame, etc.
#include <render.h>
Public Member Functions |
|
FrameRendParams () | |
Constructor. |
|
virtual INT_PTR | Execute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0) |
This is a general purpose function that
allows the API to be extended in the future. |
|
Public Attributes |
|
Color | ambient |
Color | background |
Color | globalLightLevel |
float | frameDuration |
float | relSubFrameDuration |
int | regxmin |
int | regxmax |
int | regymin |
int | regymax |
Point2 | blowupCenter |
Point2 | blowupFactor |
FrameRendParams | ( | ) | [inline] |
Constructor.
The frameDuration is set to 1.0 and relSubFrameDuration = 1.0f.
{ frameDuration = 1.0f; relSubFrameDuration = 1.0f; }
virtual INT_PTR Execute | ( | int | cmd, |
ULONG_PTR | arg1 = 0 , |
||
ULONG_PTR | arg2 = 0 , |
||
ULONG_PTR | arg3 = 0 |
||
) | [inline, virtual] |
This is a general purpose function that allows the API to be extended in the future.
The 3ds Max development team can assign new cmd numbers and continue to add functionality to this class without having to 'break' the API.
{ return 0; }