BsScriptFixedJoint.h 1.0 KB

123456789101112131415161718192021222324252627
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsScriptEnginePrerequisites.h"
  5. #include "BsScriptCollider.h"
  6. #include "BsScriptJoint.h"
  7. namespace BansheeEngine
  8. {
  9. /** Interop class between C++ & CLR for FixedJoint. */
  10. class BS_SCR_BE_EXPORT ScriptFixedJoint : public TScriptJoint<ScriptFixedJoint>
  11. {
  12. public:
  13. SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "NativeFixedJoint")
  14. private:
  15. ScriptFixedJoint(MonoObject* instance, const SPtr<Joint>& joint);
  16. /** Returns the native fixed joint wrapped by this object. */
  17. FixedJoint* getFixedJoint() const;
  18. /************************************************************************/
  19. /* CLR HOOKS */
  20. /************************************************************************/
  21. static void internal_CreateInstance(MonoObject* instance);
  22. };
  23. }