I'm sorry. When I say I inherited code, I meant I inherited code that made that call. Maybe there are multiple ways of making that call and I didn't clarify. I inherited code in c#. It uses the Xpression com object to interact with the Ross Expression xpf's. The code has the call ApplySceenDirecotrPositions which has no documentation but seems like it might be an expensive call. I'm not sure that it is needed so I did some tests with and without it. In my limited tests I couldn't tell a difference. I am still curious what is does. I don't entirely understand "apply the scene director positions"
thanks
dave
------------------------------
David Ball
------------------------------
Original Message:
Sent: 07-29-2022 12:46
From: Garner Millward
Subject: xpressions xpScene method ApplySceneDirectorPositions
In what event is the script running?
From the XPression change log:
- [implemented] xpScene.ApplySceneDirectorPositions can be called from within a xpEngine.OnRender callbacks to apply the scene director positions
I'm fairly certain this method would only work when called from an API app that is reading an xpEngine event, I don't think it can be used inside any XPression script events.
Original Message:
Sent: 07-28-2022 19:09
From: David Ball
Subject: xpressions xpScene method ApplySceneDirectorPositions
I inherited some code that calls ApplySceneDirectorPositions(). I have tested with and without the call but can't tell a difference. What does the call do?
------------------------------
David Ball
------------------------------