Class CM3ItemPoly extends CM3Item
CM3ItemPoly Class
Represents:
- Straight lines
- Polylines
- Bezier curves
Settings include:
- ExtrusionType
- Path (aka spine)
- Crosssetion(s)
- SmoothingArray
- ScalingArray
- RotationArray
Settings Group: Curve
| Setting | Name | Type | Options | Default | Comments |
|---|---|---|---|---|---|
| Coordinates | Coordinates | CMTYPE_COORDINATES | {Xs:[],Ys:[],Smoothing:[] | ||
| Smoothing | Smoothing | CMTYPE_BOOLEAN_ARRAY | null | ||
| ExtrusionType | ExtrusionType | CMTYPE_ENUMERATED | "Flat", "Pointy", "ThreeJS" | Pointy | |
| CrossSectionAngle | RadiusOfRotation | CMTYPE_FLOAT | 45 | ||
| RadiusOfRotation | RadiusOfRotation | CMTYPE_FLOAT | 40 | ||
| DegreesPerSegment | RadiusOfRotation | CMTYPE_FLOAT | 20 | ||
| Smoothed | Smoothed | CMTYPE_BOOLEAN | false | ||
| NumSteps | NumSteps | CMTYPE_INTEGER | CM3ITEMPOLY_NUMSTEPS |
Object Functions
Inherited From: CM3Item
| Returns | Function | Throws |
|---|---|---|
| SetControlPoints() |