MCPcopy Create free account
hub / github.com/axmolengine/axmol / onEnter

Method onEnter

tests/cpp-tests/Source/MaterialSystemTest/MaterialSystemTest.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58// MARK: Tests start here
59
60void Material_MeshRendererTest::onEnter()
61{
62 MaterialSystemBaseTest::onEnter();
63
64 auto mesh = MeshRenderer::create("MeshRendererTest/boss1.obj");
65 mesh->setScale(8.f);
66 mesh->setTexture("MeshRendererTest/boss.png");
67 this->addChild(mesh);
68 mesh->setPositionNormalized(Vec2(0.5f, 0.5f));
69}
70
71std::string Material_MeshRendererTest::subtitle() const
72{

Callers

nothing calls this directly

Calls 15

parsingTestingMethod · 0.95
createFunction · 0.85
getInstanceFunction · 0.85
printPropertiesFunction · 0.85
getPassByIndexMethod · 0.80
getTechniqueByNameMethod · 0.80
loadBarTextureMethod · 0.80
loadSlidBallTexturesMethod · 0.80
scheduleOnceMethod · 0.80
setTagMethod · 0.80
Vec2Function · 0.50

Tested by

no test coverage detected