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

Method setHeight

Source/Node/Node.cpp:260–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260void Node::setHeight(float var) {
261 auto& transform = getTransform();
262 transform.height = var;
263 transform.anchorPointY = transform.anchorY * var;
264 markDirty();
265}
266
267float Node::getHeight() const noexcept {
268 return GetTAttr(height);

Callers 3

SetHeightFunction · 0.45
node_set_heightFunction · 0.45
rect_set_heightFunction · 0.45

Calls 2

getTransformFunction · 0.85
markDirtyFunction · 0.85

Tested by

no test coverage detected