Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
getDelaunayTriangulationArray Method
An array of Vector3 points that represent the vertices of a Mesh.
Be Aware Be Aware
This functionality has not been robustly tested.

Given an array of Vector3 values representing the vertices of a Mesh, returns an array of triangle indices that correspond to a set of triangle faces that "fill" the plane.

Syntax
public static int[] getDelaunayTriangulationArray( 
   UnityEngine.Vector3[] vertices
)

Parameters

vertices
An array of Vector3 points that represent the vertices of a Mesh.

Return Value

An array of triangle indices to use when procedurally generating a 2D (planar) mesh.
See Also

Reference

Shapes Class
Shapes Members

 

 


Copyright (c) 2015 Immerseum Inc. All rights reserved.

Send Feedback