WrapTarget

Show Deprecated

The WrapTarget object defines a target. A target is the 3D body with only an outer surface, or an Outer Cage.

This target, often an Avatar, is what 3D accessories (using WrapLayer) will be applied to, allowing multiple accessories items to naturally layer over the source target.

Summary

Properties

Properties inherited from BaseWrap
  • Hidden
    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

Color

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.

Stiffness

Plugin Security
Read Parallel

Defines how much the body mesh can be compressed by clothing. Super tight clothing may lead to an intersection between the clothing mesh and body mesh. To solve this visual artifact, the deformer can compress the body mesh slightly to solve possible intersections.

Valid range is 0 to 1. A value of 0 will compress the body mesh as much as necessary to ensure that the intersections are eliminated (visible body parts might look a little bit deformed). A value of 1 will prevent the body mesh from being compressed (may lead to visible intersections or Z-fighting). A value of 0.9 (default) is a reasonable default that solves most of the intersections without introducing any significant body deformation.

Methods

Events