# CharacterMesh

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

- Inherits from, nearest first: [CharacterAppearance](https://rapi.sleaze.dev/classes/CharacterAppearance.md), [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/CharacterMesh/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/CharacterMesh

Modifies the appearance of an R6 body part.

## Properties

### BaseTextureContent

```luau
CharacterMesh.BaseTextureContent: Content
```

- Tags: Read capabilities: AvatarAppearance

The base texture applied to the mesh, as a [`Content`](https://rapi.sleaze.dev/index/types/Content.md) value.

### BaseTextureId

```luau
CharacterMesh.BaseTextureId: number = 0
```

- Tags: Read capabilities: AvatarAppearance

The texture of a CharacterMesh. It can be overridden by Shirts, Pants, T-Shirts, and the [`CharacterMesh.OverlayTextureId`](https://rapi.sleaze.dev/classes/CharacterMesh.md) property.

### BodyPart

```luau
CharacterMesh.BodyPart: Enum.BodyPart = Enum.BodyPart.Head
```

- Tags: Read capabilities: AvatarAppearance

The part of the Character's body that is affected.

### MeshContent

```luau
CharacterMesh.MeshContent: Content
```

- Tags: Read capabilities: AvatarAppearance

The mesh applied to the body part given by [`CharacterMesh.BodyPart`](https://rapi.sleaze.dev/classes/CharacterMesh.md), as a [`Content`](https://rapi.sleaze.dev/index/types/Content.md) value.

### MeshId

```luau
CharacterMesh.MeshId: number = 0
```

- Tags: Read capabilities: AvatarAppearance

Used to load a mesh file, and apply it to the given BodyPart.

### OverlayTextureContent

```luau
CharacterMesh.OverlayTextureContent: Content
```

- Tags: Read capabilities: AvatarAppearance

The overlay texture that covers Shirts, Pants, T-Shirts, and the base texture, as a [`Content`](https://rapi.sleaze.dev/index/types/Content.md) value.

### OverlayTextureId

```luau
CharacterMesh.OverlayTextureId: number = 0
```

- Tags: Read capabilities: AvatarAppearance

The assetId of the overlay texture. The overlay covers Shirts, Pants, T-Shirts, and the [`CharacterMesh.BaseTextureId`](https://rapi.sleaze.dev/classes/CharacterMesh.md).

## 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`
