API reference

CylinderClipper Class

Extends MonoBehaviour
Implements ICylinderClipper
Clips a <cref="CylinderSurface" />.
Each clipper represents the parameters of a cylinder segment.

Properties

ArcDegrees : float
[Get][Set]
Signature
float ArcDegrees
Bottom : float
[Get][Set]
Signature
float Bottom
Rotation : float
[Get][Set]
Signature
float Rotation
Top : float
[Get][Set]
Signature
float Top

Methods

GetCylinderSegment ( segment )
Attempts to retrieve the cylinder segment corresponding to the allowed region of the clipped surface.
Signature
bool GetCylinderSegment(out CylinderSegment segment)
Parameters
segment: out CylinderSegment  The cylinder segment to which the underlying ISurface should be clipped
Returns
bool  True if clipping should be performed, false otherwise