/// <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.name }; }
/// <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); }