| 1234567891011121314151617181920212223242526272829303132 |
- #pragma once
- #include "BsScriptEnginePrerequisites.h"
- #include "BsScriptObject.h"
- #include "BsMeshData.h"
- namespace BansheeEngine
- {
- /**
- * @brief Interop class between C++ & CLR for BoneWeight.
- */
- class BS_SCR_BE_EXPORT ScriptBoneWeight : public ScriptObject <ScriptBoneWeight>
- {
- public:
- SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "BoneWeight")
- /**
- * @brief Unboxes a boxed managed BoneWeight struct and returns
- * the native version of the structure.
- */
- static BoneWeight unbox(MonoObject* obj);
- /**
- * @brief Boxes a native BoneWeight struct and returns
- * a managed object containing it.
- */
- static MonoObject* box(const BoneWeight& value);
- private:
- ScriptBoneWeight(MonoObject* instance);
- };
- }
|