gear::xsi::display Namespace Reference
Functions |
| def | inspect |
| | Open a property inside XSI using the Create View, Property Panel Allows you to define size and position on the screen.
|
| def | highlight |
| | Highlight an object inside the 3D view byu turning it's color to bright green for just a second.
|
| def | toggleGroupVisibility |
| | Toggle the visibility parameter value of a group.
|
| def | toggleDisplayParameter |
| | Toggle the Display parameter value for active camera.
|
| def | getActiveCamera |
| | Return the active camera inside the 3DView.
|
Detailed Description
This file is part of GEAR.
GEAR is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/lgpl.html>.
Author: Jeremie Passerin geerem@hotmail.com
Company: Studio Nest (TM)
Date: 2010 / 11 / 15
- Author:
- Jeremie Passerin
Function Documentation
| def gear::xsi::display::inspect |
( |
|
prop, |
|
|
|
width = None, |
|
|
|
height = None, |
|
|
|
posx = None, |
|
|
|
posy = None | |
|
) |
| | |
Open a property inside XSI using the Create View, Property Panel Allows you to define size and position on the screen.
- Parameters:
-
| prop | Property - Property to display |
| width | Integer - Width of the created window |
| height | Integer - Height of the created window |
| posx | Integer - Position X of the created window (use negative value to position from the right side of the screen) |
| posy | Integer - Position Y of the created window (use negative value to position from the bottom of the screen) |
| def gear::xsi::display::highlight |
( |
|
obj, |
|
|
|
branch = True | |
|
) |
| | |
Highlight an object inside the 3D view byu turning it's color to bright green for just a second.
- Parameters:
-
| obj | X3DObject - Object to highlight |
| branch | Boolean - True to highlight all the children of given object |
| def gear::xsi::display::toggleGroupVisibility |
( |
|
group |
) |
|
Toggle the visibility parameter value of a group.
- Parameters:
-
| group | Group - Group to toggle |
| def gear::xsi::display::toggleDisplayParameter |
( |
|
param_name |
) |
|
Toggle the Display parameter value for active camera.
- Parameters:
-
| param_name | String - Name of the parameter to toggle |
| def gear::xsi::display::getActiveCamera |
( |
|
) |
|
Return the active camera inside the 3DView.
- Returns:
- String - Camera name