Assets
Assets are resources imported into Lens Studio. See also: Importing and Updating Resources Guide
AnimationLayer
Configures an animation layer for a single SceneObject. Gives access to position, rotation, scale and blend shape animation tracks. See also: Playing 3D Animation Guide, AnimationMixer, Animation.
Asset.AnimationLayerThis is the API for Lens Studio 4. For the latest API documentation, click here.
AnimationTrack
The base class for animation tracks.
Asset.AnimationTrackAnimationLayer, FloatAnimationTrack, IntAnimationTrack, QuaternionAnimationTrack, Vec2AnimationTrack, Vec3AnimationTrack, Vec4AnimationTrackThis is the API for Lens Studio 4. For the latest API documentation, click here.
Asset
Base class for all assets used in the engine.
AssetAnimationTrack, AudioEffectAsset, AudioTrackAsset, BinAsset, BitmojiModule, CloudStorageModule, CollisionMesh, ConnectedLensModule, DialogModule, Font, GltfAsset, HairDataAsset, LocalizationsAsset, LocationAsset, LocationCloudStorageModule, MarkerAsset, Material, Matter, Object3DAsset, ObjectPrefab, RemoteMediaModule, RemoteReferenceAsset, RemoteServiceModule, RenderMesh, ScanModule, ScriptAsset, TextToSpeechModule, Texture, VFXAsset, VoiceMLModule, WorldSettingsAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
AudioEffectAsset
Configures an audio effect for AudioEffectComponent.
Asset.AudioEffectAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
AudioTrackAsset
Represents an audio file asset. See also: AudioComponent.
Asset.AudioTrackAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
BinAsset
File based asset.
Asset.BinAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
BitmojiModule
Provides access to getting information about the current user's Bitmoji.
Asset.BitmojiModuleThis is the API for Lens Studio 4. For the latest API documentation, click here.
BodyTrackingAsset
Asset used to configure Body Tracking for the ObjectTracking3D component.
Asset.BodyTrackingAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
CloudStorageModule
Provides access to Cloud Storage.
Asset.CloudStorageModuleThis is the API for Lens Studio 4. For the latest API documentation, click here.
CollisionMesh
Physics.CollisionMeshDeformingCollisionMesh, FixedCollisionMeshThis is the API for Lens Studio 4. For the latest API documentation, click here.
ConnectedLensModule
Connected Lenses Module allows use of networked Lens communication capabilities (real-time communication, co-located session creation and joining, and shared persistent storage). It's recommended to only use one ConnectedLensModule per Lens.
Asset.ConnectedLensModuleConnectedLensModule.ConnectionInfo, ConnectedLensModule.HostUpdateInfo, ConnectedLensModule.RealtimeStoreCreationInfo, ConnectedLensModule.RealtimeStoreDeleteInfo, ConnectedLensModule.RealtimeStoreKeyRemovalInfo, ConnectedLensModule.RealtimeStoreOwnershipUpdateInfo, ConnectedLensModule.RealtimeStoreUpdateInfo, ConnectedLensModule.SessionShareType, ConnectedLensModule.UserInfoThis is the API for Lens Studio 4. For the latest API documentation, click here.
DeformingCollisionMesh
Physics.DeformingCollisionMeshThis is the API for Lens Studio 4. For the latest API documentation, click here.
DialogModule
Asset.DialogModuleThis is the API for Lens Studio 4. For the latest API documentation, click here.
FixedCollisionMesh
Physics.FixedCollisionMeshThis is the API for Lens Studio 4. For the latest API documentation, click here.
FloatAnimationTrack
The base class for animation tracks using float values.
Asset.FloatAnimationTrackFloatAnimationTrackKeyFramed, FloatBezierAnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
FloatAnimationTrackKeyFramed
Represents an animation track using float value keyframes.
Asset.FloatAnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
FloatBezierAnimationTrackKeyFramed
Represents an animation track using vec3 value keyframes for a bezier curve.
Asset.FloatBezierAnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
Font
A font asset used for rendering text. Used by Text. For more information, see the Text guide.
Asset.FontThis is the API for Lens Studio 4. For the latest API documentation, click here.
GltfAsset
Represents a GLTF 3D Model.
Asset.GltfAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
HairDataAsset
Hair asset converted from an FBX containing splines to be used with Hair Visual.
Asset.HairDataAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
HandTracking3DAsset
Asset.HandTracking3DAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
IntAnimationTrack
The base class for animation tracks using integer values.
Asset.IntAnimationTrackIntStepAnimationTrackKeyFramed, IntStepNoLerpAnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
IntStepAnimationTrackKeyFramed
Represents an animation track using stepped integer value keyframes.
Asset.IntStepAnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
IntStepNoLerpAnimationTrackKeyFramed
Represents an animation track using stepped integer value keyframes.
Asset.IntStepNoLerpAnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
LevelsetColliderAsset
Collider asset generated from a mesh to be used with the Hair Visual as part of the hair simulation.
Asset.LevelsetColliderAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
LocalizationsAsset
Asset used with the Localizations system to support custom localization strings.
Asset.LocalizationsAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
LocationAsset
Provides a frame of reference in which to localize objects to the real world. Use with LocatedAtComponent.
Asset.LocationAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
LocationCloudStorageModule
Provides access to location cloud storage depending upon the LocationCloudStorageOptions.
Asset.LocationCloudStorageModuleThis is the API for Lens Studio 4. For the latest API documentation, click here.
MLAsset
Binary ML model supplied by the user.
Asset.MLAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
MarkerAsset
Defines a marker to use for Marker Tracking with MarkerTrackingComponent. For more information, see the Marker Tracking guide.
Asset.MarkerAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
Material
An asset that describes how visual objects should appear. Each Material is a collection of Passes which define the actual rendering passes. Materials are used by MeshVisuals for drawing meshes in the scene.
Asset.MaterialThis is the API for Lens Studio 4. For the latest API documentation, click here.
Matter
Settings for the physical substance, such as friction and bounciness, of a collider. If unset, uses the default matter from the world settings.
Physics.MatterThis is the API for Lens Studio 4. For the latest API documentation, click here.
Object3DAsset
Base class for configuring object tracking in the ObjectTracking3D component.
Asset.Object3DAssetBodyTrackingAsset, HandTracking3DAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
ObjectPrefab
A reusable object hierarchy stored as a resource. Can be instantiated through script or brought into the scene through Lens Studio. For more information, see the Prefabs guide.
Asset.ObjectPrefabThis is the API for Lens Studio 4. For the latest API documentation, click here.
QuaternionAnimationTrack
The base class for animation tracks using quaternion values.
Asset.QuaternionAnimationTrackQuaternionAnimationTrackKeyFramed, QuaternionAnimationTrackXYZEulerThis is the API for Lens Studio 4. For the latest API documentation, click here.
QuaternionAnimationTrackKeyFramed
Represents an animation track using quaternion value keyframes.
Asset.QuaternionAnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
QuaternionAnimationTrackXYZEuler
Represents a rotation animation track using euler angles.
Asset.QuaternionAnimationTrackXYZEulerThis is the API for Lens Studio 4. For the latest API documentation, click here.
RemoteMediaModule
Provides access to a remote media.
Asset.RemoteMediaModuleThis is the API for Lens Studio 4. For the latest API documentation, click here.
RemoteReferenceAsset
Provides a reference to a remote asset (i.e. assets outside of the Lens size limit) that can be downloaded at runtime using script.
Asset.RemoteReferenceAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
RemoteServiceModule
Asset.RemoteServiceModuleThis is the API for Lens Studio 4. For the latest API documentation, click here.
RenderMesh
Represents a mesh asset. See also: RenderMeshVisual.
Asset.RenderMeshThis is the API for Lens Studio 4. For the latest API documentation, click here.
[Exposes User Data] ScanModule
Asset for detecting an object through the Scan system.
Asset.ScanModuleScanModule.ContextsThis is the API for Lens Studio 4. For the latest API documentation, click here.
ScriptAsset
Represents a JavaScript script which can be used to add logic in your Lens.
Asset.ScriptAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
SegmentationModel
Segmentation model used for SegmentationTextureProvider.
Asset.SegmentationModelThis is the API for Lens Studio 4. For the latest API documentation, click here.
TextToSpeechModule
Allows generation of speech from a given text. You can use only one TextToSpeechModule in a Lens. However, its methods can be called multiple times in parallel if needed.
Asset.TextToSpeechModuleThis is the API for Lens Studio 4. For the latest API documentation, click here.
Texture
Represents a texture file asset.
Asset.TextureThis is the API for Lens Studio 4. For the latest API documentation, click here.
VFXAsset
Defines a VFX to use with VFX Component. For more information, see the VFX Guide.
Asset.VFXAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.
Vec2AnimationTrack
Represents an animation track using vec2 value keyframes.
Asset.Vec2AnimationTrackVec2AnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
Vec2AnimationTrackKeyFramed
Represents an animation track using vec2 value keyframes.
Asset.Vec2AnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
Vec3AnimationTrack
Represents an animation track using vec3 value keyframes.
Asset.Vec3AnimationTrackVec3AnimationTrackKeyFramed, Vec3AnimationTrackXYZThis is the API for Lens Studio 4. For the latest API documentation, click here.
Vec3AnimationTrackKeyFramed
Represents an animation track using vec3 value keyframes.
Asset.Vec3AnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
Vec3AnimationTrackXYZ
Represents an animation track using vec3 animation tracks.
Asset.Vec3AnimationTrackXYZThis is the API for Lens Studio 4. For the latest API documentation, click here.
Vec4AnimationTrack
Represents an animation track using vec4 value keyframes.
Asset.Vec4AnimationTrackVec4AnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
Vec4AnimationTrackKeyFramed
Represents an animation track using vec4 value keyframes.
Asset.Vec4AnimationTrackKeyFramedThis is the API for Lens Studio 4. For the latest API documentation, click here.
VoiceMLModule
VoiceML Module allows voice input and commands. It enables transciption of the speech, detecting keywords within the transcription, intents as well as system commands (such as "Take a Snap"). You can use one VoiceML Module per Lens.
Asset.VoiceMLModuleVoiceMLModule.AnswerStatusCodes, VoiceMLModule.NlpResponsesStatusCodesThis is the API for Lens Studio 4. For the latest API documentation, click here.
WorldSettingsAsset
Stores reusable settings uniform for a world (such as gravity magnitude and direction). See also: WorldComponent.worldSettings.
Physics.WorldSettingsAssetThis is the API for Lens Studio 4. For the latest API documentation, click here.