| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #include "BsScriptPARTICLE_BOX_SHAPE_DESC.generated.h"
- #include "BsMonoMethod.h"
- #include "BsMonoClass.h"
- #include "BsMonoUtil.h"
- #include "Math/BsVector3.h"
- #include "Wrappers/BsScriptVector.h"
- namespace bs
- {
- ScriptPARTICLE_BOX_SHAPE_DESC::ScriptPARTICLE_BOX_SHAPE_DESC(MonoObject* managedInstance)
- :ScriptObject(managedInstance)
- { }
- void ScriptPARTICLE_BOX_SHAPE_DESC::initRuntimeData()
- { }
- MonoObject*ScriptPARTICLE_BOX_SHAPE_DESC::box(const __PARTICLE_BOX_SHAPE_DESCInterop& value)
- {
- return MonoUtil::box(metaData.scriptClass->_getInternalClass(), (void*)&value);
- }
- __PARTICLE_BOX_SHAPE_DESCInterop ScriptPARTICLE_BOX_SHAPE_DESC::unbox(MonoObject* value)
- {
- return *(__PARTICLE_BOX_SHAPE_DESCInterop*)MonoUtil::unbox(value);
- }
- PARTICLE_BOX_SHAPE_DESC ScriptPARTICLE_BOX_SHAPE_DESC::fromInterop(const __PARTICLE_BOX_SHAPE_DESCInterop& value)
- {
- PARTICLE_BOX_SHAPE_DESC output;
- output.type = value.type;
- output.extents = value.extents;
- return output;
- }
- __PARTICLE_BOX_SHAPE_DESCInterop ScriptPARTICLE_BOX_SHAPE_DESC::toInterop(const PARTICLE_BOX_SHAPE_DESC& value)
- {
- __PARTICLE_BOX_SHAPE_DESCInterop output;
- output.type = value.type;
- output.extents = value.extents;
- return output;
- }
- }
|