Creates new XCylinderMesh class instance using the cylinder parameters.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
Parameters
- radius1
- Type: System..::.Single
Radius of the cylinder at the end in the negative Z axis.
- radius2
- Type: System..::.Single
Radius of the cylinder at the end in the positive Z axis.
- length
- Type: System..::.Single
Defines the cylinder length.
- stacks
- Type: System..::.Int32
Defines the edges count along the main diagonal.
- angle
- Type: System..::.Single
Rotation angle.