تخطَّ إلى المحتوى

Material slots

هذا المحتوى غير متوفر بلغتك بعد.

A Metal look toggle's Materials section with 1 the section, 2 a row's renderer, 3 its Slot number, 4 the material it puts in that slot.1234
  1. The Materials section.
  2. The row's renderer: the mesh whose slot changes.
  3. Slot: which material slot, counted from 0.
  4. The material the slot gets while the toggle is on.

Use the Materials section to put a whole other material on part of a mesh: another texture for a jacket, a metal version of a part, a second colour set made as its own material.

  • To change one value of the material the mesh already has, such as a colour, use Material properties. It needs no second material.
  • A radial cannot swap materials, since a material cannot blend. A blend shape trigger swaps it at one weight.

A toggle and a trigger have this section. It shows once it has a row. Add it with + Add effect, which offers it in Advanced mode.

Shown in: Advanced, and Simple once it has a row · Default: no rows · Choices: a renderer, a slot and a material

The list of material rows. + Add adds an empty row with Slot at 0. Add a row for each slot to swap, on one mesh or on several.

Shown in: Advanced, and Simple once the section shows · Default: empty · Choices: a mesh of this avatar

The mesh whose slot the row swaps. Drag it from the Hierarchy onto the field, or press the small circle at its right end and pick it from the avatar's meshes.

Shown in: Advanced, and Simple once the section shows · Default: 0 · Range: 0 up to the mesh's last slot

Which material slot of the mesh the row swaps, counted from 0. In the mesh's own renderer component, the Materials list shows the slots as Element 0, Element 1 and so on. A slot number past the mesh's last slot is a missing target.

Shown in: Advanced, and Simple once the section shows · Default: empty · Choices: any material in the project

The material the slot gets while the toggle is on, or while the trigger fires. Drag it from the Project window onto the field. While the toggle is off, the slot shows the material it has in the scene.

Shown in: Advanced · Default: Off · Choices: On, Off

Right-click a row and choose Pick by hand when copying for the object of the row's renderer. When you copy the menu to another avatar, the window then has you pick the object to use on the other version instead of looking at the same place, for an object a world drop holds, for example. The component lists every marked object under Pick by hand.

The material goes into the on state of the entry's layer, and the slot's material in the scene goes into its off state. On a blend shape trigger, the slot swaps at Swaps at in the Smooth style, or at Switch at in the Switch style.

Docs for AvatarDoc 0.7.1