示例#1
0
 /// <summary>
 /// Converts a native HB mixdown structure to a Mixdown model.
 /// </summary>
 /// <param name="mixdown">The structure to convert.</param>
 /// <returns>The converted model.</returns>
 public static HBMixdown NativeToMixdown(hb_mixdown_s mixdown)
 {
     return(new HBMixdown
     {
         Id = mixdown.amixdown,
         ShortName = mixdown.short_name,
         DisplayName = mixdown.human_readable_name
     });
 }
示例#2
0
 /// <summary>
 /// Converts a native HB mixdown structure to a Mixdown model.
 /// </summary>
 /// <param name="mixdown">
 /// The structure to convert.
 /// </param>
 /// <returns>
 /// The converted model.
 /// </returns>
 internal static HBMixdown NativeToMixdown(hb_mixdown_s mixdown)
 {
     return(new HBMixdown(mixdown.name, mixdown.amixdown, mixdown.short_name));
 }