Object Hierarchy | 関連する C++クラス:ClipEffectItem
ClipEffectItem
v4.0
ClipEffectItem は、クリップのMappedItemにバインドされたエクスプレッションです。ClipEffectItem は、ClipEffect.ItemsプロパティまたはMappedItem.ClipEffectItemプロパティのいずれかから取得できます。
| Application | Categories | Expression | FullName |
| Help | Name | NestedObjects | Origin |
| OriginPath | Parameter | Parent | Type |
oRoot = Application.ActiveSceneRoot
oCube = oRoot.AddGeometry("Cube", "MeshSurface")
#Creating the first animation source
oSource = Application.StoreAction(oRoot, "cube.kine.local.posx,cube.kine.local.posy,cube.kine.local.posz",
1, "StoredStaticPose", 1, 1, 5, 0, 0)
#Creating the first clip
oClip = Application.AddClip(oRoot, oSource)
for i in range(oClip.MappedItems.Count):
oCurrMappedItem = oClip.MappedItems(i)
oParam = oCurrMappedItem.Destination
if oParam.FullName == "cube.kine.local.posy":
Application.SetMappingRule(oClip.FullName + ".ActionClip",oParam,"frame",i+1)
break
Application.LogMessage("The expression associated with the posy item is " +oCurrMappedItem.ClipEffectItem.Expression) |