'Declaration Protected Function CreateMeshOrGhostEntity( _ ByVal vertices() As Point3D, _ ByVal triangles() As IndexTriangle, _ ByVal orgEntityType As Type _ ) As Entity
protected Entity CreateMeshOrGhostEntity( Point3D[] vertices, IndexTriangle[] triangles, Type orgEntityType )
Parameters
- vertices
- Vertices to generate the mesh.
- triangles
- Triangle to generate the mesh.
- orgEntityType
- The original entity type stored in the Eyeshot file format. It's used only in case of Ghost entity creation.
Return Value
Returns a new devDept.Eyeshot.Entities.Mesh when the CheckSurrogateData method return true, otherwise it returns a devDept.Eyeshot.Entities.Ghost entity.