Object Hierarchy | Related C++ Class: ClipEffectItem
ClipEffectItem
v4.0
A ClipEffectItem is an expression that is bound to a MappedItem of a Clip. You can get the ClipEffectItem either from the ClipEffect.Items property or from the MappedItem.ClipEffectItem property.
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) |