|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Is there any example of how to preload more than one mts file y have an example but it only preload one mts
|
||
|
|
EnIgMaTiCScOrPioN Member |
Hi !!
Following is the code for two MTS preload:
<MTSTimeElem Type="MTSStream" Name="mts1_loader" Path="model_1.mts" >
<Target Name="MTSInstance.model_1" />
</MTSTimeElem>
<MTSTimeElem Type="MTSStream" Name="mts2_loader" Path="model_2.mts" >
<Target Name="MTSInstance.model_2" />
</MTSTimeElem>
<MTSAction Name="DLDone" >
<Stop Target="MTSTimeElem.mts1_loader" />
<Stop Target="MTSTimeElem.mts2_loader" />
</MTSAction>
<MTSAction Type="MTSEventCollection" Name="mtxControl" EventList="
MTSLoadDone:mts1_loader,
MTSLoadDone:mts2_loader"
Message="allReady" Delay=".1" />
<MTSInteractor Name="myInteractor" IgnoreHandled="1" IgnoreError="1" NeverHandle="1" >
<MTSHandle Event="MTSLoadDone:mts1_loader" Action="mtxControl" />
<MTSHandle Event="MTSLoadDone:mts2_loader" Action="mtxControl" />
</MTSInteractor>
Hope this helps. Cheers, Anup |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

