#define DALI_INTERNAL_UPDATE_PROXY_IMPL_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
bool GetPositionAndSize(uint32_t id, Vector3& position, Vector3& size) const;
/**
+ * @copydoc Dali::UpdateProxy::GetWorldPositionScaleAndSize()
+ */
+ bool GetWorldPositionScaleAndSize(uint32_t id, Vector3& position, Vector3& scale, Vector3& size) const;
+
+ /**
* @copydoc Dali::UpdateProxy::GetScale()
*/
bool GetScale(uint32_t id, Vector3& scale) const;
*/
void NodeHierarchyChanged();
+ /**
+ * @brief Adds node resetter for each dirty node whose animatable properties have been changed.
+ */
+ void AddNodeResetters();
+
private:
/**
* @brief Retrieves the node with the specified ID.
mutable std::vector<IdNodePair> mNodeContainer; ///< Used to store cached pointers to already searched for Nodes.
mutable IdNodePair mLastCachedIdNodePair; ///< Used to cache the last retrieved id-node pair.
+ mutable std::vector<uint32_t> mDirtyNodes; ///< Used to store the ID of the dirty nodes with non-transform property modifications.
BufferIndex mCurrentBufferIndex;
SceneGraph::UpdateManager& mUpdateManager; ///< Reference to the Update Manager.