Skip to main content

Assets

Every asset type, with its topic.

48 in Lens API 387. Topic says where the sidebar lists each one.

NameTopicDescription
AnimationAssetAnimationRepresents animation data.
AnimationCurveTrackAnimationContainer for one or more AnimationCurves.
AnimationTrackAnimationRepresents the base class for animation tracks.
AssetBase ClassesBase class for all assets used in the engine.
AudioEffectAssetAudio & Voice › Playback & EffectsConfigures an audio effect for AudioEffectComponent.
AudioTrackAssetAudio & Voice › Playback & EffectsRepresents an audio file asset.
BinAssetBase ClassesA file based asset.
BodyTrackingAssetAR & Tracking › BodyConfigures 3D Body Tracking for the ObjectTracking3D component.
CollisionMeshPhysics › Shapes & Collision MeshesDefines the physical boundaries of an object for collision detection.
CustomAssetBase ClassesBase class for all assets used in the engine.
DeformingCollisionMeshPhysics › Shapes & Collision MeshesUsed for collision meshes that can change shape or form dynamically.
FaceTrackingScopeAR & Tracking › FaceThe face that a tracker should use.
FixedCollisionMeshPhysics › Shapes & Collision MeshesUsed for collision meshes that remain static and do not change their shape over time.
FontText & FontsA font asset used for rendering text.
FontCollectionText & FontsAn ordered collection of Font and FontFamily assets, allowing a Text component to access multiple fonts and font families.
FontFamilyText & FontsGroups multiple Font assets into a single family, mapping each to a style (weight + italic).
GaussianSplattingAssetGraphics, Materials & Particles › Meshes & EffectsAsset that contains Gaussian Splats.
GltfAssetGraphics, Materials & Particles › Meshes & EffectsRepresents a GLTF 3D Model.
HairDataAssetPhysics › Cloth & HairHair asset converted from an FBX containing splines to be used with HairVisual.
HandTracking3DAssetAR & Tracking › HandEnables Hand Tracking 3D for the ObjectTracking3D component.
HandTrackingScopeAR & Tracking › HandThe hand that a tracker should use.
JsonAssetUtilities › Data & EncodingRepresents a JsonAsset that can be used to store JSON data in your Lens.
LevelsetColliderAssetPhysics › Cloth & HairCollider asset generated from a mesh to be used with the HairVisual as part of the hair simulation.
LicensedAudioTrackAssetAudio & Voice › Music & LyricsA Licensed Sounds audio track from Asset LIbrary.
LocalizationsAssetText & FontsAsset that provides the necessary localized text for your Lens.
LocationAssetAR & Tracking › Location & NavigationProvides a frame of reference in which to localize objects to the real world.
MarkerAssetAR & Tracking › WorldRepresents a texture to be tracked with MarkerTrackingComponent.
MaterialGraphics, Materials & Particles › Rendering & MaterialsAn asset that describes how visual objects should appear.
MatterPhysics › Bodies & CollidersSettings for the physical substance, such as friction and bounciness, of a collider.
MLAssetSnapMLRepresents a machine learning model that can be integrated with an MLComponent.
NativeLibraryAssetScriptingNativeLibraryAsset loads a native shared library (e.g. .so, .dylib, .dll) and exposes its exports to JavaScript.
Object3DAssetAR & Tracking › BodyBase class for configuring object tracking in the ObjectTracking3D component.
ObjectPrefabSceneRepresents reusable SceneObject hierarchy stored as a resource.
PersonTrackingScopeAR & Tracking › BodyThe person that a tracker should use.
Physics.FilterPhysics › Bodies & Colliders › PhysicsScript interface for applying collision filtering to colliders and ray/shape-casts.
Physics.WorldSettingsAssetPhysics › Bodies & Colliders › PhysicsStores reusable settings for a Physics WorldComponent such as gravity magnitude and direction.
RayTracingSettingsGraphics, Materials & Particles › Rendering & MaterialsRay Tracing settings for a camera.
RemoteReferenceAssetCloud, Networking & Storage › Remote Assets & MediaProvides a reference to a remote asset (i.e. assets outside of the Lens size limit) that can be downloaded at runtime using script.
RenderMeshGraphics, Materials & Particles › Meshes & EffectsRepresents a mesh asset.
ScriptAssetScriptingRepresents a JavaScript or TypeScript script that can be used to add logic in your Lens.
SegmentationModelAR & Tracking › CameraSegmentation model used for SegmentationTextureProvider.
SupabaseProjectCloud, Networking & Storage › Snap CloudRepresents a Supabase project with configuration details.
TextureGraphics, Materials & Particles › Textures & VideoRepresents a texture file asset.
TextureTrackingScopeAR & TrackingProvides a Texture to do face tracking on for entities like Head, FaceStretch, and FaceMesh.
TrackingScopeAR & TrackingThe scope, such as the texture it should track against, in which a tracker, such as FaceMaskVisual, EyeColorVisual, BodyDepthTextureProvider, should be applied.
UpperBodyTrackingAssetAR & Tracking › BodyConfigures 3D Upper Body Tracking for the ObjectTracking3D component.
VectorCompositeGraphics, Materials & Particles › Vector GraphicsA retained, tessellated vector-image asset (built from an SVG document).
VFXAssetGraphics, Materials & Particles › Meshes & EffectsDefines a VFX to use with VFXComponent.