Callisto function reference  5.2
Animation functions

Functions

int CAL_SetGroupOptions (int groupID, long options)
 
int CAL_SetObjectOptions (int objID, long options)
 
int CAL_SetTime (CAL_scalar time)
 

Detailed Description

Function Documentation

int CAL_SetGroupOptions ( int  groupID,
long  options 
)

Change the group options parameters.

Parameters
groupIDThe ID of the group.
optionsThe option you want to change. Multiple parameters can be changed at once by using the | operator. Legal values can be found here.
Returns
The function returns CAL_SUCCESS on success, and an errorcode on failure.
int CAL_SetObjectOptions ( int  objID,
long  options 
)

Change the objects options parameters.

Parameters
objIDThe ID of the object.
optionsThe option you want to change. Multiple parameters can be changed at once by using the | operator. Legal values can be found here.
Returns
The function returns CAL_SUCCESS on success, and an errorcode on failure.
int CAL_SetTime ( CAL_scalar  time)

Change the time, all dynamic groups and objects will adapt to this time.

Parameters
timeThe time;
Returns
The function returns CAL_SUCCESS on success, and an errorcode on failure.