2 * Copyright (c) 2023 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::GetOrientation(uint32_t id, Quaternion& orientation) const
43 return mImpl.GetOrientation(id, orientation);
46 bool UpdateProxy::SetOrientation(uint32_t id, const Quaternion& orientation)
48 return mImpl.SetOrientation(id, orientation);
51 bool UpdateProxy::BakeOrientation(uint32_t id, const Quaternion& orientation)
53 return mImpl.BakeOrientation(id, orientation);
56 bool UpdateProxy::GetSize(uint32_t id, Vector3& size) const
58 return mImpl.GetSize(id, size);
61 bool UpdateProxy::SetSize(uint32_t id, const Vector3& size)
63 return mImpl.SetSize(id, size);
66 bool UpdateProxy::BakeSize(uint32_t id, const Vector3& size)
68 return mImpl.BakeSize(id, size);
71 bool UpdateProxy::GetPositionAndSize(uint32_t id, Vector3& position, Vector3& size) const
73 return mImpl.GetPositionAndSize(id, position, size);
76 bool UpdateProxy::GetWorldPositionScaleAndSize(uint32_t id, Vector3& position, Vector3& scale, Vector3& size) const
78 return mImpl.GetWorldPositionScaleAndSize(id, position, scale, size);
81 bool UpdateProxy::GetWorldTransformAndSize(uint32_t id, Vector3& position, Vector3& scale, Quaternion& orientation, Vector3& size) const
83 return mImpl.GetWorldTransformAndSize(id, position, scale, orientation, size);
86 bool UpdateProxy::GetScale(uint32_t id, Vector3& scale) const
88 return mImpl.GetScale(id, scale);
91 bool UpdateProxy::SetScale(uint32_t id, const Vector3& scale)
93 return mImpl.SetScale(id, scale);
96 bool UpdateProxy::BakeScale(uint32_t id, const Vector3& scale)
98 return mImpl.BakeScale(id, scale);
101 bool UpdateProxy::GetColor(uint32_t id, Vector4& color) const
103 return mImpl.GetColor(id, color);
106 bool UpdateProxy::SetColor(uint32_t id, const Vector4& color)
108 return mImpl.SetColor(id, color);
111 bool UpdateProxy::BakeColor(uint32_t id, const Vector4& color)
113 return mImpl.BakeColor(id, color);
116 UpdateProxy::UpdateProxy(Internal::UpdateProxy& impl)
121 UpdateProxy::~UpdateProxy() = default;