MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / SetAnchorX

Function SetAnchorX

Source/Animation/Action.cpp:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31static void SetWidth(Node* target, float value) { target->setWidth(value); }
32static void SetHeight(Node* target, float value) { target->setHeight(value); }
33static void SetAnchorX(Node* target, float value) { target->setAnchor(Vec2{value, target->getAnchor().y}); }
34static void SetAnchorY(Node* target, float value) { target->setAnchor(Vec2{target->getAnchor().x, value}); }
35static void SetOpacity(Node* target, float value) { target->setOpacity(value); }
36

Callers

nothing calls this directly

Calls 2

setAnchorMethod · 0.80
getAnchorMethod · 0.80

Tested by

no test coverage detected