EntitySurrogate.CreateMeshOrGhostEntity Method
Protected Function CreateMeshOrGhostEntity( _
ByVal vertices As Point3D(), _
ByVal triangles As IndexTriangle(), _
ByVal orgEntityType As Type _
) As Entity
This language is not supported or no code example is available.
Parameters
- vertices
- Point3D[]
Vertices to generate the mesh.
- triangles
- IndexTriangle[]
Triangle to generate the mesh.
- orgEntityType
- Type
The original entity type stored in the Eyeshot file format. It's used only in case of Ghost entity creation.
Return Value
EntityReturns a new Mesh when the CheckSurrogateData method return true, otherwise it returns a Ghost entity.
Method used by some surrogates in conjunction with the ConvertToObject method when the contentType is contentType.Tessellation