NativeFixedJoint.cs 892 B

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