# SurfaceAppearance

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)
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/SurfaceAppearance/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance

An object that allows developers to override the appearance of a MeshPart with advanced graphics options.

## Properties

### AlphaMode

```luau
SurfaceAppearance.AlphaMode: Enum.AlphaMode = Enum.AlphaMode.Overlay
```

- Tags: Read capabilities: Basic

Determines how the alpha channel of the [`SurfaceAppearance.ColorMap`](https://rapi.sleaze.dev/classes/SurfaceAppearance.md) is used.

### Color

```luau
SurfaceAppearance.Color: Color3 = Color3.new(1, 1, 1)
```

- Tags: Read capabilities: Basic

Applies a tint to your existing colormap. Set directly with color picker or programmatically with [`Color3`](https://rapi.sleaze.dev/index/types/Color3.md).

### ColorMap

```luau
SurfaceAppearance.ColorMap: string = ""
```

- Tags: Plugin security, Read capabilities: Basic

Determines the color and opacity of the surface.

### ColorMapContent

```luau
SurfaceAppearance.ColorMapContent: Content
```

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

[`Content`](https://rapi.sleaze.dev/index/types/Content.md) object that determines the color and opacity of the surface.

### EmissiveMaskContent

```luau
SurfaceAppearance.EmissiveMaskContent: Content
```

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

Determines the emissivity across the surface.

### EmissiveStrength

```luau
SurfaceAppearance.EmissiveStrength: number = 1
```

- Tags: Read capabilities: Basic

Determines the strength of emissive contribution.

### EmissiveTint

```luau
SurfaceAppearance.EmissiveTint: Color3 = Color3.new(1, 1, 1)
```

- Tags: Read capabilities: Basic

Determines the tinting color for emissive contribution.

### MetalnessMap

```luau
SurfaceAppearance.MetalnessMap: string = ""
```

- Tags: Plugin security, Read capabilities: Basic

Determines which parts of the surface are metal or non-metal.

### MetalnessMapContent

```luau
SurfaceAppearance.MetalnessMapContent: Content
```

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

[`Content`](https://rapi.sleaze.dev/index/types/Content.md) object that determines which parts of the surface are metal or non-metal.

### NormalMap

```luau
SurfaceAppearance.NormalMap: string = ""
```

- Tags: Plugin security, Read capabilities: Basic

Modifies the lighting of the surface by adding bumps, dents, cracks, and curves.

### NormalMapContent

```luau
SurfaceAppearance.NormalMapContent: Content
```

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

[`Content`](https://rapi.sleaze.dev/index/types/Content.md) object that modifies the lighting of the surface by adding bumps, dents, cracks, and curves.

### ResampleMode

```luau
SurfaceAppearance.ResampleMode: Enum.ResamplerMode = Enum.ResamplerMode.Default
```

- Tags: Read capabilities: Basic

Selects the texture resampling mode used for the surface's texture maps.

### RoughnessMap

```luau
SurfaceAppearance.RoughnessMap: string = ""
```

- Tags: Plugin security, Read capabilities: Basic

Determines the apparent roughness across the surface.

### RoughnessMapContent

```luau
SurfaceAppearance.RoughnessMapContent: Content
```

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

[`Content`](https://rapi.sleaze.dev/index/types/Content.md) object that determines the apparent roughness across the surface.

### TexturePack

```luau
SurfaceAppearance.TexturePack: string = ""
```

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

### TexturePackContent

```luau
SurfaceAppearance.TexturePackContent: Content
```

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

Engine-managed [`Content`](https://rapi.sleaze.dev/index/types/Content.md) that stores the compressed runtime texture data for the surface appearance.

### SurfaceSlot

```luau
SurfaceAppearance.SurfaceSlot: number = -1
```

- Tags: Read capabilities: Basic

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