IShell3D Factory3D.CreateShell(IEnumerable<Double> param1, IEnumerable<Double> param2, IEnumerable<Int32> param3, IEnumerable<Int32> param4)

Create a shell

Examples

The following parameters define two triangles to display a light blue square of length 1 in XY plan: vertices = [0.,0.,0., 1.,0.,0., 1.,1.,0., 0.,1.,0.] normals = [0.,0.,1., 0.,0.,1., 0.,0.,1., 0.,0.,1.] connectivity = [0,1,2, 0,2,3] colors = [(173<<16) + (216<<8) + 230, (173<<16) + (216<<8) + 230] ExtAPI.Graphics.Scene.Factory3D.CreateShell(vertices, normals, connectivity, colors)

Parameters

  • param1
    Type: IEnumerable<Double>
  • param2
    Type: IEnumerable<Double>
  • param3
    Type: IEnumerable<Int32>
  • param4
    Type: IEnumerable<Int32>

Return Value

Type: IShell3D