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

#include <sceneio.h>

Public Member Functions

 CallbackScript (const MSTR &iscript, MAXScript::ScriptSource iscriptSource, Value *iid, short iflags)
 
 CallbackScript (Value *ifunction, const MSTR &function_name, Value *iid, short iflags)
 

Public Attributes

MSTR script
 
Valuecode
 
Valueid
 
short flags
 
const MAXScript::ScriptSource scriptSource
 

Constructor & Destructor Documentation

◆ CallbackScript() [1/2]

CallbackScript ( const MSTR iscript,
MAXScript::ScriptSource  iscriptSource,
Value iid,
short  iflags 
)
inline
109 :
110 script(iscript), code(nullptr), id(iid), flags(iflags), scriptSource(iscriptSource)
111 {
112 }
MSTR script
Definition: sceneio.h:102
Value * code
Definition: sceneio.h:103
short flags
Definition: sceneio.h:105
Value * id
Definition: sceneio.h:104
const MAXScript::ScriptSource scriptSource
Definition: sceneio.h:106

◆ CallbackScript() [2/2]

CallbackScript ( Value ifunction,
const MSTR function_name,
Value iid,
short  iflags 
)
inline
113 :
114 script(function_name), code(ifunction), id(iid), flags(iflags), scriptSource(MAXScript::ScriptSource::NotSpecified)
115 {
116 }
@ NotSpecified
source of the script was not specified; same security rights as for Embedded scripts will apply

Member Data Documentation

◆ script

MSTR script

◆ code

Value* code

◆ id

Value* id

◆ flags

short flags

◆ scriptSource

const MAXScript::ScriptSource scriptSource