API reference

CylinderSegment Struct

Defines a portion of a cylinder surface.

Constructors

CylinderSegment ( rotation , arcDegrees , bottom , top )
Signature
CylinderSegment(float rotation, float arcDegrees, float bottom, float top)
Parameters
rotation: float
arcDegrees: float
bottom: float
top: float

Properties

ArcDegrees : float
[Get]
Signature
float ArcDegrees
Bottom : float
[Get]
Signature
float Bottom
IsInfiniteArc : bool
[Get]
Signature
bool IsInfiniteArc
IsInfiniteHeight : bool
[Get]
Signature
bool IsInfiniteHeight
Rotation : float
[Get]
Signature
float Rotation
Top : float
[Get]
Signature
float Top

Static Methods

Default ()
Signature
static CylinderSegment Default()
Infinite ()
Signature
static CylinderSegment Infinite()