Skip to content
Roblox API Reference

WrapDeformer

Allows for the real-time deformation of a MeshPart.
Memory category
Instances
Own members
3
Inherited members
95
Subclasses
0
Siblings
3

Properties36

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromBaseWrap13

Property categoryAppearance

Property categoryData

Methods51

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
Defined byWrapDeformer3
  • WrapDeformer:CreateEditableMeshAsync(): EditableMesh
    Returns an EditableMesh (currently unskinned) equivalent to the deformed parent mesh.
    • Yields
    • Capabilities: AvatarAppearance
    Returns
    TypeDescription
    EditableMesh
    An EditableMesh matching the deformed parent mesh geometry, with its FixedSize set to true.
  • WrapDeformer:GetDeformedCFrameAsync(originalCFrame: CFrame): CFrame
    Returns a CFrame deformed comparably to the MeshPart.
    • Yields
    • Capabilities: AvatarAppearance
    Parameters
    ParameterDescription
    originalCFrame: CFrame
    The CFrame, expressed in the local space of the parent MeshPart, whose position is deformed.
    Returns
    TypeDescription
    CFrame
    A CFrame in the parent MeshPart space with its position displaced by the same deformation field applied to the parent mesh; rotation is unchanged.
  • WrapDeformer:SetCageMeshContent(content: Content, cageOrigin: CFrame?)
    Sets the cage mesh used to deform against a sibling WrapTarget cage mesh.
    • Capabilities: AvatarAppearance
    Parameters
    ParameterDescription
    content: Content
    A Roblox mesh asset ID or an EditableMesh reference specifying the cage mesh to deform against the sibling WrapTarget.
    cageOrigin: CFrame?
    An optional CFrame, in the parent MeshPart space, that sets the cage's CageOrigin. When omitted, the existing CageOrigin is left unchanged.

Events11

Inherited fromObject1
Inherited fromInstance9
Inherited fromBaseWrap1