コード例 #1
0
 /// <summary>
 /// Set a named parameter to compound values
 /// </summary>
 public bool SetValue(string parameterName, params dynamic[] values)
 {
     /*
      * [[
      *  do
      *          return SlipeMtaDefinitions.MtaClient.DxSetShaderValue(this.materialElement, parameterName, unpack(values))
      *  end
      * ]]
      */
     return(MtaClient.DxSetShaderValue(materialElement, parameterName, values));
 }
コード例 #2
0
 /// <summary>
 /// Set a named parameter
 /// </summary>
 public bool SetValue(string parameterName, dynamic value)
 {
     return(MtaClient.DxSetShaderValue(materialElement, parameterName, value));
 }