blob: 6fb1bc58c61fcd0c71226853f959dfe37125a8dc (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
#ifndef shaveVolumeShader_h
#define shaveVolumeShader_h
// Shave and a Haircut
// (c) 2019 Epic Games
// US Patent 6720962
#include <maya/MPxNode.h>
class shaveVolumeShader : public MPxNode
{
//******************************************************
//
// Creation & Initialization Methods
//
//******************************************************
public:
shaveVolumeShader();
virtual ~shaveVolumeShader();
static void * creator();
static MStatus initialize();
//******************************************************
//
// Overloaded MPxNode Methods
//
//******************************************************
public:
virtual MStatus compute( const MPlug&, MDataBlock& );
virtual void postConstructor();
#if MAYA_API_VERSION >= 201600
virtual SchedulingType schedulingType() const { return kUntrusted; }
#endif
//******************************************************
//
// Member Variables
//
//******************************************************
public:
static MTypeId id;
static const MString nodeTypeName;
//******************************************************
//
// Attributes
//
//******************************************************
public:
static MObject aFarPointCamera;
static MObject aFarPointWorld;
static MObject aOutColor;
static MObject aOutMatteOpacity;
static MObject aOutTransparency;
static MObject aPixelCenter;
static MObject aPixelCenterX;
static MObject aPixelCenterY;
static MObject aPointCamera;
static MObject aPointWorld;
static MObject aRayDepth;
static MObject aRayDirection;
static MObject aRayOrigin;
};
#endif
|