Skip to content

WrapLayer

Not yet Class Animation & Avatar

The WrapLayer object defines a 3D accessory's inner and outer surfaces and other properties related to layering accessories. These surfaces, or the Inner Cage and Outer Cage, are similar to collision boxes, and describe the surfaces of which other 3D accessories can be placed without clipping or breaking.

Not implemented yet

Layered clothing is not implemented.

0 Nova members · 31 modern Roblox members not implemented yet

Description

The WrapLayer object defines a 3D accessory's inner and outer surfaces and other properties related to layering accessories. These surfaces, or the Inner Cage and Outer Cage, are similar to collision boxes, and describe the surfaces of which other 3D accessories can be placed without clipping or breaking.

Internally, WrapLayer also uses the UV layout of the Inner and Outer cages to match coordinates to another 3D object's cage. This powers the deformation of objects around differently shaped avatars and underlying accessories.

Inheritance

Object → Instance → BaseWrap → WrapLayer

Properties

Member Signature Summary
AutoSkin AutoSkin: WrapLayerAutoSkin Determines whether this WrapLayer automatically transfers skinning data from the underlying body mesh to the clothing mesh.
BindOffset BindOffset: CFrame CFrame is used to adjust a binding point for clothing item mesh. Could be used to move and rotate clothing items. This property is intended for…
Color Color: Color3 Sets color used for the debug rendering. See WrapTarget.DebugMode.
DebugMode DebugMode: WrapLayerDebugMode Allows switching between different debugging visualization modes for cage meshes.
Enabled Enabled: bool Allows for disabling of the WrapLayer object as if it does not exist.
MaxSize MaxSize: Vector3 —
Offset Offset: Vector3 —
Order Order: int Controls the composition order for layered clothing.
Puffiness Puffiness: float Controls how much underlying clothing items inflate the current clothing item.
ReferenceMeshContent ReferenceMeshContent: Content The reference mesh that defines the Inner Cage of the WrapLayer, stored as a Content value.
ReferenceMeshId ReferenceMeshId: ContentId AssetID for reference mesh used to define Inner Cage of a 3D object.
ReferenceOrigin ReferenceOrigin: CFrame Reference mesh offset relative to parent MeshPart (in the parent MeshPart space) Note: this property is set up automatically by the FBX importer.
ReferenceOriginWorld ReferenceOriginWorld: CFrame Reference mesh offset relative to parent MeshPart (in the world space) Note: this property is set up automatically by the FBX importer.
ShrinkFactor ShrinkFactor: float Allows slight shrinking/expanding of the resulting render mesh, without affecting any other layers.
TemporaryReferenceId TemporaryReferenceId: ContentId —
TemporaryReferenceMeshContent TemporaryReferenceMeshContent: Content —

Roblox reference: WrapLayer

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.