2 * Copyright (c) 2018 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>
27 Vector3 UpdateProxy::GetPosition( unsigned int id ) const
29 return mImpl.GetPosition( id );
32 void UpdateProxy::SetPosition( unsigned int id, const Vector3& position )
34 mImpl.SetPosition( id, position );
37 const Vector3& UpdateProxy::GetSize( unsigned int id ) const
39 return mImpl.GetSize( id );
42 void UpdateProxy::SetSize( unsigned int id, const Vector3& size )
44 mImpl.SetSize( id, size );
47 void UpdateProxy::GetPositionAndSize( unsigned int id, Vector3& position, Vector3& size ) const
49 mImpl.GetPositionAndSize( id, position, size );
52 Vector4 UpdateProxy::GetWorldColor( unsigned int id ) const
54 return mImpl.GetWorldColor( id );
57 void UpdateProxy::SetWorldColor( unsigned int id, const Vector4& color ) const
59 mImpl.SetWorldColor( id, color );
62 void UpdateProxy::GetWorldMatrixAndSize( unsigned int id, Matrix& worldMatrix, Vector3& size ) const
64 mImpl.GetWorldMatrixAndSize( id, worldMatrix, size );
67 const Matrix& UpdateProxy::GetWorldMatrix( unsigned int id ) const
69 return mImpl.GetWorldMatrix( id );
72 void UpdateProxy::SetWorldMatrix( unsigned int id, const Matrix& worldMatrix )
74 mImpl.SetWorldMatrix( id, worldMatrix );
77 UpdateProxy::UpdateProxy( Internal::UpdateProxy& impl )
82 UpdateProxy::~UpdateProxy()