3ds Max C++ API Reference
Loading...
Searching...
No Matches
Steps Arguments <br>

Arguments for the "steps" parameter in MakePolyShape(). More...

Macros

#define PSHAPE_BUILTIN_STEPS   -2
 Uses the shape's built-in steps/adaptive settings (default)
 
#define PSHAPE_ADAPTIVE_STEPS   -1
 Forces adaptive steps

 

Detailed Description

Arguments for the "steps" parameter in MakePolyShape().

The third parameter in ShapeObject::MakePolyShape()
is the number of steps, and can accept one of the following arguments for non-fixed number of steps. Any positive argument will be interpreted as fixed number of steps. The child classes of ShapeObject who implements this function (LinearShape, SimpleShape, SimpleSpline, SplineShape, MSPluginShape, and MSShapeXtnd) also interpret these in the same way.

See also
ShapeObject::MakePolyShape()

Macro Definition Documentation

◆ PSHAPE_BUILTIN_STEPS

#define PSHAPE_BUILTIN_STEPS   -2

Uses the shape's built-in steps/adaptive settings (default)

◆ PSHAPE_ADAPTIVE_STEPS

#define PSHAPE_ADAPTIVE_STEPS   -1

Forces adaptive steps