How can I set Z-order of compositions?

From AVObjects Knowledge Base
Jump to: navigation, search

To set the z-order of compositions you need to add "layer" groups first. On this layers you will display your compositions. To add layer you need to call AddNewItem method: C# sample code:

m_objMLCharGen.AddNewItem("<layer/>"...

Then you can cgange Z-order of this layer groups like of any other CG item. After that you can display your composition on specific layer by CompositionsDisplayInLayer method:

C# sample code:

m_objMLCharGen.CompositionsDisplayInLayer(copmositionId, "param", layerID...
Personal tools