iprEngine([copy=string], [defineTemplate=string], [estimatedMemory=boolean], [exists=boolean], [iprImage=string], [motionVectorFile=boolean], [object=name], [region=[int, int, int, int]], [relatedFiles=boolean], [releaseIprImage=boolean], [resolution=boolean], [scanlineIncrement=string], [showProgressBar=boolean], [startTuning=boolean], [stopTuning=boolean], [underPixel=[int, int]], [update=boolean], [updateDepthOfField=boolean], [updateLightGlow=boolean], [updateMotionBlur=boolean], [updatePort=string], [updateShaderGlow=boolean], [updateShading=boolean], [updateShadowMaps=boolean], [useTemplate=string])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
iprEngine は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
iprEngine を作成、または編集するためのコマンド。iprEngine はシェーディング ネットワークへの変更を監視し、自動的に再シェーディングして、最新のイメージを生成するオブジェクトです。string | - 作成または修正された IPR エンジン名 |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
exists(ex)
|
boolean
|
![]() |
||
|
||||
defineTemplate(dt)
|
string
|
![]() |
||
|
||||
useTemplate(ut)
|
string
|
![]() |
||
|
||||
iprImage(ipr)
|
string
|
![]() ![]() ![]() |
||
|
||||
releaseIprImage(rii)
|
boolean
|
![]() |
||
|
||||
object(obj)
|
name
|
![]() ![]() ![]() |
||
|
||||
region(r)
|
[int, int, int, int]
|
![]() ![]() ![]() |
||
|
||||
resolution(res)
|
boolean
|
![]() |
||
|
||||
updatePort(up)
|
string
|
![]() ![]() ![]() |
||
|
||||
update(u)
|
boolean
|
![]() ![]() |
||
|
||||
updateShading(us)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
updateShaderGlow(usg)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
updateLightGlow(ulg)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
updateMotionBlur(umb)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
updateDepthOfField(udf)
|
boolean
|
![]() ![]() |
||
|
||||
updateShadowMaps(usm)
|
boolean
|
![]() ![]() |
||
|
||||
startTuning(st)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
stopTuning(spt)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
underPixel(un)
|
[int, int]
|
![]() |
||
|
||||
scanlineIncrement(sli)
|
string
|
![]() ![]() ![]() |
||
|
||||
estimatedMemory(mem)
|
boolean
|
![]() |
||
|
||||
motionVectorFile(mvf)
|
boolean
|
![]() |
||
|
||||
showProgressBar(spb)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
relatedFiles(rel)
|
boolean
|
![]() |
||
|
||||
copy(cp)
|
string
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # Create a iprEngine and tell it about an already created ipr image. cmds.iprEngine(ipr='iprImages/persp_scene1_ipr.iff') # Tell the iprEngine about the region to update. cmds.iprEngine( 'iprEngine1', e=True, region=(10, 10, 100, 100)) # Tell the iprEngine to watch changes and update pixels. cmds.iprEngine( 'iprEngine1', e=True, startTuning=True )