NativeFixedJoint.cs 937 B

1234567891011121314151617181920212223242526272829
  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. /** @cond INTEROP */
  7. /** @addtogroup Interop
  8. * @{
  9. */
  10. /// <summary>
  11. /// Wrapper around the native FixedJoint class.
  12. /// <see cref="FixedJoint"/>
  13. /// </summary>
  14. internal class NativeFixedJoint : NativeJoint
  15. {
  16. public NativeFixedJoint(ScriptCommonJointData commonData)
  17. {
  18. Internal_CreateInstance(this, ref commonData);
  19. }
  20. [MethodImpl(MethodImplOptions.InternalCall)]
  21. private static extern void Internal_CreateInstance(NativeFixedJoint instance, ref ScriptCommonJointData commonData);
  22. }
  23. /** @} */
  24. /** @endcond */
  25. }