Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

texSculptCacheContext [-adjustSize boolean] [-adjustStrength boolean] [-direction int] [-falloffType int] [-floodPin float] [-grabTwist boolean] [-inverted boolean] [-mode string] [-sculptFalloffCurve string] [-showBrushRingDuringStroke boolean] [-size float] [-strength float]

texSculptCacheContext is undoable, queryable, and editable.

This is a tool context command for uv cache sculpting tool.

Return value

None

In query mode, return type is based on queried flag.

Flags

adjustSize, adjustStrength, direction, falloffType, floodPin, grabTwist, inverted, mode, sculptFalloffCurve, showBrushRingDuringStroke, size, strength
Long name (short name) Argument types Properties
-adjustSize(-asz) boolean edit
If true, puts the tool into the mode where dragging the mouse will edit the brush size. If false, puts the tool back into the previous sculpt mode.
-adjustStrength(-ast) boolean edit
If true, puts the tool into the mode where dragging the mouse will edit the brush strength. If false, puts the tool back into the previous sculpt mode.
-direction(-d) int queryedit
Specifies how the brush determines where the uvs go.
-falloffType(-ft) int queryedit
Specifies how the brush determines which uvs to affect.
-floodPin(-fp) float createedit
Sets the pin value for each UV to the given value
-grabTwist(-gtw) boolean createqueryedit
If true, the grab brush twists the UVs
-inverted(-inv) boolean createqueryedit
If true, inverts the effect of the brush.
-mode(-m) string queryedit
Specifies the type of sculpting effect the brush will perform.
-sculptFalloffCurve(-sfc) string queryedit
Specifies the falloff curve that affects the brush.
-showBrushRingDuringStroke(-sbr) boolean queryedit
Specifies whether or not to show the brush ring during stroke.
-size(-sz) float queryedit
Specifies the world-space size of the current brush.
-strength(-st) float queryedit
Specifies the world-space strength of the current brush.

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.

MEL examples

// Create a new sculpting context, then switch to it
texSculptCacheContext uvSculptCtx;
setToolTo uvSculptCtx;

// Set uvSculptCtx's brush size to 0.2
texSculptCacheContext -e -sz 0.2 uvSculptCtx;