Skip to content
Roblox API Reference

WrapLayer

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.
Memory category
Instances
Own members
19
Inherited members
95
Subclasses
0
Siblings
3

Properties55

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromBaseWrap13

Property categoryAppearance

Property categoryData

Defined byWrapLayer19

Property categoryAppearance

  • WrapLayer.Order: number = 1
    Controls the composition order for layered clothing.
    • Read capabilities: AvatarAppearance
  • WrapLayer.ReferenceMeshContent: Content
    The reference mesh that defines the Inner Cage of the WrapLayer, stored as a Content value.
    • Write: Plugin security
    • Read capabilities: AvatarAppearance
  • WrapLayer.ReferenceMeshId: string = ""
    AssetID for reference mesh used to define Inner Cage of a 3D object.
    • Write: Plugin security
    • Read capabilities: AvatarAppearance
  • WrapLayer.ReferenceOrigin: CFrame = CFrame.identity
    Reference mesh offset relative to parent MeshPart (in the parent MeshPart space) Note: this property is set up automatically by the FBX importer.
    • Write: Plugin security
    • Read capabilities: AvatarAppearance
  • WrapLayer.RotateScaleDeformationMap: Content
    • Write: Plugin security
    • Read capabilities: AvatarAppearance
  • WrapLayer.ScaleOnlyDeformationMap: Content
    • Write: Plugin security
    • Read capabilities: AvatarAppearance
  • WrapLayer.TargetShaping: number = 0
    • Write: Plugin security
    • Read capabilities: AvatarAppearance
  • WrapLayer.TemporaryReferenceId: string = ""
    • Hidden
    • Not scriptable
    • Roblox engine security
    • Read capabilities: AvatarAppearance
  • WrapLayer.TemporaryReferenceMeshContent: Content
    • Hidden
    • Not scriptable
    • Roblox engine security
    • Read capabilities: AvatarAppearance
  • WrapLayer.Puffiness: number = 1
    Deprecated:
    Controls how much underlying clothing items inflate the current clothing item.
    • Deprecated
    • Read capabilities: AvatarAppearance

Property categoryBehavior

  • Determines whether this WrapLayer automatically transfers skinning data from the underlying body mesh to the clothing mesh.
    • Read capabilities: AvatarAppearance
  • WrapLayer.Enabled: boolean = true
    Allows for disabling of the WrapLayer object as if it does not exist.
    • Read capabilities: AvatarAppearance

Property categoryData

  • WrapLayer.MaxSize: Vector3 = Vector3.zero
    • Hidden
    • Roblox script security
    • Read capabilities: AvatarAppearance
  • WrapLayer.Offset: Vector3 = Vector3.zero
    • Hidden
    • Roblox script security
    • Read capabilities: AvatarAppearance
  • WrapLayer.ReferenceOriginWorld: CFrame = CFrame.identity
    Reference mesh offset relative to parent MeshPart (in the world space) Note: this property is set up automatically by the FBX importer.
    • Read only
    • Read capabilities: AvatarAppearance

Property categoryDebug

Property categoryTuning

  • WrapLayer.BindOffset: CFrame = CFrame.identity
    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.
    • Write: Plugin security
    • Read capabilities: AvatarAppearance
  • WrapLayer.ShrinkFactor: number = 0
    Deprecated:
    Allows slight shrinking/expanding of the resulting render mesh, without affecting any other layers.
    • Deprecated
    • Write: Plugin security
    • Read capabilities: AvatarAppearance

Methods48

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Inherited fromBaseWrap6

Events11

Inherited fromObject1
Inherited fromInstance9
Inherited fromBaseWrap1