void TimeframeReadingStreamingUtilizationAsRuntimeGettingValues(float value, Bind.Property setBindProperty, int node, int property) { //IDictionary<int, object> setBind = this._timeline.binding.ids[node]; //Bind.Property setBindProperty = (Bind.Property)this._timeline.binding.ids[node][property]; if (!setBindProperty.parameter.mute) { setBindProperty.assign = value; } // TO-DO redo all demos to utilize property binding value and remove if else statement, uniform scheme // Generate HashTable for optimization ex. idHash(node + property) //if (setBindProperty.property != null) setBind.node[setBindProperty.property][setBindProperty.binding] = setBindProperty.value; else setBind.node[setBindProperty.binding] = setBindProperty.value; //TLType param = setBind[0] as TLType; //TLElement //if (setBindProperty.property != null && setBindProperty.property == "x") //param.x /*[setBindProperty.property][setBindProperty.binding]*/ = setBindProperty.value; //else param.value/*[setBindProperty.binding]*/ = setBindProperty.value; }
void TimeframeThrustingStreamingUtilizationAsRuntimeSumingValues(float value, Bind.Property setBindProperty, int node, int property) { if (value == 0) { return; } //IDictionary<int, object> setBind = this._timeline.binding.ids[node]; //TLType setNode = (TLType)setBind[0]; //Bind.Property setBindProperty = (Bind.Property)this._timeline.binding.ids[node][property]; if (!setBindProperty.parameter.mute) { setBindProperty.assign += value; } // TO-DO redo all demos to utilize property binding value and remove if else statement, uniform scheme // Generate HashTable for optimization ex. idHash(node + property) //if (setBindProperty.property != null) setBind.node[setBindProperty.property][setBindProperty.binding] = setBindProperty.value; else setBind.node[setBindProperty.binding] = setBindProperty.value; }