#include
<class_material_scene_selector_1_1_material_scene_selector.h>
List of all members.
Member Function Documentation
MaterialSceneSelector.MaterialSceneSelector.__init__ |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.setStageId |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.cleanup |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.getMaterial |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.updateMaterialsInSelection |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.setSize |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.popupMenu |
( |
|
) |
|
If the UI wants to
show a popup menu then this is the time to do it.
The popup menu may vary depending on what part of the UI the mouse pointer is over.
Use the position argument to determine what UI is under the pointer.
Return True if the position argument is over a part of the
UI. You should return
True whether you show a popup menu or not.
MaterialSceneSelector.MaterialSceneSelector.select |
( |
|
) |
|
Call when you want to select a control at the specified
position.
Test each control in the UI to see if it contains the given
position.
Return the control containing the position, or None if no
control does.
MaterialSceneSelector.MaterialSceneSelector.editMode |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.updateMaterials |
( |
|
) |
|
Scene materials have changed so we need to recreate the scene
material catalog.
MaterialSceneSelector.MaterialSceneSelector.updateSelectionHasDecals |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.updateSelectionAllLights |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.isMaterialSwatchVisible |
( |
|
) |
|
MaterialSceneSelector.MaterialSceneSelector.invalidateMaterialSwatch |
( |
|
) |
|
Given the material name, and whether or not it is a scene
material, invalidates the associated swatch image.
MaterialSceneSelector.MaterialSceneSelector.updateMaterialSwatch |
( |
|
) |
|
This is called after the swatch generator has created a material
image, probably as a JPEG file.
To make it look nice in the display, we need to matte out part
of the image before using it. We do this by masking the generated
image using an image with the required mask.
MaterialSceneSelector.MaterialSceneSelector.selectCallback |
( |
|
) |
|
This method is called whenever a control in the scene list ui is
selected.
MaterialSceneSelector.MaterialSceneSelector.editMaterialPropertiesCallback |
( |
|
) |
|
Somebody double-clicked on the scene material item.
If it is not an apf material, open its properties window.
MaterialSceneSelector.MaterialSceneSelector.renameMaterialCallback |
( |
|
) |
|
Somebody double-clicked on the scene material item.
If it is not an apf material, rename it.