ClipEffectItem

Object Hierarchy | Related C++ Class: ClipEffectItem

Inheritance

SIObject

ClipEffectItem

Introduced

v4.0

Description

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.

Methods

IsClassOf operator IsEqualTo operator    
       

Properties

Application Categories Expression FullName operator
Help Name operator NestedObjects Origin
OriginPath Parameter Parent Type operator

Examples

Python Example

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)

See Also

Clip Model.Mixer Track Transition GetMappingRule SetMappingRule