X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fupdate%2Fupdate-proxy.h;h=0698b9a24e060d30ab5a8e03bfc6fffa408fd9a9;hb=refs%2Fchanges%2F53%2F274253%2F3;hp=8a66dab000c2438d782bc23b3c2375cb8735061b;hpb=244c80a941817eda0931a1567dfeea85da6154a8;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/devel-api/update/update-proxy.h b/dali/devel-api/update/update-proxy.h index 8a66dab..0698b9a 100644 --- a/dali/devel-api/update/update-proxy.h +++ b/dali/devel-api/update/update-proxy.h @@ -2,7 +2,7 @@ #define DALI_UPDATE_PROXY_H /* - * Copyright (c) 2020 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. @@ -107,6 +107,16 @@ public: bool GetPositionAndSize(uint32_t id, Vector3& position, Vector3& size) const; /** + * @brief Given the Actor ID, this retrieves that Actor's world position and size. + * @param[in] id The Actor ID + * @param[out] position Set to the Actor's current world position, if Actor ID is valid + * @param[out] scale Set to the Actor's current world scale, if Actor ID is valid + * @param[out] size Set to the Actor's current size, if Actor ID is valid + * @return Whether the method call was successful or not. + */ + bool GetWorldPositionScaleAndSize(uint32_t id, Vector3& position, Vector3& scale, Vector3& size) const; + + /** * @brief Given the Actor ID, this retrieves that Actor's local scale. * @param[in] id The Actor ID * @param[out] scale Set to the Actor's current scale, if Actor ID is valid