NativePlaneCollider.cs 797 B

12345678910111213141516171819202122
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. using System;
  4. using System.Runtime.CompilerServices;
  5. namespace BansheeEngine
  6. {
  7. /// <summary>
  8. /// Wrapper around the native PlaneCollider class.
  9. /// <see cref="PlaneCollider"/>
  10. /// </summary>
  11. internal class NativePlaneCollider : NativeCollider
  12. {
  13. public NativePlaneCollider()
  14. {
  15. Internal_CreateInstance(this);
  16. }
  17. [MethodImpl(MethodImplOptions.InternalCall)]
  18. private static extern void Internal_CreateInstance(NativePlaneCollider instance);
  19. }
  20. }