diff options
| author | Ben Marsh <[email protected]> | 2019-10-22 09:07:59 -0400 |
|---|---|---|
| committer | Ben Marsh <[email protected]> | 2019-10-22 09:07:59 -0400 |
| commit | bd0027e737c6512397f841c22786274ed74b927f (patch) | |
| tree | f7ffbdb8f3741bb7f24635616cc189cba5cb865c /mayaPlug/shaveCheckObjectVisibility.h | |
| download | archived-shave-and-a-haircut-bd0027e737c6512397f841c22786274ed74b927f.tar.xz archived-shave-and-a-haircut-bd0027e737c6512397f841c22786274ed74b927f.zip | |
Adding Shave-and-a-Haircut 9.6
Diffstat (limited to 'mayaPlug/shaveCheckObjectVisibility.h')
| -rw-r--r-- | mayaPlug/shaveCheckObjectVisibility.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mayaPlug/shaveCheckObjectVisibility.h b/mayaPlug/shaveCheckObjectVisibility.h new file mode 100644 index 0000000..42ed878 --- /dev/null +++ b/mayaPlug/shaveCheckObjectVisibility.h @@ -0,0 +1,25 @@ +#ifndef _VISCHECK +#define _VISCHECK + +// Shave and a Haircut +// (c) 2019 Epic Games +// US Patent 6720962 + +bool isObjectVisible( + const MDagPath& path, + bool andNotTemplated, + bool ignorePrimaryVisibility, + bool ignoreTransparency, + bool ignoreOverrideTemplating, + bool& overridesEnabled +); + +bool areObjectAndParentsVisible( + const MDagPath& path, + bool andNotTemplated = false, + bool ignorePrimaryVisibility = false, + bool ignoreTransparency = true +); + +#endif + |