[NUI] Added collider mesh support (#5782) (#5799)
authorhuiyu <35286162+huiyueun@users.noreply.github.com>
Wed, 6 Dec 2023 04:39:22 +0000 (13:39 +0900)
committerGitHub <noreply@github.com>
Wed, 6 Dec 2023 04:39:22 +0000 (13:39 +0900)
commita78357d298966bd7eca4429915e68e42451b2470
tree27fdc3330a047df5a58ca7e51ad62144a635af68
parent4caef98a98ca090d43c51a24b892a0250bbfe226
[NUI] Added collider mesh support (#5782) (#5799)

* [NUI] Added collider mesh support

Model.SetColliderMesh() function allows creating and setting a collider mesh on the node of model.

Node of model is selected by name (string).
Collider mesh data consists:
List<Vector3> - list of vertices
List<int> - list of indices (3 indices are a triangle face)

* Modify issue

---------

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Co-authored-by: Adam Bialogonski <adam.b@samsung.com>
src/Tizen.NUI.Scene3D/src/internal/Interop/Interop.Model.cs
src/Tizen.NUI.Scene3D/src/internal/Interop/Interop.ModelNode.cs
src/Tizen.NUI.Scene3D/src/public/Controls/Model.cs
src/Tizen.NUI.Scene3D/src/public/ModelComponents/ModelNode.cs