Assets
Every asset type, with its topic.
48 in Lens API 387. Topic says where the sidebar lists each one.
| Name | Topic | Description |
|---|---|---|
| AnimationAsset | Animation | Represents animation data. |
| AnimationCurveTrack | Animation | Container for one or more AnimationCurves. |
| AnimationTrack | Animation | Represents the base class for animation tracks. |
| Asset | Base Classes | Base class for all assets used in the engine. |
| AudioEffectAsset | Audio & Voice › Playback & Effects | Configures an audio effect for AudioEffectComponent. |
| AudioTrackAsset | Audio & Voice › Playback & Effects | Represents an audio file asset. |
| BinAsset | Base Classes | A file based asset. |
| BodyTrackingAsset | AR & Tracking › Body | Configures 3D Body Tracking for the ObjectTracking3D component. |
| CollisionMesh | Physics › Shapes & Collision Meshes | Defines the physical boundaries of an object for collision detection. |
| CustomAsset | Base Classes | Base class for all assets used in the engine. |
| DeformingCollisionMesh | Physics › Shapes & Collision Meshes | Used for collision meshes that can change shape or form dynamically. |
| FaceTrackingScope | AR & Tracking › Face | The face that a tracker should use. |
| FixedCollisionMesh | Physics › Shapes & Collision Meshes | Used for collision meshes that remain static and do not change their shape over time. |
| Font | Text & Fonts | A font asset used for rendering text. |
| FontCollection | Text & Fonts | An ordered collection of Font and FontFamily assets, allowing a Text component to access multiple fonts and font families. |
| FontFamily | Text & Fonts | Groups multiple Font assets into a single family, mapping each to a style (weight + italic). |
| GaussianSplattingAsset | Graphics, Materials & Particles › Meshes & Effects | Asset that contains Gaussian Splats. |
| GltfAsset | Graphics, Materials & Particles › Meshes & Effects | Represents a GLTF 3D Model. |
| HairDataAsset | Physics › Cloth & Hair | Hair asset converted from an FBX containing splines to be used with HairVisual. |
| HandTracking3DAsset | AR & Tracking › Hand | Enables Hand Tracking 3D for the ObjectTracking3D component. |
| HandTrackingScope | AR & Tracking › Hand | The hand that a tracker should use. |
| JsonAsset | Utilities › Data & Encoding | Represents a JsonAsset that can be used to store JSON data in your Lens. |
| LevelsetColliderAsset | Physics › Cloth & Hair | Collider asset generated from a mesh to be used with the HairVisual as part of the hair simulation. |
| LicensedAudioTrackAsset | Audio & Voice › Music & Lyrics | A Licensed Sounds audio track from Asset LIbrary. |
| LocalizationsAsset | Text & Fonts | Asset that provides the necessary localized text for your Lens. |
| LocationAsset | AR & Tracking › Location & Navigation | Provides a frame of reference in which to localize objects to the real world. |
| MarkerAsset | AR & Tracking › World | Represents a texture to be tracked with MarkerTrackingComponent. |
| Material | Graphics, Materials & Particles › Rendering & Materials | An asset that describes how visual objects should appear. |
| Matter | Physics › Bodies & Colliders | Settings for the physical substance, such as friction and bounciness, of a collider. |
| MLAsset | SnapML | Represents a machine learning model that can be integrated with an MLComponent. |
| NativeLibraryAsset | Scripting | NativeLibraryAsset loads a native shared library (e.g. .so, .dylib, .dll) and exposes its exports to JavaScript. |
| Object3DAsset | AR & Tracking › Body | Base class for configuring object tracking in the ObjectTracking3D component. |
| ObjectPrefab | Scene | Represents reusable SceneObject hierarchy stored as a resource. |
| PersonTrackingScope | AR & Tracking › Body | The person that a tracker should use. |
| Physics.Filter | Physics › Bodies & Colliders › Physics | Script interface for applying collision filtering to colliders and ray/shape-casts. |
| Physics.WorldSettingsAsset | Physics › Bodies & Colliders › Physics | Stores reusable settings for a Physics WorldComponent such as gravity magnitude and direction. |
| RayTracingSettings | Graphics, Materials & Particles › Rendering & Materials | Ray Tracing settings for a camera. |
| RemoteReferenceAsset | Cloud, Networking & Storage › Remote Assets & Media | Provides a reference to a remote asset (i.e. assets outside of the Lens size limit) that can be downloaded at runtime using script. |
| RenderMesh | Graphics, Materials & Particles › Meshes & Effects | Represents a mesh asset. |
| ScriptAsset | Scripting | Represents a JavaScript or TypeScript script that can be used to add logic in your Lens. |
| SegmentationModel | AR & Tracking › Camera | Segmentation model used for SegmentationTextureProvider. |
| SupabaseProject | Cloud, Networking & Storage › Snap Cloud | Represents a Supabase project with configuration details. |
| Texture | Graphics, Materials & Particles › Textures & Video | Represents a texture file asset. |
| TextureTrackingScope | AR & Tracking | Provides a Texture to do face tracking on for entities like Head, FaceStretch, and FaceMesh. |
| TrackingScope | AR & Tracking | The scope, such as the texture it should track against, in which a tracker, such as FaceMaskVisual, EyeColorVisual, BodyDepthTextureProvider, should be applied. |
| UpperBodyTrackingAsset | AR & Tracking › Body | Configures 3D Upper Body Tracking for the ObjectTracking3D component. |
| VectorComposite | Graphics, Materials & Particles › Vector Graphics | A retained, tessellated vector-image asset (built from an SVG document). |
| VFXAsset | Graphics, Materials & Particles › Meshes & Effects | Defines a VFX to use with VFXComponent. |