# BaseWrap

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Subclasses: [WrapDeformer](https://rapi.sleaze.dev/classes/WrapDeformer.md), [WrapLayer](https://rapi.sleaze.dev/classes/WrapLayer.md), [WrapTarget](https://rapi.sleaze.dev/classes/WrapTarget.md)
- Tags: Not creatable
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/BaseWrap/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/BaseWrap

Abstract base class for [`WrapTarget`](https://rapi.sleaze.dev/classes/WrapTarget.md) and [`WrapLayer`](https://rapi.sleaze.dev/classes/WrapLayer.md) that stores cage mesh data for layered clothing deformation.

## Properties

### CageMeshContent

```luau
BaseWrap.CageMeshContent: Content
```

- Tags: Write: Plugin security, Read capabilities: AvatarAppearance

The cage mesh this wrap uses to deform geometry, stored as a [`Content`](https://rapi.sleaze.dev/index/types/Content.md) value.

### CageMeshId

```luau
BaseWrap.CageMeshId: string
```

- Tags: Write: Plugin security, Read capabilities: AvatarAppearance

Asset ID for cage mesh.

### CageOrigin

```luau
BaseWrap.CageOrigin: CFrame
```

- Tags: Write: Plugin security, Read capabilities: AvatarAppearance

Cage mesh offset relative to parent [`MeshPart`](https://rapi.sleaze.dev/classes/MeshPart.md).

### ImportOrigin

```luau
BaseWrap.ImportOrigin: CFrame
```

- Tags: Write: Plugin security, Read capabilities: AvatarAppearance

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

### TemporaryCageMeshContent

```luau
BaseWrap.TemporaryCageMeshContent: Content
```

- Tags: Hidden, Not scriptable, Roblox engine security, Read capabilities: AvatarAppearance

### TemporaryCageMeshId

```luau
BaseWrap.TemporaryCageMeshId: string
```

- Tags: Hidden, Not scriptable, Roblox engine security, Read capabilities: AvatarAppearance

### CageOriginWorld

```luau
BaseWrap.CageOriginWorld: CFrame
```

- Tags: Read only, Read capabilities: AvatarAppearance

Cage mesh offset in world space.

### HSRAssetId

```luau
BaseWrap.HSRAssetId: string
```

- Tags: Read: Roblox script security, Write: Roblox engine security, Read capabilities: AvatarAppearance

Asset ID for the hidden surface removal (HSR) data used by layered clothing.

### HSRContent

```luau
BaseWrap.HSRContent: Content
```

- Tags: Read: Roblox script security, Write: Roblox engine security, Read capabilities: AvatarAppearance

The hidden surface removal data for this wrap, stored as a [`Content`](https://rapi.sleaze.dev/index/types/Content.md) value.

### HSRData

```luau
BaseWrap.HSRData: SharedString
```

- Tags: Hidden, Not scriptable, Roblox engine security, Read capabilities: AvatarAppearance

### HSRMeshIdData

```luau
BaseWrap.HSRMeshIdData: SharedString
```

- Tags: Hidden, Not scriptable, Roblox engine security, Read capabilities: AvatarAppearance

### ImportInProcess

```luau
BaseWrap.ImportInProcess: boolean
```

- Tags: Hidden, Not scriptable, Write: Roblox script security, Read capabilities: AvatarAppearance

### ImportOriginWorld

```luau
BaseWrap.ImportOriginWorld: CFrame
```

- Tags: Read only, Read capabilities: AvatarAppearance

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

## Methods

### GetCageOffset

```luau
BaseWrap:GetCageOffset(): Vector3
```

- Tags: Roblox script security, Capabilities: AvatarAppearance

### GetFaces

```luau
BaseWrap:GetFaces(cageType: Enum.CageType): { any }
```

- Tags: Roblox script security, Capabilities: AvatarAppearance

### GetUVs

```luau
BaseWrap:GetUVs(cageType: Enum.CageType): { any }
```

- Tags: Roblox script security, Capabilities: AvatarAppearance

### GetVertices

```luau
BaseWrap:GetVertices(cageType: Enum.CageType): { any }
```

- Tags: Roblox script security, Capabilities: AvatarAppearance

### IsHSRReady

```luau
BaseWrap:IsHSRReady(): boolean
```

- Tags: Roblox script security, Capabilities: AvatarAppearance

### ModifyVertices

```luau
BaseWrap:ModifyVertices(cageType: Enum.CageType, vertices: { any })
```

- Tags: Roblox script security, Capabilities: AvatarAppearance

## Events

### VerticesModified

```luau
BaseWrap.VerticesModified: RBXScriptSignal<(vertices: { any })>
```

- Tags: Roblox script security, Capabilities: AvatarAppearance

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
