WrapLayer

Show Deprecated

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.

Summary

Properties

  • Plugin Security
    Read Parallel

    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 fine-tuning only and it is heavily optional.

  • Not Replicated
    Not Scriptable
    Read Parallel

    Sets color used for the debug rendering. See WrapTarget.DebugMode.

  • Not Replicated
    Not Scriptable
    Read Parallel

    Allows switching between different debugging visualization modes for cage meshes.

  • Read Parallel

    Allows for disabling of the WrapLayer object as if it does not exist.

  • Read Parallel

    Controls the composition order for layered clothing.

  • Read Parallel

    Controls how much underlying clothing items inflate the current clothing item.

  • Plugin Security
    Read Parallel
  • ReferenceMeshId:ContentId
    Plugin Security
    Read Parallel

    AssetID for reference mesh used to define Inner Cage of a 3D object.

  • Plugin Security
    Read Parallel

    Reference mesh offset relative to parent MeshPart (in the parent MeshPart space)

    Note: this property is set up automatically by the FBX importer.

  • Read Only
    Not Replicated
    Read Parallel

    Reference mesh offset relative to parent MeshPart (in the world space)

    Note: this property is set up automatically by the FBX importer.

  • Plugin Security
    Read Parallel

    Allows slight shrinking/expanding of the resulting render mesh, without affecting any other layers.

Properties inherited from BaseWrap

Properties

  • Plugin Security
    Read Parallel
  • CageMeshId:ContentId
    Plugin Security
    Read Parallel

    Asset ID for cage mesh.

  • Plugin Security
    Read Parallel

    Cage mesh offset relative to parent MeshPart.

  • Read Only
    Not Replicated
    Read Parallel

    Cage mesh offset in world space.

  • HSRAssetId:ContentId
    Not Scriptable
    Roblox Security
    Read Parallel
  • Plugin Security
    Read Parallel

    Describes where a global zero was while authoring the cage mesh in an asset creation tool.

  • Read Only
    Not Replicated
    Read Parallel

    Describes where the origin (in world space) was while authoring the cage mesh in an asset creation tool.

Properties

Read Parallel

BindOffset

Plugin Security
Read Parallel

Color

Not Replicated
Not Scriptable
Read Parallel
Not Replicated
Not Scriptable
Read Parallel

Enabled

Read Parallel

Order

Read Parallel

Puffiness

Read Parallel

ReferenceMeshContent

Plugin Security
Read Parallel

ReferenceMeshId

ContentId
Plugin Security
Read Parallel

ReferenceOrigin

Plugin Security
Read Parallel

ReferenceOriginWorld

Read Only
Not Replicated
Read Parallel

ShrinkFactor

Plugin Security
Read Parallel

Methods

Events