Back to Material PlugITs content page

"Material list" PlugIT

The "Material list" PlugIT allows to attach a list of materials to an object and to switch between them.

 

Parameters

1

The name of the object.

2

The ID of the material to replace.

3

If checked the materials will be applied to the whole object, not on a single ID.

4

List of the materials attached to the object.

5

Allows to add a material by selecting it in the combo box and validating with the "+" button or to delete one by selecting it in the list and clicking the "-" button.

6

Title of the material selection interface. If left empty a default title will be provided.

7

Name of the validation button. If left empty a default name will be provided.

8

Name of the cancelation button. If left empty a default name will be provided.

9

If checked makes the material list loop so using the "Previous" or "Next" action at one end of the list will bring to the other end.

10

If checked applies the first material of the list to the object on application startup.

 

Action

Change by index

Applies the material whose index in the list is given as a link parameter.

Revert

Revert to the original material of the object.

Previous

Applies the previous material in the list.

Next

Applies the next material in the list.

Set object

Change the object to which the materials list is attached.

Open selection interface

Open an interface allowing the user to select the material to apply in the list.


 

Event

Changed

Sent when the material is changed (in the case of a selection using the interface the event is sent on the interface closure with the Ok button).

Reverted

Sent when the object is reverted to its original material.

Interface opened

Triggered when the selection interface is opened.

Interface closed

Triggered when the selection interface is closed.