MCPcopy Create free account
hub / github.com/MyGUI/mygui / _setColour

Method _setColour

MyGUIEngine/src/MyGUI_RotatingSkin.cpp:186–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 }
185
186 void RotatingSkin::_setColour(const Colour& _value)
187 {
188 uint32 colour = texture_utility::toNativeColour(_value, mVertexFormat);
189 mCurrentColour = (colour & 0x00FFFFFF) | (mCurrentColour & 0xFF000000);
190
191 if (nullptr != mNode)
192 mNode->outOfDate(mRenderItem);
193 }
194
195 void RotatingSkin::setStateData(IStateInfo* _data)
196 {

Callers

nothing calls this directly

Calls 2

toNativeColourFunction · 0.85
outOfDateMethod · 0.45

Tested by

no test coverage detected