5 protected bool m_UpdatingDataValues;
6 protected bool m_IsActive;
7 protected bool m_SettingDefaultValues;
9 protected int m_MaterialID;
10 protected int m_ParameterID;
11 protected int m_VariableType;
12 protected int m_RequesterIDX;
13 protected int m_InteractionMask;
14 protected int m_Priority;
18 m_RequesterIDX = requester_idx;
19 m_MaterialID = mat_id;
20 m_ParameterID = param_id;
21 m_VariableType = data_type;
23 m_InteractionMask = mask;
24 m_UpdatingDataValues =
false;
25 m_SettingDefaultValues =
false;
34 void SetUpdatingDataValues(
bool state)
36 m_UpdatingDataValues = state;
39 bool GetUpdatingDataValues()
41 return m_UpdatingDataValues;
44 void SetDataActive(
bool state)
54 void SetSettingDefaultValues(
bool state)
56 m_SettingDefaultValues = state;
59 bool IsSettingDefaultValues()
61 return m_SettingDefaultValues;
66 return m_RequesterIDX;
81 return m_VariableType;
84 void SetInteractionMask(
int mask)
86 m_InteractionMask = mask;
89 int GetInteractionMask()
91 return m_InteractionMask;
94 void SetPriorityLayer(
int priority)
99 int GetPriorityLayer()
115 m_VariableType = PPEConstants.VAR_TYPE_BOOL;
125 void PPERequestParamDataInt(
int requester_idx,
int mat_id,
int param_id,
int data_type = 0,
int priority = 0,
int mask =
PPOperators.SET,
bool relative =
false )
129 m_VariableType = PPEConstants.VAR_TYPE_INT;
144 m_VariableType = PPEConstants.VAR_TYPE_FLOAT;
166 void PPERequestParamDataColor(
int requester_idx,
int mat_id,
int param_id,
int data_type = 0,
int priority = 0,
int mask =
PPOperators.SET,
bool relative =
false )
168 m_VariableType = PPEConstants.VAR_TYPE_COLOR;
173 m_ColorTarget = {0.0,0.0,0.0,0.0};
174 m_ColorCurrent = {0,0.0,0.0,0.0};
175 m_ColorLast = {0.0,0.0,0.0,0.0};
176 m_ColorFormerTarget = {0.0,0.0,0.0,0.0};
177 m_ColorStart = {0.0,0.0,0.0,0.0};