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

Method setStateData

MyGUIEngine/src/MyGUI_RotatingSkin.cpp:195–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 }
194
195 void RotatingSkin::setStateData(IStateInfo* _data)
196 {
197 RotatingSkinStateInfo* data = _data->castType<RotatingSkinStateInfo>();
198
199 setAngle(data->getAngle());
200 setCenter(data->getCenter());
201
202 _setUVSet(data->getRect());
203 }
204
205 void RotatingSkin::_setUVSet(const FloatRect& _rect)
206 {

Callers

nothing calls this directly

Calls 2

getAngleMethod · 0.80
getCenterMethod · 0.80

Tested by

no test coverage detected