SimpleDynMeshBuilder > ShapeGeneratorLibrary > Get Irreg Revolve Polygon Params

Get Irreg Revolve Polygon Params

Gets the parameters required for generating a revolved irregular polygon.
Uses default values if the param is not found

Inputs

Shape Data
S Dyn Shape Data Structure
Dyn Shape Data containing the params for this shape

Outputs

Major Radius
Float (double-precision)
Radius of the outer circle
Revolve Degrees
Float (double-precision)
Number of degrees around to revolve the shape
Degree Offset
Float (double-precision)
Starting offset for the revolution
Steps
Integer
Number of steps in the revolution used to calculate the number of sides
Capped
Boolean
Whether the ends are capped
Vertices
Array of Vector 2D Structures
The array of vertices in sequential order
If the shape renders weird, try copying the vertices into the PolygonVertexBuilder and using FlipVertices