Development SIG Toolkit

You are not logged in. Would you like to login or register?



9/25/2019 4:12 pm  #1


SnGroup separator behavior

If a group is set to be a "separator", transformations placed inside it will not affect nodes outside it. The default group behavior is to not be a separator. If you want it to behave as a separator you need to call the separator() method, for ex.:
SnGroup *g = new SnGroup;
g->separator ( true );
// add your nodes here as usual, for ex.:
g-> add ( new SnTransform ); // this will now only affect the next shapes inside g
g-> add ( new SnModel );
...

 

 

Board footera

 

Powered by Boardhost. Create a Free Forum