3ds Max C++ API Reference
Loading...
Searching...
No Matches
MAXScriptPrefs Class Reference

#include <maxscript.h>

Public Member Functions

 MAXScriptPrefs ()
 
virtual ~MAXScriptPrefs ()
 
void Reset ()
 
virtual void LoadMAXScriptPreferences ()
 
virtual void SaveMAXScriptPreferences ()
 

Public Attributes

int loadStartupScripts
 
int loadSaveSceneScripts
 
int loadSavePersistentGlobals
 
MSTR font
 
int fontSize
 
int autoOpenListener
 
float initialHeapSize
 
int enableMacroRecorder
 
int showCommandPanelSwitch
 
int showToolSelections
 
int showMenuSelections
 
int absoluteSceneNames
 
int absoluteSubObjects
 
int absoluteTransforms
 
int useFastNodeNameLookup
 
int showGCStatus
 
int showEditorPath
 
int useMultiThreadedUsedMacroscriptCompile
 
int logUsedMacroscriptCompiles
 
int preValidateResourceValues
 
int displayScriptEditorOnError
 

Constructor & Destructor Documentation

◆ MAXScriptPrefs()

MAXScriptPrefs ( )
inline
519{ Reset(); }
void Reset()
Definition: maxscript.h:521

◆ ~MAXScriptPrefs()

virtual ~MAXScriptPrefs ( )
inlinevirtual
520{ }

Member Function Documentation

◆ Reset()

void Reset ( )
inline
522 {
523 // MAXScript preference defaults
524 loadStartupScripts = TRUE;
527 font = _M("Consolas");
528 fontSize = 9;
529 initialHeapSize = 100.0f;
530 autoOpenListener = FALSE;
531 enableMacroRecorder = FALSE;
533 showToolSelections = FALSE;
534 showMenuSelections = FALSE;
535 absoluteSceneNames = FALSE;
536 absoluteSubObjects = FALSE;
537 absoluteTransforms = FALSE;
539 showGCStatus = FALSE;
540 showEditorPath = TRUE;
541 useMultiThreadedUsedMacroscriptCompile = FALSE; // not currently enabled because of gc issues
545 }
int showGCStatus
Definition: maxscript.h:512
int loadSaveSceneScripts
Definition: maxscript.h:498
int absoluteSubObjects
Definition: maxscript.h:509
int loadSavePersistentGlobals
Definition: maxscript.h:499
int showEditorPath
Definition: maxscript.h:513
int logUsedMacroscriptCompiles
Definition: maxscript.h:515
MSTR font
Definition: maxscript.h:500
int displayScriptEditorOnError
Definition: maxscript.h:517
int preValidateResourceValues
Definition: maxscript.h:516
int enableMacroRecorder
Definition: maxscript.h:504
int showMenuSelections
Definition: maxscript.h:507
int fontSize
Definition: maxscript.h:501
int useFastNodeNameLookup
Definition: maxscript.h:511
int autoOpenListener
Definition: maxscript.h:502
int absoluteTransforms
Definition: maxscript.h:510
int showToolSelections
Definition: maxscript.h:506
int absoluteSceneNames
Definition: maxscript.h:508
int loadStartupScripts
Definition: maxscript.h:497
int showCommandPanelSwitch
Definition: maxscript.h:505
int useMultiThreadedUsedMacroscriptCompile
Definition: maxscript.h:514
float initialHeapSize
Definition: maxscript.h:503
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67

◆ LoadMAXScriptPreferences()

virtual void LoadMAXScriptPreferences ( )
virtual

◆ SaveMAXScriptPreferences()

virtual void SaveMAXScriptPreferences ( )
virtual

Member Data Documentation

◆ loadStartupScripts

int loadStartupScripts

◆ loadSaveSceneScripts

int loadSaveSceneScripts

◆ loadSavePersistentGlobals

int loadSavePersistentGlobals

◆ font

MSTR font

◆ fontSize

int fontSize

◆ autoOpenListener

int autoOpenListener

◆ initialHeapSize

float initialHeapSize

◆ enableMacroRecorder

int enableMacroRecorder

◆ showCommandPanelSwitch

int showCommandPanelSwitch

◆ showToolSelections

int showToolSelections

◆ showMenuSelections

int showMenuSelections

◆ absoluteSceneNames

int absoluteSceneNames

◆ absoluteSubObjects

int absoluteSubObjects

◆ absoluteTransforms

int absoluteTransforms

◆ useFastNodeNameLookup

int useFastNodeNameLookup

◆ showGCStatus

int showGCStatus

◆ showEditorPath

int showEditorPath

◆ useMultiThreadedUsedMacroscriptCompile

int useMultiThreadedUsedMacroscriptCompile

◆ logUsedMacroscriptCompiles

int logUsedMacroscriptCompiles

◆ preValidateResourceValues

int preValidateResourceValues

◆ displayScriptEditorOnError

int displayScriptEditorOnError