The following methods provide access to the values in the Viewport Background dialog.
Returns the viewport background image frame displayed at the specified time. Returns a value of û1 if no frame is to be used for specified time.
Get and set whether Animate Background is on (true), or off (false).
Get and set the background image Aspect Ratio option. Valid <name> values are:
#view -- Match Viewport
#bitmap -- Match Bitmap
#output -- Match Rendering Output
getBkgORType <start_end_integer>
setBkgORType <start_end_integer> <name>
Get and set the background image Start Processing and End Procession options.
<start_end_integer> = 0 û Start Processing; 1 û End Processing
Valid <name> values are:
#blank -- Blank Before Start/After End
#hold -- Hold Before Start/After End
#loop -- Loop After End
Get the background image Use Frame range as a Point2 value. The first component of the Point2 value is the Start Frame, the second component is the End Frame.
Set the background image Use Frame range and step value. First component of <point3> is Start Frame, second component is End Frame, and third component is Step Frame.
Get and set the background image Start At frame.
Get and set the background image Synch Start To Frame frame.
The following 3ds max system global variable is associated with the Viewport Background dialog:
Lets you get and set a String value that defines the viewport background image bitmap file name. It contains the corresponding bitmap file name set in the Viewport Background dialog.