6 const int LAYER_INFO_VALUE = 0;
7 const int LAYER_INFO_OPERATOR = 1;
10 protected int m_UpdatedCount;
11 protected int m_MaterialIndex;
12 protected int m_ParameterIndex;
15 protected ref
Param m_Defaults;
16 protected ref
Param m_CurrentValues;
22 m_MaterialIndex = mat_idx;
23 m_ParameterIndex = parameter_idx;
31 int GetParameterVarType()
36 void SetMaterialIndex(
int value)
38 m_MaterialIndex = value;
41 void SetParameterIndex(
int value)
43 m_ParameterIndex = value;
53 m_RequestMap.Set(request_data.GetRequesterIDX(),request_data);
56 void Update(
float timeslice, out
Param p_total, out
bool setting_defaults,
int order)
59 if ( m_Dependencies && m_Dependencies.Count() > 0 && order < PPEConstants.DEPENDENCY_ORDER_HIGHEST )
63 for (
int i = 0; i < m_Dependencies.Count(); i++)
65 key_mat = m_Dependencies.GetKey(i);
66 for (
int j = 0; j < m_Dependencies.GetElement(i).
Count(); j++)
68 element_par = m_Dependencies.GetElement(i).Get(j);
69 PPEManagerStatic.GetPPEManager().SetMaterialParamUpdating(key_mat,element_par,order + 1);
76 void ModifyResultValues(inout
Param result_values)
81 void AddPriorityInfo(
int priority)
83 if ( m_CommandLayersArray.Find(priority) == -1 )
85 m_CommandLayersArray.Insert(priority);
86 m_CommandLayersArray.Sort();
95 void RemovePriorityInfo(
int priority)
100 void RegisterDefaults(
Param p)
107 protected void InitDefaults() {};
109 protected void InitCuttent() {};
111 protected void SetParameterValueDefault(inout
Param p_total)
116 Param GetDefaultValues()
122 Param GetCurrentValues()
124 return m_CurrentValues;
127 void DbgPrnt(
string text)