Skip to main content

Other Classes

Expressions

Expression names used with FaceRenderObjectProvider.getExpressionWeightByName() and returned by FaceRenderObjectProvider.getExpressionNames().

Lens Studio v3.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

Globals

Lens Studio v1.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

LayerSet

Used to describe a set of layers that an object belongs to or interacts with.

See SceneObject's layer property, Camera's renderLayer property, and LightSource's renderLayer property.

Lens Studio v2.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

MachineLearning

Namespace for Machine Learning related classes and methods. For more information, see the Machine Learning Overview.

Lens Studio v3.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

ManipulateFrameIntersectResult

Result object returned from ManipulateComponent.intersectManipulateFrame().

Lens Studio v1.0.0+
Scripting Name: ManipulateFrameIntersectResult

This is the API for Lens Studio 4. For the latest API documentation, click here.

MathUtils

Provides useful math utility functions.

Lens Studio v4.28.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

MeshBuilder

A class for generating meshes at runtime.

Lens Studio v1.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

Physics

Namespace containing physics classes and static physics methods.

Lens Studio v4.10.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

Physics.Constraint

Namespace containing static helper methods for Constraints.

Lens Studio v4.10.0+
Outer Classes: Physics

This is the API for Lens Studio 4. For the latest API documentation, click here.

Physics.Filter

Script interface for applying collision filtering to colliders and ray/shape-casts.

Lens Studio v4.31.0+
Outer Classes: Physics

This is the API for Lens Studio 4. For the latest API documentation, click here.

Physics.WorldSettingsAsset

Exposes settings that apply to a physics world.

Lens Studio v4.31.0+
Outer Classes: Physics

This is the API for Lens Studio 4. For the latest API documentation, click here.

ScanModule.Contexts

Contexts used in ScanModule.scan().

Lens Studio v3.4+
Outer Classes: ScanModule

This is the API for Lens Studio 4. For the latest API documentation, click here.

Studio

Lens Studio v4.40.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

TensorMath

Namespace for mathematical operations on tensors. Useful with MLComponent.

Tensor broadcasting rules

  • Tensor (channels, width, height) op Tensor (1, 1, 1) = the same as applying op with scalar

  • Tensor (channels, width, height) op Tensor (channels, 1, 1) = the same as applying op per channel

Lens Studio v3.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

TextInputSystem.KeyboardOptions

The settings used for how the input keyboard should work.

Lens Studio v4.13.0+
Outer Classes: TextInputSystem

This is the API for Lens Studio 4. For the latest API documentation, click here.

TextToSpeech.VoiceNames

The voice style on which the TextToSpeech will be synthesized, Varying from neutral style, to a more elaborated styles depending on the voice. Note that Sam’s voice still doesn’t have more than the neutral style, this will be added throughout the coming releases.

Lens Studio v4.10.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

VoiceML.NlpIntentsModelOptions

Contains helper functions for NlpIntentModel.

Lens Studio v4.7+

This is the API for Lens Studio 4. For the latest API documentation, click here.

VoiceML.NlpKeywordModelOptions

Contains helper functions for NlpKeywordModel.

Lens Studio v4.7+

This is the API for Lens Studio 4. For the latest API documentation, click here.

mat2

A 2x2 matrix.

Lens Studio v1.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

mat3

A 3x3 matrix.

Lens Studio v1.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

mat4

A 4x4 matrix.

Lens Studio v1.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

quat

A quaternion, used to represent rotation.

Lens Studio v1.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

vec2

A two dimensional vector.

Lens Studio v1.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

vec3

A three dimensional vector.

Lens Studio v1.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

vec4

A four dimensional vector.

Lens Studio v1.0.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

vec4b

A vector containing 4 boolean values.

Lens Studio v1.5.0+

This is the API for Lens Studio 4. For the latest API documentation, click here.

Was this page helpful?
Yes
No