[NUI] Added collider mesh support (#5782)
authorhuiyu <35286162+huiyueun@users.noreply.github.com>
Fri, 1 Dec 2023 07:16:30 +0000 (16:16 +0900)
committerBowon Ryu <wonrst22@naver.com>
Tue, 5 Dec 2023 07:45:45 +0000 (16:45 +0900)
commitc6fe37d8df0e32ff1882e7c6b75a727885737e40
tree85c356f7677c5797ebdbd0f714b7c147e7a62827
parentdb4c61aac84551f32c16fdd7baa09e75dc20f225
[NUI] Added collider mesh support (#5782)

* [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>
---------

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