ジャンプ先: 概要. 戻り値. フラグ. Python 例.
texCutContext(
contextName
, [adjustSize=boolean], [displayShellBorders=boolean], [edgeSelectSensitive=float], [exists=boolean], [history=boolean], [image1=string], [image2=string], [image3=string], [mode=string], [moveRatio=float], [name=string], [size=float], [steadyStroke=boolean], [steadyStrokeDistance=float], [touchToSew=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
texCutContext は、取り消し可能、照会可能、および編集可能です。
このコマンドは、UV カット ツールのコンテキストを作成します。このコンテキストは、UV エディタのみで動作します。| float | brushSize を照会する場合のブラシのサイズです。 |
| float | edgeSelectSensitive フラグを照会する場合のエッジ選択の感度値です。 |
| boolean | steadyStroke フラグを照会する場合のブレ防止ストロークのオン/オフを指定します。 |
| float | steadyStrokeDistance フラグを照会する場合のブレ防止ストロークの距離です。 |
| float | moveRatio フラグを照会する場合のエッジの長さに相対する切開比です。 |
| string | mode フラグを照会する場合に、ブラシが実行する効果のタイプです。 |
| boolean | displayShellBorders フラグを照会する場合に、シェル境界が表示されるかどうかを指定します。 |
| boolean | touchToSew フラグを照会する場合の現在のタッチ-縫合モードです。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
adjustSize(asz)
|
boolean
|
|
||
|
||||
displayShellBorders(dsb)
|
boolean
|
|
||
|
||||
edgeSelectSensitive(ess)
|
float
|
|
||
|
||||
exists(ex)
|
boolean
|
|
||
|
||||
history(ch)
|
boolean
|
|
||
|
||||
image1(i1)
|
string
|
|
||
|
||||
image2(i2)
|
string
|
|
||
|
||||
image3(i3)
|
string
|
|
||
|
||||
mode(m)
|
string
|
|
||
|
||||
moveRatio(mvr)
|
float
|
|
||
|
||||
name(n)
|
string
|
|
||
|
||||
size(sz)
|
float
|
|
||
|
||||
steadyStroke(ss)
|
boolean
|
|
||
|
||||
steadyStrokeDistance(ssd)
|
float
|
|
||
|
||||
touchToSew(tts)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds
// Create a new cut UV tool context, then switch to it
// In order to use this tool, you must open the UV editor
cmds.texCutContext('texCutContext1')
cmds.setToolTo('texCutContext1')