Revert "[Tizen] Create ProjectionDirection property at CameraActor"
[platform/core/uifw/dali-core.git] / dali / devel-api / actors / camera-actor-devel.h
index e1a0a4c..563118e 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_CAMERA_ACTOR_DEVEL_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
@@ -24,15 +24,6 @@ namespace Dali
 {
 namespace DevelCameraActor
 {
-/**
- * @brief Enumeration for projection direction.
- */
-enum ProjectionDirection
-{
-  VERTICAL,   ///< Field of view direction based on vertial.
-  HORIZONTAL, ///< Field of view direction based on horizontal.
-};
-
 namespace Property
 {
 enum
@@ -42,21 +33,7 @@ enum
    * @details Type Property::VECTOR4
    * @note Optional
    */
-  REFLECTION_PLANE = CameraActor::Property::INVERT_Y_AXIS + 1,
-
-  /**
-   * @brief Determine basic direction of projection relative properties.
-   * It will be used when we need to calculate some values relative with aspect ratio automatically.
-   *
-   * For example, if aspect ratio is 4:3 and set fieldOfView as 60 degree.
-   * If ProjectionDirection::VERTICAL, basic direction is vertical. so, FoV of horizontal direction become ~75.2 degree
-   * If ProjectionDirection::HORIZONTAL, basic direction is horizontal. so, FoV of vertical direction become ~46.8 degree
-   *
-   * @details Type Property::INT
-   * @note This property doesn't change FieldOfView value automatically. So result scene might be changed.
-   * @note Default is ProjectionDirection::VERTICAL.
-   */
-  PROJECTION_DIRECTION,
+  REFLECTION_PLANE = CameraActor::Property::INVERT_Y_AXIS + 1
 };
 
 } // Namespace Property