Public Member Functions | Public Attributes

Script Class Reference

Search for all occurrences

#include <IMoFlow.h>

Inheritance diagram for Script:
Inheritance graph
[legend]

List of all members.

Public Member Functions

BIPExport  Script ()
BIPExport  ~Script ()
BIPExport Script operator= (const Script &P)
BIPExport int  AddSnippet (Snippet *SN)
BIPExport int  InsertSnippet (int index, Snippet *SN)
BIPExport int  DeleteSnippet (int index)
BIPExport int  Get_Backtrackframe ()
BIPExport int  GetScriptItemIndex (ScriptItem *SI)
BIPExport int  InsertScriptItem (int index, ScriptItem *SI)
BIPExport int  GetLastTransitionIndex ()
Transition GetLastTransition ()
int  NumScriptItems ()
ScriptItem GetScriptItem (int ind)
BIPExport int  IncludesSnippet (Snippet *SN)
BIPExport int  IncludesTransition (Transition *TR)
void  Output (MFL_IOProcessor *IOProc)
void  Input (MFL_IOProcessor *IOProc, MoFlow *MF)
int  GetStartFrame ()
void  SetStartFrame (int f)
BIPExport void  Set_crowd_script (crowd_script *CS)
Point3  GetStartPos ()
void  SetStartPos (Point3 p)
float  GetStartRot ()
void  SetStartRot (float r)
const MCHAR *  GetName () const
void  SetName (const MCHAR *n)
int  NumLayers ()
Layer *  GetEditLayer ()
BIPExport Layer *  GetLayer (int index)
BIPExport int  AddLayer (Script *SCR, TimeValue t)
BIPExport void  DeleteLayer (Layer *delLY)
BIPExport void  SortLayer (Layer *SORTLY)
BIPExport int  GetLayerIndex (Layer *LYR)
BIPExport int  InsertLayer (Layer *newLY)
BIPExport void  CloneLayer (Layer *orgLY, TimeValue t)
BIPExport void  DeleteAllLayers ()

Public Attributes

MCHAR  name [MAXSCRIPTNAME]
Point3  startpos
float  startrot
int  startframe
int  nitems
int  maxitems
ScriptItem items
int  nlayers
Layer *  layers
Layer *  EditLayer
Script next

Constructor & Destructor Documentation

BIPExport Script ( )
BIPExport ~Script ( )

Member Function Documentation

BIPExport Script& operator= ( const Script P )
BIPExport int AddSnippet ( Snippet SN )
BIPExport int InsertSnippet ( int  index,
Snippet SN 
)
BIPExport int DeleteSnippet ( int  index )
BIPExport int Get_Backtrackframe ( )
BIPExport int GetScriptItemIndex ( ScriptItem SI )
BIPExport int InsertScriptItem ( int  index,
ScriptItem SI 
)
BIPExport int GetLastTransitionIndex ( )
Transition* GetLastTransition ( )
int NumScriptItems ( ) [inline]
ScriptItem* GetScriptItem ( int  ind ) [inline]
                        { assert (ind < nitems); return &items[ind]; }
BIPExport int IncludesSnippet ( Snippet SN )
BIPExport int IncludesTransition ( Transition TR )
void Output ( MFL_IOProcessor *  IOProc )
void Input ( MFL_IOProcessor *  IOProc,
MoFlow *  MF 
)
int GetStartFrame ( ) [inline]
void SetStartFrame ( int  f ) [inline]
BIPExport void Set_crowd_script ( crowd_script *  CS )
Point3 GetStartPos ( ) [inline]
void SetStartPos ( Point3  p ) [inline]
float GetStartRot ( ) [inline]
void SetStartRot ( float  r ) [inline]
const MCHAR* GetName ( void  ) const [inline]
void SetName ( const MCHAR *  n ) [inline]
{ _tcscpy_s(name, MAXSCRIPTNAME, n); }
int NumLayers ( ) [inline]
Layer* GetEditLayer ( ) [inline]
BIPExport Layer* GetLayer ( int  index )
BIPExport int AddLayer ( Script SCR,
TimeValue  t 
)
BIPExport void DeleteLayer ( Layer *  delLY )
BIPExport void SortLayer ( Layer *  SORTLY )
BIPExport int GetLayerIndex ( Layer *  LYR )
BIPExport int InsertLayer ( Layer *  newLY )
BIPExport void CloneLayer ( Layer *  orgLY,
TimeValue  t 
)
BIPExport void DeleteAllLayers ( )

Member Data Documentation

MCHAR name[MAXSCRIPTNAME]
float startrot
int nitems
int maxitems
int nlayers
Layer* layers
Layer* EditLayer

Script Script Script Script Script Script Script Script Script Script
Script Script Script Script Script Script Script Script Script Script