---
title: Models and meshes
framework: realitykit
role: collectionGroup
role_heading: API Collection
path: realitykit/scene-content-models-and-meshes
---

# Models and meshes

Display virtual objects in your scene with mesh-based models.

## Overview

Overview Meshes are the building blocks for every visible geometric shape and model in RealityKit, including those that come from a USDZ file. Create primitive shapes by calling a MeshResource factory method, such as generateBox(size:cornerRadius:), or define your own mesh by creating and configuring a MeshDescriptor or a LowLevelMesh instance. Display meshes in your scene by creating a ModelComponent for each mesh, and add that component to an entity. You can also add Material instances to your mesh by adding them to the same ModelComponent instance.

## Topics

### Model display

- [Creating 3D entities with RealityKit](visionos/creating-3d-entities-with-realitykit.md)
- [Creating 3D models as movable windows](visionos/creating-a-volumetric-window-in-visionos.md)
- [Creating a 3D painting space](visionos/creating-a-painting-space-in-visionos.md)
- [Tracking and visualizing hand movement](visionos/tracking-and-visualizing-hand-movement.md)
- [Applying mesh to real-world surroundings](visionos/applying-mesh-to-real-world-surroundings.md)
- [Obscuring virtual items in a scene behind real-world items](visionos/obscuring-virtual-items-in-a-scene-behind-real-world-items.md)
- [Manipulating models with RealityKit](realitykit/manipulating-models-with-realitykit.md)
- [ModelComponent](realitykit/modelcomponent.md)
- [MeshResource](realitykit/meshresource.md)
- [ModelEntity](realitykit/modelentity.md)

### Render configuration

- [ModelSortGroupComponent](realitykit/modelsortgroupcomponent.md)
- [ModelSortGroup](realitykit/modelsortgroup.md)
- [OpacityComponent](realitykit/opacitycomponent.md)
- [AdaptiveResolutionComponent](realitykit/adaptiveresolutioncomponent.md)
- [ModelDebugOptionsComponent](realitykit/modeldebugoptionscomponent.md)
- [MeshInstancesComponent](realitykit/meshinstancescomponent.md)

### Static meshes

- [MeshDescriptor](realitykit/meshdescriptor.md)
- [MeshDescriptor.Primitives](realitykit/meshdescriptor/primitives-swift.enum.md)
- [MeshDescriptor.Materials](realitykit/meshdescriptor/materials-swift.enum.md)

### Updatable meshes

- [Integrating virtual objects with your environment](realitykit/integrating-virtual-objects-with-your-environment.md)
- [Creating a spatial drawing app with RealityKit](realitykit/creating-a-spatial-drawing-app-with-realitykit.md)
- [Creating a plane with low-level mesh](realitykit/creating-a-plane-with-low-level-mesh.md)
- [LowLevelMesh](realitykit/lowlevelmesh.md)
- [LowLevelMesh.Descriptor](realitykit/lowlevelmesh/descriptor-swift.struct.md)
- [LowLevelMesh.Part](realitykit/lowlevelmesh/part.md)
- [LowLevelMesh.Layout](realitykit/lowlevelmesh/layout.md)
- [LowLevelMesh.Attribute](realitykit/lowlevelmesh/attribute.md)
- [LowLevelMesh.VertexSemantic](realitykit/lowlevelmesh/vertexsemantic.md)
- [LowLevelMesh.PartsCollection](realitykit/lowlevelmesh/partscollection.md)
- [LowLevelBuffer](realitykit/lowlevelbuffer.md)
- [LowLevelInstanceData](realitykit/lowlevelinstancedata.md)

### Bounding box retrieval

- [BoundingBox](realitykit/boundingbox.md)
- [OrientedBoundingBox](realitykit/orientedboundingbox.md)

### Text generation options

- [MeshResource.GenerateTextOptions](realitykit/meshresource/generatetextoptions.md)
- [MeshResource.Font](realitykit/meshresource/font.md)

### 2D path extrusion for 3D mesh creation

- [MeshResource.ShapeExtrusionOptions](realitykit/meshresource/shapeextrusionoptions.md)
- [MeshResource.ShapeExtrusionOptions.MaterialAssignment](realitykit/meshresource/shapeextrusionoptions/materialassignment-swift.struct.md)
- [MeshResource.ShapeExtrusionOptions.ChamferMode](realitykit/meshresource/shapeextrusionoptions/chamfermode-swift.enum.md)
- [MeshResource.ShapeExtrusionOptions.CurveStrokeResolution](realitykit/meshresource/shapeextrusionoptions/curvestrokeresolution.md)
- [MeshResource.ShapeExtrusionOptions.ExtrusionMethod](realitykit/meshresource/shapeextrusionoptions/extrusionmethod-swift.enum.md)

### Mesh description

- [MeshBuffer](realitykit/meshbuffer.md)
- [MeshBufferContainer](realitykit/meshbuffercontainer.md)
- [MeshBufferSemantic](realitykit/meshbuffersemantic.md)
- [MeshBuffers](realitykit/meshbuffers.md)
- [AnyMeshBuffer](realitykit/anymeshbuffer.md)
- [MeshInstanceCollection](realitykit/meshinstancecollection.md)
- [MeshModelCollection](realitykit/meshmodelcollection.md)
- [MeshPartCollection](realitykit/meshpartcollection.md)

### Mesh skeletons

- [MeshResource.Skeleton](realitykit/meshresource/skeleton.md)
- [MeshResource.Skeleton.Joint](realitykit/meshresource/skeleton/joint.md)
- [MeshSkeletonCollection](realitykit/meshskeletoncollection.md)
- [MeshJointInfluence](realitykit/meshjointinfluence.md)
- [MeshResource.JointInfluences](realitykit/meshresource/jointinfluences.md)

### Mesh resource data

- [MeshResource.Contents](realitykit/meshresource/contents-swift.struct.md)
- [MeshResource.Instance](realitykit/meshresource/instance.md)
- [MeshResource.Model](realitykit/meshresource/model.md)
- [MeshResource.Part](realitykit/meshresource/part.md)

### Blend shape management

- [BlendShapeWeightsComponent](realitykit/blendshapeweightscomponent.md)
- [BlendShapeWeightsMapping](realitykit/blendshapeweightsmapping.md)
- [BlendShapeWeights](realitykit/blendshapeweights.md)
- [BlendShapeWeightsData](realitykit/blendshapeweightsdata.md)
- [BlendShapeWeightsSet](realitykit/blendshapeweightsset.md)

### Entity compliance

- [HasModel](realitykit/hasmodel.md)

## See Also

### Scene content

- [Hello World](visionos/world.md)
- [Enabling video reflections in an immersive environment](visionos/enabling-video-reflections-in-an-immersive-environment.md)
- [Creating a spatial drawing app with RealityKit](realitykit/creating-a-spatial-drawing-app-with-realitykit.md)
- [Generating interactive geometry with RealityKit](realitykit/generating-interactive-geometry-with-realitykit.md)
- [Combining 2D and 3D views in an immersive app](realitykit/combining-2d-and-3d-views-in-an-immersive-app.md)
- [Transforming RealityKit entities using gestures](realitykit/transforming-realitykit-entities-with-gestures.md)
- [Responding to gestures on an entity](realitykit/responding-to-gestures-on-an-entity.md)
- [Materials, textures, and shaders](realitykit/scene-content-materials-and-shaders.md)
- [Anchors](realitykit/scene-content-anchors.md)
- [Lights and cameras](realitykit/scene-content-lights-and-cameras.md)
- [Content synchronization](realitykit/scene-content-content-synchronization.md)
- [Audio](realitykit/scene-content-audio.md)
- [Videos](realitykit/scene-content-videos.md)
- [Images](realitykit/scene-content-images.md)
- [Mesh deformation](realitykit/scene-content-mesh-deformation.md)
