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

Method setPositionZ

core/2d/Node.cpp:571–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571void Node::setPositionZ(float positionZ)
572{
573 if (_positionZ == positionZ)
574 return;
575
576 _transformUpdated = _transformDirty = _inverseDirty = true;
577
578 _positionZ = positionZ;
579}
580
581/// position getter
582const Vec2& Node::getPositionNormalized() const

Callers 10

setupTileSpriteMethod · 0.45
applyZoomMethod · 0.45
updateMethod · 0.45
repositionSpriteMethod · 0.45
CameraRotationTestMethod · 0.45
RenderTextureZbufferMethod · 0.45
SpriteZVertexMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by 8

updateMethod · 0.36
repositionSpriteMethod · 0.36
CameraRotationTestMethod · 0.36
RenderTextureZbufferMethod · 0.36
SpriteZVertexMethod · 0.36
updateMethod · 0.36