ジャンプ先: 概要. 戻り値. フラグ. MEL 例.

概要

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 は、取り消し可能、照会可能、および編集可能です。

これは UV キャッシュ スカルプト ツールのためのツール コンテキスト コマンドです。

戻り値

なし

照会モードでは、戻り値のタイプは照会されたフラグに基づきます。

フラグ

adjustSize, adjustStrength, direction, falloffType, floodPin, grabTwist, inverted, mode, sculptFalloffCurve, showBrushRingDuringStroke, size, strength
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
-adjustSize(-asz) boolean edit
true の場合、マウスをドラッグするとブラシ サイズを編集できるモードになります。false の場合、以前のスカルプト モードに戻ります。
-adjustStrength(-ast) boolean edit
true の場合、マウスをドラッグするとブラシ強度を編集できるモードになります。false の場合、以前のスカルプト モードに戻ります。
-direction(-d) int queryedit
UV の移動先をブラシが判別する方法を指定します。
-falloffType(-ft) int queryedit
影響のあるUV をブラシが判別する方法を指定します。
-floodPin(-fp) float createedit
各 UV のピンの値を指定した値に設定します。
-grabTwist(-gtw) boolean createqueryedit
true の場合、グラブ ブラシが UV をツイストします。
-inverted(-inv) boolean createqueryedit
true の場合、ブラシの効果を反転します。
-mode(-m) string queryedit
ブラシが実行するスカルプト エフェクトのタイプを指定します。
-sculptFalloffCurve(-sfc) string queryedit
ブラシに影響する減衰カーブを指定します。
-showBrushRingDuringStroke(-sbr) boolean queryedit
ストローク中にブラシ リングを表示するかどうかを指定します。
-size(-sz) float queryedit
現在のブラシのワールド空間サイズを指定します。
-strength(-st) float queryedit
現在のブラシのワールド空間強度を指定します。

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます コマンド内でフラグを複数回使用できます。

MEL 例

// 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;