Model.cs 370 B

123456789101112131415
  1. using System;
  2. using System.Runtime.InteropServices;
  3. namespace Urho {
  4. public partial class Model {
  5. [DllImport (Consts.NativeImport, CallingConvention=CallingConvention.Cdecl)]
  6. extern static IntPtr Model_Clone (IntPtr handle);
  7. public Model Clone ()
  8. {
  9. Runtime.ValidateRefCounted(this);
  10. return Runtime.LookupObject<Model> (Model_Clone (handle));
  11. }
  12. }
  13. }