#include <SkottiePriv.h>
Definition at line 163 of file SkottiePriv.h.
◆ AutoPropertyTracker()
Definition at line 165 of file SkottiePriv.h.
167 , fPrevContext(
builder->fPropertyObserverContext), fNodeType(node_type) {
168 if (fBuilder->fPropertyObserver) {
169 auto observer =
builder->fPropertyObserver.get();
170 this->updateContext(observer, obj);
171 observer->onEnterNode(fBuilder->fPropertyObserverContext, fNodeType);
172 }
173 }
◆ ~AutoPropertyTracker()
skottie::internal::AnimationBuilder::AutoPropertyTracker::~AutoPropertyTracker |
( |
| ) |
|
|
inline |
Definition at line 175 of file SkottiePriv.h.
175 {
176 if (fBuilder->fPropertyObserver) {
177 fBuilder->fPropertyObserver->onLeavingNode(fBuilder->fPropertyObserverContext, fNodeType);
178 fBuilder->fPropertyObserverContext = fPrevContext;
179 }
180 }
The documentation for this class was generated from the following files: