3ds Max C++ API Reference
Loading...
Searching...
No Matches
AnimEnum.h File Reference
#include <WTypes.h>
#include "maxheap.h"
#include "Animatable.h"

Classes

class  AnimEnum
 A callback class for Animatable::EnumAnimTree(). More...
 
class  ClearAnimFlagEnumProc
 An animatable enumerator for clearing flags. More...
 

Macros

#define SCOPE_DOCLOSED   1
 Enumerate "closed" animatables.
 
#define SCOPE_SUBANIM   2
 Enumerate sub-anims.
 
#define SCOPE_CHILDREN   4
 Enumerate node children.
 
#define SCOPE_OPEN   (SCOPE_SUBANIM|SCOPE_CHILDREN)
 Enumerate all open animatables.
 
#define SCOPE_ALL   (SCOPE_OPEN|SCOPE_DOCLOSED)
 do all animatables
 
#define ANIM_ENUM_PROCEED   1
 Do my children and keep going with the rest of the tree.
 
#define ANIM_ENUM_STOP   2
 Don't do my children but keep going with the rest of the tree.
 
#define ANIM_ENUM_ABORT   3
 Abort enumeration.
 
#define ANIM_ENUM_SKIP   4
 Do not include this anim in the hierarchy.
 
#define ANIM_ENUM_SKIP_NODE   5
 Do not include this node and its subAnims, but include its children.
 

Macro Definition Documentation

◆ SCOPE_DOCLOSED

#define SCOPE_DOCLOSED   1

Enumerate "closed" animatables.

◆ SCOPE_SUBANIM

#define SCOPE_SUBANIM   2

Enumerate sub-anims.

◆ SCOPE_CHILDREN

#define SCOPE_CHILDREN   4

Enumerate node children.

◆ SCOPE_OPEN

#define SCOPE_OPEN   (SCOPE_SUBANIM|SCOPE_CHILDREN)

Enumerate all open animatables.

◆ SCOPE_ALL

#define SCOPE_ALL   (SCOPE_OPEN|SCOPE_DOCLOSED)

do all animatables

◆ ANIM_ENUM_PROCEED

#define ANIM_ENUM_PROCEED   1

Do my children and keep going with the rest of the tree.

◆ ANIM_ENUM_STOP

#define ANIM_ENUM_STOP   2

Don't do my children but keep going with the rest of the tree.

◆ ANIM_ENUM_ABORT

#define ANIM_ENUM_ABORT   3

Abort enumeration.

◆ ANIM_ENUM_SKIP

#define ANIM_ENUM_SKIP   4

Do not include this anim in the hierarchy.

◆ ANIM_ENUM_SKIP_NODE

#define ANIM_ENUM_SKIP_NODE   5

Do not include this node and its subAnims, but include its children.