Revert "[Tizen] Create ProjectionDirection property at CameraActor"
[platform/core/uifw/dali-core.git] / dali / devel-api / actors / camera-actor-devel.h
1 #ifndef DALI_CAMERA_ACTOR_DEVEL_H
2 #define DALI_CAMERA_ACTOR_DEVEL_H
3
4 /*
5  * Copyright (c) 2020 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 #include <dali/public-api/actors/camera-actor.h>
22
23 namespace Dali
24 {
25 namespace DevelCameraActor
26 {
27 namespace Property
28 {
29 enum
30 {
31   /**
32    * @brief Defines reflection plane for the camera
33    * @details Type Property::VECTOR4
34    * @note Optional
35    */
36   REFLECTION_PLANE = CameraActor::Property::INVERT_Y_AXIS + 1
37 };
38
39 } // Namespace Property
40
41 /**
42  * @brief Request to rotate window after MVP matrix is multiplied.
43  * It is used in case that the target buffer direction is different from the window direction.
44  * @param [in] camera Dali::CameraActor that will be rotated.
45  * @param [in] rotationAngle The rotation angle (0, 90, 180, and 270. Note Dali::WindowOrientation.)
46  */
47 DALI_CORE_API void RotateProjection(Dali::CameraActor camera, int32_t rotationAngle);
48 } // namespace DevelCameraActor
49 } // Namespace Dali
50
51 #endif // DALI_CAMERA_ACTOR_DEVEL_H