Re: PPGEventContext Object "Inspected" & "InspectedObjects"

Date : Thu, 5 Oct 2006 16:22:11 +1000
To : XSI(at)Softimage.COM
From : "Aloys Baillet" <aloys.baillet(at)gmail.com>
Subject : Re: PPGEventContext Object "Inspected" & "InspectedObjects"
Hi Andrea,

PPGEventContext.GetSource() should return the CustomProperty object:
CustomProperty prop( Context(in_ctx).GetSource() );

And the PPGEvent callback will be called for each inspected property where the event is relevant.
I wish the scripting PPG Event callbacks could use the same scheme instead of the ugly PPG global variable...


Cheers,

Aloys


On 10/5/06, Andrea Padovan <xsidriller@gmail.com> wrote:
Hi to all,
 
I'm converting a scripted CustomProperty to C++, somebody know the equivalens
PPG.Inspected(); or PPG.InspectedObjects(); command in C++ ?
 
SDK Documentation says:
<<Note: The equivalent object in the C++ API is called PPGEventContext.>> but...
 
is there a solution ?
Thank you very much for any hit.
 
--
ããããããããããã
Andrea Padovan

Tools Designer @
SEGA CORPORATION
AM R&D Dept.#1 Arcade Team
AM R&D Div.
http://www.sega.co.jp/
Blr. Founder
http://www.borderliner.it
Currently located in Tokyo Japan



--
Aloys Baillet - XSI Technical Director
Character Dpt - Animal Logic
--

Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.