MCPcopy Create free account
hub / github.com/Snapchat/Valdi / isVisibleInViewport

Method isVisibleInViewport

valdi/src/valdi/runtime/Context/ViewNode.cpp:1216–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1214
1215const Frame& ViewNode::getCalculatedViewport() const {
1216 return _calculatedViewport;
1217}
1218
1219void ViewNode::setCalculatedViewport(const Valdi::Frame& calculatedViewport) {
1220 _calculatedViewport = calculatedViewport;
1221}

Callers 5

TEST_PFunction · 0.80
TESTFunction · 0.80
assertVisibleInRangeFunction · 0.80

Calls

no outgoing calls

Tested by 3

TEST_PFunction · 0.64
TESTFunction · 0.64
assertVisibleInRangeFunction · 0.64