Click or drag to resize
Ab4d.SharpEngine logo

MeshFactoryCreateTubeMesh Method

Overload List
 NameDescription
Public methodStatic memberCreateTubeMesh(Vector3, Single, Single, Single, Int32, String) Create an upright 3D tube mesh with same inner and outer radius at both ends. When height is zero, the resulting mesh is a flat 2D shape. When inner radius is zero, the mesh becomes a cylinder (generated as a lathe mesh).
Public methodStatic memberCreateTubeMesh(Vector3, Vector3, Single, Single, Single, Int32, String) Create a 3D tube mesh with same inner and outer radius at both ends, and direction given by the specified height direction vector. When height is zero, the resulting mesh is a flat 2D shape. When inner radius is zero, the mesh becomes a cylinder (generated as a lathe mesh).
Public methodStatic memberCreateTubeMesh(Vector3, Vector3, Single, Single, Single, Single, Single, Int32, Single, Single, String) Create a 3D tube mesh with custom parametrization (i.e., height direction vector, start and end angle for the tube's side surface, separate radii settings for each end of the tube). When height is zero, the resulting mesh is a flat 2D shape. When inner radius is zero, the mesh becomes a cylinder (generated as a lathe mesh).
Top
See Also