Meshes & Effects
Mesh visuals and mesh building, VFX, post effects, and Gaussian splats.
Commonly used
RenderMeshVisualExtends MaterialMeshVisual, adding the capability to utilize specific RenderMesh assets to depict 3D models within a scene.RenderMeshRepresents a mesh asset.MeshBuilderA class for generating meshes at runtime.BaseMeshVisualBase for all mesh rendering components.LiquifyVisualApplies a liquify effect to anything rendered behind it.MaterialMeshVisualInherits from BaseMeshVisual and provides access to the Material used in the rendering process.
Guides
CubemapsThis guide will walk you through the Cubemap Template which offers several examples of how to create and use cubemaps in Lens Studio.Gaussian SplattingGaussian splatting, introduced in the 2023 paper “3D Gaussian Splatting for Real-Time Radiance Field Rendering”, is a modern approach for modeling and rendering 3D scenes.OverviewWelcome to VFX Editor, our new node-based visual effects engine in Lens Studio.Gemstone RenderingThis guide walks you through gem rendering in Lens Studio.OverviewYou can emit particles in Lens Studio by using the Particles object.VFXThe VFX example showcases different ways to use VFX Graph.
All APIs in this topic
Add components to a scene object and reference assets and other modules with a script input.
Components, assets, and modules
| API | Description |
|---|---|
| BaseMeshVisual | Base for all mesh rendering components. |
| GaussianSplattingAsset | Asset that contains Gaussian Splats. |
| GaussianSplattingVisual | Allows displaying GaussianSplattingAsset and play its animation. |
| GltfAsset | Represents a GLTF 3D Model. |
| LiquifyVisual | Applies a liquify effect to anything rendered behind it. |
| MaterialMeshVisual | Inherits from BaseMeshVisual and provides access to the Material used in the rendering process. |
| PinToMeshComponent | Attaches the SceneObject to the mesh surface of a specific RenderMeshVisual. |
| PostEffectVisual | Uses an input color lookup table image to adjust the coloring of the Lens. |
| RenderMesh | Represents a mesh asset. |
| RenderMeshVisual | Extends MaterialMeshVisual, adding the capability to utilize specific RenderMesh assets to depict 3D models within a scene. |
| Skin | Represents skinning data for rigged meshes. |
| VertexCache | Used to help control vertex animations on the SceneObject. |
| VFXAsset | Defines a VFX to use with VFXComponent. |
| VFXComponent | Renders VFXAsset in scene. |
| Visual | Base class for all visual Components. |
Objects and data
| API | Description |
|---|---|
| DynamicMeshRenderObjectProvider | RenderObjectProvider for mesh objects generated procedurally. |
| GltfSettings | Settings for importing a glTF Asset. |
| MeshBuilder | A class for generating meshes at runtime. |
| MeshRenderObjectProvider | |
| PassWrappers | Allows for retrieval of a collection of Pass objects used by VFXAsset |
| ProceduralMeshRenderObjectProvider | RenderObjectProvider for mesh objects generated procedurally. |
| Properties | |
| RenderObjectProvider | Provider for RenderMesh data. |
Enums
| API | Description |
|---|---|
| MeshIndexType | Possible index data types used by MeshBuilder. |
| MeshTopology | Mesh topology types used by MeshBuilder. |
Related topics
Cloud, Networking & Storage › Remote Assets & MediaLoading media and assets at runtime: RemoteMediaModule, remote references, dynamic resources, and image upload.Graphics, Materials & Particles › Rendering & MaterialsCameras and render targets, materials, passes and samplers, lights, and shadows.AR & Tracking › Location & NavigationGPS, compass, maps, city-scale and custom locations, and geo-anchored content.