Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
WrapLayerAutoSkin
WrapLayerAutoSkin is used exclusively by WrapLayer.AutoSkin, which defaults to WrapLayerAutoSkin.Disabled. It controls whether the engine runs an automatic skinning-transfer pass when layered clothing processes an accessory, and — when enabled — whether authored skinning weights are preserved or overridden.
Skinning transfer copies bone weights from the body part the accessory is fitted to so the accessory mesh animates with the character rig. That matters for accessories such as eyebrows and eyelashes, where the body schema may not guarantee a standard facial-bone set.
Items
| Name | Value | Description |
|---|---|---|
| Disabled | 0 | No automatic skinning transfer is applied; the accessory uses its authored skinning data as-is, and an unskinned mesh will not deform with the character. |
| EnabledPreserve | 1 | Applies automatic skinning transfer only when the mesh has no existing skinning data; otherwise the authored weights are kept. |
| EnabledOverride | 2 | Unconditionally overrides all skinning weights by running the cage-based skinning transfer algorithm, regardless of whether the mesh was originally skinned. |
Disabled
No automatic skinning transfer is applied; the accessory uses its authored skinning data as-is, and an unskinned mesh will not deform with the character.
| Field | Value |
|---|---|
| value | 0 |
EnabledPreserve
Applies automatic skinning transfer only when the mesh has no existing skinning data; otherwise the authored weights are kept.
| Field | Value |
|---|---|
| value | 1 |
EnabledOverride
Unconditionally overrides all skinning weights by running the cage-based skinning transfer algorithm, regardless of whether the mesh was originally skinned.
| Field | Value |
|---|---|
| value | 2 |