# Sandbox.MeshComponent

An editable polygon mesh with collision

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.Collider](/api/Sandbox.Collider)
- Modifiers: sealed

## Constructors

- [`MeshComponent`](/api/Sandbox.MeshComponent/.ctor)

## Properties

- [`Collision`](/api/Sandbox.MeshComponent/Collision)
- [`Color`](/api/Sandbox.MeshComponent/Color)
- [`HideInGame`](/api/Sandbox.MeshComponent/HideInGame)
- [`IsConcave`](/api/Sandbox.MeshComponent/IsConcave)
- [`Mesh`](/api/Sandbox.MeshComponent/Mesh)
- [`Model`](/api/Sandbox.MeshComponent/Model)
- [`RenderType`](/api/Sandbox.MeshComponent/RenderType)
- [`SmoothingAngle`](/api/Sandbox.MeshComponent/SmoothingAngle)

## Methods

- [`GetMaterial`](/api/Sandbox.MeshComponent/GetMaterial)
- [`RebuildMesh`](/api/Sandbox.MeshComponent/RebuildMesh)
- [`SetMaterial`](/api/Sandbox.MeshComponent/SetMaterial)
