diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-05 20:22:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-05 20:22:14 +0400 |
commit | 5eab0da6335b57cc3508d85277592e0f789c7ebd (patch) | |
tree | 4b104b8664f2b32a833de7c6d8b52b4e5b42c74c /source/blender/makesdna/DNA_actuator_types.h | |
parent | 2e653838c09be5f813c4d979a035b0b44211bed4 (diff) |
BGE set visible actuator, option to set visibility recursively to make managing visibility for collections of objects a lot easier.
BGE Python api's ob.setVisible() also takes an optional recursive arg thats off by default
Diffstat (limited to 'source/blender/makesdna/DNA_actuator_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_actuator_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_actuator_types.h b/source/blender/makesdna/DNA_actuator_types.h index d08cf42867d..ca0ad06eac3 100644 --- a/source/blender/makesdna/DNA_actuator_types.h +++ b/source/blender/makesdna/DNA_actuator_types.h @@ -193,7 +193,8 @@ typedef struct bGameActuator { } bGameActuator; typedef struct bVisibilityActuator { - /** bit 0: Is this object visible? */ + /** bit 0: Is this object visible? + ** bit 1: Apply recursively */ int flag; } bVisibilityActuator; @@ -448,6 +449,7 @@ typedef struct FreeCamera { /* visibilityact->flag */ /* Set means the object will become invisible */ #define ACT_VISIBILITY_INVISIBLE (1 << 0) +#define ACT_VISIBILITY_RECURSIVE (1 << 1) /* twodfilter->type */ #define ACT_2DFILTER_ENABLED -2 |