Class ModelMaterialsComponent
Defined in: ModelMaterialsComponent.js.
Constructor Attributes | Constructor Name and Description |
---|---|
ModelMaterialsComponent(preferences, controller)
Component giving access to materials editor.
|
Method Attributes | Method Name and Description |
---|---|
setEnabled(enabled)
Enables or disables this component.
|
Class Detail
ModelMaterialsComponent(preferences, controller)
Component giving access to materials editor. When the user clicks
on this button a dialog appears to let him choose materials.
Author: Louis Grignon, Emmanuel Puybaret.
Author: Louis Grignon, Emmanuel Puybaret.
- Parameters:
- {UserPreferences} preferences
- user preferences
- {ModelMaterialsController} controller
- modelMaterials choice controller
Method Detail
setEnabled(enabled)
Enables or disables this component.
- Parameters:
- {boolean} enabled