User manual
© Next Limit Technologies 2010
Maxwell Render 2.5 User Manual
Chapter 17. Appendix IV. Scripting References | 147
• Function: int cpuThreads( void );
• Description: Returns the CPU threads for the current scene.
• Parameters: Nothing
• Returned Value: INT: cpu threads
• Function: void setCpuID( int value );
• Description: Sets the CPU threads for the current scene.
• Parameters: INT value: New CPU threads.
• Returned Value: Nothing
• Function: int resX( void );
• Description: Returns the horizontal resolution for the current scene.
• Parameters: Nothing
• Returned Value: INT: horizontal resolution.
• Function: void setResX( int value );
• Description: Sets the horizontal resolution for the current scene.
• Parameters: INT value: New horizontal resolution.
• Returned Value: Nothing
• Function: int resY( void );
• Description: Returns the vertical resolution for the current scene.
• Parameters: Nothing
• Returned Value: INT: vertical resolution.
• Function: void setResY( int value );
• Description: Sets the vertical resolution for the current scene.
• Parameters: INT value: New vertical resolution.
• Returned Value: Nothing
• Function: bool lockAspectRatioEnabled( void );
• Description: Returns whether the lock aspect ratio ag is enabled or disabled.
• Parameters: Nothing
• Returned Value: Bool: True if lock aspect ratio is enabled, False if it is disabled.
• Function: void setLockAspectRatioEnabled( bool state );
• Description: Sets the lock aspect ratio ag to enabled or disabled.
• Parameters: Bool status: New lock aspect ratio state.
• Returned Value: Nothing
• Function: bool overrideMaterialEnabled( void );
• Description: Returns whether the override material ag is enabled or disabled.
• Parameters: Nothing
• Returned Value: Bool: True if override material is enabled, False if it is disabled.
• Function: void setOverrideMaterialEnabled( bool state );
• Description: Sets the override material ag to enabled or disabled.
• Parameters: Bool status: New override material state.
• Returned Value: Nothing
• Function: string overrideMaterialPath( void );
• Description: Returns the current override material path.
• Parameters: Nothing
• Returned Value: String: override material path.
• Function: void setOverrideMaterialPath( string path );
• Description: Sets the override material path.
• Parameters: String path: New override material path.
• Returned Value: Nothing
• Function: string defaultMaterialPath( void );
• Description: Returns the current default material path.
• Parameters: Nothing
• Returned Value: String: default material path.
• Function: void setDefaultMaterialPath( string path );
• Description: Sets the default material path.
• Parameters: String path: New default material path.
• Returned Value: Nothing
• Function: string bitmapsDefaultPath( void );
• Description: Returns the current bitmaps path.
• Parameters: Nothing
• Returned Value: String: bitmaps path.
• Function: void setBitmapsDefaultPath( string path );
• Description: Sets the bitmaps path.
• Parameters: String path: New bitmaps path.
• Returned Value: Nothing