# This file is automatically generated. Please don't edit it manually. # To submit a bug report on the content, see # https://devforum.roblox.com/c/bug-reports/documentation-issues/72 name: MeshPart type: class memory_category: BaseParts summary: | A form of `Class.BasePart` that includes a physically simulated custom mesh. description: | `Class.MeshPart` is a form of `Class.BasePart` that includes a physically simulated custom mesh. Unlike with other mesh classes, such as `Class.SpecialMesh` and `Class.BlockMesh`, they are not parented to a `Class.BasePart` but rather behave as a `Class.BasePart` in their own right. The mesh and texture of a `Class.MeshPart` are determined by the `Class.MeshPart.MeshId|MeshId` and `Class.MeshPart.TextureID|TextureID` properties. For more information, see [Meshes](../../../parts/meshes.md). code_samples: [] inherits: - TriangleMeshPart descendants: [] tags: [] deprecation_message: '' properties: - name: MeshPart.DoubleSided summary: | Determines whether to render both faces of polygons in the mesh. description: | This property determines whether to render both faces of polygons in the mesh. It is only changeable in Studio. This is useful for meshes that are typically modeled as "cards" such as a leaf, hair, or cloth. code_samples: [] type: boolean tags: [] deprecation_message: '' security: read: None write: PluginSecurity thread_safety: ReadSafe category: Appearance serialization: can_load: true can_save: true capabilities: - Basic - name: MeshPart.HasJointOffset summary: '' description: '' code_samples: [] type: boolean tags: - Hidden - Deprecated deprecation_message: '' security: read: None write: NotAccessibleSecurity thread_safety: ReadSafe category: Appearance serialization: can_load: true can_save: true capabilities: - Basic - name: MeshPart.HasSkinnedMesh summary: '' description: '' code_samples: [] type: boolean tags: - Hidden deprecation_message: '' security: read: None write: NotAccessibleSecurity thread_safety: ReadSafe category: Appearance serialization: can_load: true can_save: true capabilities: - Basic - name: MeshPart.JointOffset summary: '' description: '' code_samples: [] type: Vector3 tags: - Hidden - Deprecated deprecation_message: '' security: read: None write: NotAccessibleSecurity thread_safety: ReadSafe category: Data serialization: can_load: true can_save: true capabilities: - Basic - name: MeshPart.MeshContent summary: | The mesh that is displayed on the `Class.MeshPart`. Supports [asset URIs](../../../projects/assets/index.md#asset-uris) and `Class.EditableMesh` objects. description: | The mesh that is displayed on the `Class.MeshPart`. Supports [asset URIs](../../../projects/assets/index.md#asset-uris) and `Class.EditableMesh` objects. Note that this property cannot be changed directly by scripts, as the collision geometry of the mesh cannot be recomputed in real time. See `Class.AssetService:CreateMeshPartAsync()` as a method to create a new `Class.MeshPart` from a given `Datatype.Content` with a specified `Class.MeshPart.CollisionFidelity|CollisionFidelity`. `Class.MeshPart:ApplyMesh()` can be used to overwrite the `Class.MeshPart.MeshContent|MeshContent`, `Class.MeshPart.TextureContent|TextureContent`, and collision geometry of an existing `Class.MeshPart`. code_samples: [] type: Content tags: [] deprecation_message: '' security: read: None write: NotAccessibleSecurity thread_safety: ReadSafe category: Appearance serialization: can_load: true can_save: true capabilities: - Basic - name: MeshPart.MeshId summary: | The [asset URIs](../../../projects/assets/index.md#asset-uris) of the mesh that is displayed on the `Class.MeshPart`. Reads and writes to `Class.MeshPart.MeshContent|MeshContent`. description: | The [asset URIs](../../../projects/assets/index.md#asset-uris) of the mesh that is displayed on the `Class.MeshPart`. Reads and writes to `Class.MeshPart.MeshContent|MeshContent`. Note that this property cannot be changed directly by scripts, as the collision geometry of the mesh cannot be recomputed in real time. See `Class.AssetService:CreateMeshPartAsync()` as a method to create a new `Class.MeshPart` from a given `Datatype.Content` with a specified `Class.MeshPart.CollisionFidelity|CollisionFidelity`. `Class.MeshPart:ApplyMesh()` can be used to overwrite the `Class.MeshPart.MeshContent|MeshContent`, `Class.MeshPart.TextureContent|TextureContent`, and collision geometry of an existing `Class.MeshPart`. code_samples: [] type: ContentId tags: [] deprecation_message: '' security: read: None write: NotAccessibleSecurity thread_safety: ReadSafe category: Appearance serialization: can_load: true can_save: true capabilities: - Basic - name: MeshPart.RenderFidelity summary: | The level of detail used to render the `Class.MeshPart`. description: | This property determines the level of detail that the `Class.MeshPart` will be shown in. It can be set to the possible values of the `Enum.RenderFidelity` enum. The default value is `Enum.RenderFidelity.Automatic|Automatic`, meaning the mesh's detail is based on its distance from the camera as outlined in the following table.
| Distance From Camera | Render Fidelity | Example |
|---|---|---|
| Less than 250 studs | Highest | ![]() |
| 250-500 studs | Medium | ![]() |
| 500 or more studs | Lowest | ![]() |