Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
nBase [-clearCachedTextureMap string] [-clearStart] [-stuffStart] [-textureToVertex string]
nBase is undoable, queryable, and editable.
Edits one or more nBase objects. Note that nBase objects include nCloth, nRigid
and nParticle objects, but the options on this command do not currently apply
to nParticle objects.
In query mode, return type is based on queried flag.
nBase
clearCachedTextureMap, clearStart, stuffStart, textureToVertex
Long name (short name) |
Argument types |
Properties |
-clearCachedTextureMap(-cct)
|
string
|
|
|
Clear the cached texture map for the specified attribute from
the nBase.
|
|
-clearStart(-cs)
|
|
|
|
Indicates that start state should be cleared
|
|
-stuffStart(-ss)
|
|
|
|
Indicates that current state should be stuffed into the start state
|
|
-textureToVertex(-ttv)
|
string
|
|
|
Transfer the texture map data for the specified attribute into
the related per-vertex attribute.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// Stuff the current positions and velocities into nCloth1's startPositions and
// startVelocities.
//
nBase -e -stuffStart nCloth1;
// Clear nCloth1's startPositions and startVelocities.
//
nBase -e -clearStart nCloth1;
// Transfer the texture map data for the thicknessMap attribute into the
// thicknessPerVertex attribute.
//
nBase -e -textureToVertex thicknessMap nCloth1;