Python API 2.0 Reference
|
Public Member Functions | |
def | __init__ () |
Static Public Member Functions | |
def | __new__ () |
Static Public Attributes | |
int | kCatmullClark = 0 |
int | kInvalidSubdivision = -1 |
int | kLastSubdivision = 4 |
int | kOpenSubdivCatmullClarkAdaptive = 3 |
int | kOpenSubdivCatmullClarkUniform = 2 |
Boundary Rules | |
int | kCreaseAll = 1 |
int | kCreaseEdge = 2 |
int | kInvalid = -1 |
int | kLast = 3 |
int | kLegacy = 0 |
Properties | |
boundaryRule = property(...) | |
divisions = property(...) | |
keepBorderEdge = property(...) | |
keepHardEdge = property(...) | |
propEdgeHardness = property(...) | |
smoothUVs = property(...) | |
smoothness = property(...) | |
subdivisionType = property(...) | |
Options for control of smooth mesh generation.
Signature | Parameters | Description |
---|---|---|
MMeshSmoothOptions() | Default constructor. Returns a new, empty MMeshSmoothOptions object. |
def OpenMaya.MMeshSmoothOptions.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
|
static |
Name: | kCreaseAll |
Type: | int |
Description: | Crease boundary edges & vertices with valence of exactly 2. |
|
static |
Name: | kCreaseEdge |
Type: | int |
Description: | Crease boundary edges only. |
|
static |
Name: | kInvalid |
Type: | int |
Description: |
|
static |
Name: | kLast |
Type: | int |
Description: | Used to enumerate boundary rule constants. |
|
static |
Name: | kLegacy |
Type: | int |
Description: | Use the legacy algorithm, which performs no creasing. |
|
static |
Determines how boundary edges and vertices are creased.
|
static |
Number of subdivisions used in smoothing.
|
static |
If True, border edges will not be smoothed.
|
static |
If True, hard edges will not be smoothed.
|
static |
If True, the hardness of edges in the base cage will be propagated to the edges of the smoothed mesh which derive from them.
|
static |
The degree of smoothness desired. Ranges from 0.0 (hard) to 1.0 (fully smoothed).
|
static |
If True, UVs will be smoothed as well as geometry. If False, only geometry will be smoothed.
|
static |
Determines subdivision algorithm used for mesh smoothing.