2 * Copyright (c) 2020 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali/devel-api/update/update-proxy.h>
22 #include <dali/internal/update/manager/update-proxy-impl.h>
26 bool UpdateProxy::GetPosition(uint32_t id, Vector3& position) const
28 return mImpl.GetPosition(id, position);
31 bool UpdateProxy::SetPosition(uint32_t id, const Vector3& position)
33 return mImpl.SetPosition(id, position);
36 bool UpdateProxy::BakePosition(uint32_t id, const Vector3& position)
38 return mImpl.BakePosition(id, position);
41 bool UpdateProxy::GetSize(uint32_t id, Vector3& size) const
43 return mImpl.GetSize(id, size);
46 bool UpdateProxy::SetSize(uint32_t id, const Vector3& size)
48 return mImpl.SetSize(id, size);
51 bool UpdateProxy::BakeSize(uint32_t id, const Vector3& size)
53 return mImpl.BakeSize(id, size);
56 bool UpdateProxy::GetPositionAndSize(uint32_t id, Vector3& position, Vector3& size) const
58 return mImpl.GetPositionAndSize(id, position, size);
61 bool UpdateProxy::GetScale(uint32_t id, Vector3& scale) const
63 return mImpl.GetScale(id, scale);
66 bool UpdateProxy::SetScale(uint32_t id, const Vector3& scale)
68 return mImpl.SetScale(id, scale);
71 bool UpdateProxy::BakeScale(uint32_t id, const Vector3& scale)
73 return mImpl.BakeScale(id, scale);
76 bool UpdateProxy::GetColor(uint32_t id, Vector4& color) const
78 return mImpl.GetColor(id, color);
81 bool UpdateProxy::SetColor(uint32_t id, const Vector4& color)
83 return mImpl.SetColor(id, color);
86 bool UpdateProxy::BakeColor(uint32_t id, const Vector4& color)
88 return mImpl.BakeColor(id, color);
91 UpdateProxy::UpdateProxy(Internal::UpdateProxy& impl)
96 UpdateProxy::~UpdateProxy()