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

Method NodeNonOpaqueTest

tests/cpp-tests/Source/NodeTest/NodeTest.cpp:860–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858/// NodeNonOpaqueTest
859
860NodeNonOpaqueTest::NodeNonOpaqueTest()
861{
862 Sprite* background = nullptr;
863
864 for (int i = 0; i < 50; i++)
865 {
866 background = Sprite::create("Images/background1.jpg");
867 background->setBlendFunc(BlendFunc::DISABLE);
868 background->setAnchorPoint(Vec2::ZERO);
869 addChild(background);
870 }
871}
872
873std::string NodeNonOpaqueTest::title() const
874{

Callers

nothing calls this directly

Calls 3

createFunction · 0.85
setBlendFuncMethod · 0.45
setAnchorPointMethod · 0.45

Tested by

no test coverage detected