polyContourProjection is undoable, queryable, and editable.
Performs a contour stretch UV projection onto an object.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
|
-createNewMap(-cm)
|
boolean
|
|
|
This flag when set true will create a new map with
the name passed in, if the map does not already exist.
|
|
-flipRails(-fr)
|
boolean
|
|
|
If true, flip which curves are the rails of the birail surface.
|
|
-insertBeforeDeformers(-ibd)
|
boolean
|
|
|
This flag specifies if the projection node should be inserted before
or after deformer nodes already applied to the shape. Inserting the
projection after the deformer leads to texture swimming during
animation and is most often undesirable.
C: Default is on.
|
|
-method(-m)
|
int
|
|
|
Sets which projection method to use. Valid values are
0: Walk Contours
1: NURBS Projection
|
|
-offset0(-o0)
|
linear
|
|
|
Sets the offset on edge 0 of the NURBS surface.
|
|
-offset1(-o1)
|
linear
|
|
|
Sets the offset on edge 1 of the NURBS surface.
|
|
-offset2(-o2)
|
linear
|
|
|
Sets the offset on edge 2 of the NURBS surface.
|
|
-offset3(-o3)
|
linear
|
|
|
Sets the offset on edge 3 of the NURBS surface.
|
|
-reduceShear(-rs)
|
float
|
|
|
Sets the 'reduce shear' parameter of the projection.
|
|
-smoothness0(-s0)
|
float
|
|
|
Sets the smoothness of edge 0 of the NURBS surface.
|
|
-smoothness1(-s1)
|
float
|
|
|
Sets the smoothness of edge 1 of the NURBS surface.
|
|
-smoothness2(-s2)
|
float
|
|
|
Sets the smoothness of edge 2 of the NURBS surface.
|
|
-smoothness3(-s3)
|
float
|
|
|
Sets the smoothness of edge 3 of the NURBS surface.
|
|
-userDefinedCorners(-udc)
|
boolean
|
|
|
If true, the four vertices specified by user will be taken as corners to do the projection.
|
|
-worldSpace(-ws)
|
boolean
|
|
|
This flag specifies which reference to use.
If on : all geometrical values are taken in world reference.
If off : all geometrical values are taken in object reference.
C: Default is off.
Q: When queried, this flag returns an int.
|
|
Common flags |
-caching(-cch)
|
boolean
|
|
|
Toggle caching for all attributes so that no recomputation is needed.
|
|
-constructionHistory(-ch)
|
boolean
|
|
|
Turn the construction history on or off (where applicable). If
construction history is on then the corresponding node will be
inserted into the history chain for the mesh. If construction history
is off then the operation will be performed directly on the object.
Note: If the object already has construction history then
this flag is ignored and the node will always be inserted into
the history chain.
|
|
-name(-n)
|
string
|
|
|
Give a name to the resulting node.
|
|
-nodeState(-nds)
|
int
|
|
|
Defines how to evaluate the node.
- 0: Normal
- 1: PassThrough
- 2: Blocking
- 3: Internally disabled. Will return to Normal state when enabled
- 4: Internally disabled. Will return to PassThrough state when enabled
- 5: Internally disabled. Will return to Blocking state when enabled
|
|