MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / LoadClassSpriteHandlePoint

Function LoadClassSpriteHandlePoint

src/Core/Bindings/obe/Graphics/Graphics.cpp:363–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 bindSprite["m_layerChanged"] = &obe::Graphics::Sprite::m_layerChanged;
362 }
363 void LoadClassSpriteHandlePoint(sol::state_view state)
364 {
365 sol::table GraphicsNamespace = state["obe"]["Graphics"].get<sol::table>();
366 sol::usertype<obe::Graphics::SpriteHandlePoint> bindSpriteHandlePoint
367 = GraphicsNamespace.new_usertype<obe::Graphics::SpriteHandlePoint>(
368 "SpriteHandlePoint", sol::call_constructor,
369 sol::constructors<obe::Graphics::SpriteHandlePoint(obe::Graphics::Sprite&,
370 obe::Transform::Referential),
371 obe::Graphics::SpriteHandlePoint(obe::Graphics::Sprite&)>());
372 bindSpriteHandlePoint["getRect"] = &obe::Graphics::SpriteHandlePoint::getRect;
373 bindSpriteHandlePoint["getReferential"]
374 = &obe::Graphics::SpriteHandlePoint::getReferential;
375 bindSpriteHandlePoint["getType"] = &obe::Graphics::SpriteHandlePoint::getType;
376 bindSpriteHandlePoint["moveTo"] = &obe::Graphics::SpriteHandlePoint::moveTo;
377 bindSpriteHandlePoint["m_dp"] = &obe::Graphics::SpriteHandlePoint::m_dp;
378 bindSpriteHandlePoint["radius"]
379 = sol::var(obe::Graphics::SpriteHandlePoint::radius);
380 }
381 void LoadClassText(sol::state_view state)
382 {
383 sol::table GraphicsNamespace = state["obe"]["Graphics"].get<sol::table>();

Callers

nothing calls this directly

Calls 1

varFunction · 0.85

Tested by

no test coverage detected