aboutsummaryrefslogtreecommitdiff
path: root/mayaPlug/shaveCheckObjectVisibility.h
blob: 42ed8789805305a05ffea386d777ef0dec7a951a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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