From 8267baeff5efc400ddd8756bf8e798e2c75c6423 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Fri, 27 Sep 2024 17:36:02 +0900 Subject: [PATCH] (Scene3D) Bind SceneView CORNER_RADIUS / BORDERLINE property Change-Id: I8b32a1ad5143e42bf31664eec4565968d0e621b5 Signed-off-by: Eunki, Hong --- .../dali-scene3d/scene-view-wrap.cpp | 52 ++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/dali-csharp-binder/dali-scene3d/scene-view-wrap.cpp b/dali-csharp-binder/dali-scene3d/scene-view-wrap.cpp index 2c541fb2..c1cb90d1 100755 --- a/dali-csharp-binder/dali-scene3d/scene-view-wrap.cpp +++ b/dali-csharp-binder/dali-scene3d/scene-view-wrap.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Samsung Electronics Co., Ltd. + * Copyright (c) 2024 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. @@ -626,6 +626,56 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_SceneView_Property_CropToMask_get() return jresult; } +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_SceneView_Property_CornerRadius_get() +{ + int jresult; + int result; + + result = (int)Dali::Scene3D::SceneView::Property::CORNER_RADIUS; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_SceneView_Property_CornerRadiusPolicy_get() +{ + int jresult; + int result; + + result = (int)Dali::Scene3D::SceneView::Property::CORNER_RADIUS_POLICY; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_SceneView_Property_BorderlineWidth_get() +{ + int jresult; + int result; + + result = (int)Dali::Scene3D::SceneView::Property::BORDERLINE_WIDTH; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_SceneView_Property_BorderlineColor_get() +{ + int jresult; + int result; + + result = (int)Dali::Scene3D::SceneView::Property::BORDERLINE_COLOR; + jresult = (int)result; + return jresult; +} + +SWIGEXPORT int SWIGSTDCALL CSharp_Dali_SceneView_Property_BorderlineOffset_get() +{ + int jresult; + int result; + + result = (int)Dali::Scene3D::SceneView::Property::BORDERLINE_OFFSET; + jresult = (int)result; + return jresult; +} + SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SceneView_StartCameraTransition_Index(void* csSceneView, uint32_t index, int durationMilliSeconds, void* csAlphaFunction) { Dali::Scene3D::SceneView* sceneView = (Dali::Scene3D::SceneView*)csSceneView; -- 2.34.1