greasePencilCtx [-autoCreateFrames boolean] [-canDraw] [-createOrEditFrame int] [-exists] [-exportArchive string string] [-fileTextureSize int] [-greasePencilType int] [-image1 string] [-image2 string] [-image3 string] [-importArchive string] [-makeStroke uint] [-removeFrame int] [-resetBrushes boolean] [-rgbcolor float float float] [-sequenceNodeName string]
greasePencilCtx は、取り消し可能、照会可能、および編集可能です。
これは、グリース ペンシル ツール用のツール コンテキスト コマンドです。なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
-autoCreateFrames(-acf)
|
boolean
|
|
||
|
||||
-canDraw(-cd)
|
|
|
||
|
||||
-createOrEditFrame(-cef)
|
int
|
|
||
|
||||
-exists(-ex)
|
|
|
||
|
||||
-exportArchive(-eac)
|
string string
|
|
||
|
||||
-fileTextureSize(-fts)
|
int
|
|
||
|
||||
-greasePencilType(-gpt)
|
int
|
|
||
|
||||
-image1(-i1)
|
string
|
|
||
|
||||
-image2(-i2)
|
string
|
|
||
|
||||
-image3(-i3)
|
string
|
|
||
|
||||
-importArchive(-iac)
|
string
|
|
||
|
||||
-makeStroke(-mst)
|
uint
|
|
||
|
||||
-removeFrame(-rf)
|
int
|
|
||
|
||||
-resetBrushes(-rb)
|
boolean
|
|
||
|
||||
-rgbcolor(-rgb)
|
float float float
|
|
||
|
||||
-sequenceNodeName(-snn)
|
string
|
|
||
|
||||
// Create a new grease pencil context, then switch to it greasePencilCtx greasePencilCtx1; setToolTo greasePencilCtx1;