2 min read

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

NameValueDescription
Disabled0No automatic skinning transfer is applied; the accessory uses its authored skinning data as-is, and an unskinned mesh will not deform with the character.
EnabledPreserve1Applies automatic skinning transfer only when the mesh has no existing skinning data; otherwise the authored weights are kept.
EnabledOverride2Unconditionally 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.

FieldValue
value0

EnabledPreserve

Applies automatic skinning transfer only when the mesh has no existing skinning data; otherwise the authored weights are kept.

FieldValue
value1

EnabledOverride

Unconditionally overrides all skinning weights by running the cage-based skinning transfer algorithm, regardless of whether the mesh was originally skinned.

FieldValue
value2