How can I set Z-order of compositions?

From AVObjects Knowledge Base
Revision as of 17:02, 14 September 2011 by Bmezhebitskiy (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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