The following is a description of all scripting modules.
The `AnimationModule` class implements object animation.
| Class | Description |
|---|---|
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The |
The `AudioModule` class enables sound effects.
| Class | Description |
|---|---|
The |
The `CameraInfoModule` class provides access to details about the device camera.
| Value | Description |
|---|---|
The |
The `CameraShareModule` class exposes methods and properties to allow an external app to send data to an effect.
The `DeviceMotionModule` class enables device movement detection.
The `DiagnosticsModule` class enables diagnostic logging.
The `FaceGesturesModule` class enables face orientation detection.
The `FaceTrackingModule` class enables facial movement and expression detection.
| Class | Description |
|---|---|
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The |
The `FontsModule` class is used for working with custom fonts in effects.
| Class | Description |
|---|---|
The |
The `HandTrackingModule` class enables hand tracking.
| Class | Description |
|---|---|
The |
The `InstructionModule` class enables effects to provide instructions to the user.
| Value | Description |
|---|---|
Deprecated: the |
The `LightingEstimation` module encapsulates access to estimations of lighting in the scene.
The `LiveStreamingModule` class enables to retrieve information from a live stream from within the effect, such as reactions and comments
| Class | Description |
|---|---|
The | |
The |
| Value | Description |
|---|---|
The |
The `LocaleModule` class encapsulates access to the locale identifier of the device.
The `Materials` module enables working with textures and making adjustments to qualities like opacity and reflectivity.
| Class | Description |
|---|---|
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The |
The `NativeUI` module exposes editable text.
The `NetworkingModule` class enables effects to fetch information from a network. To use the Networking class you must add the Networking capability to the project manifest. You also need to add to the allow list domains you'd like to access in the Capabilities menu. AR Studio requires the URL passed to the `fetch()` method to be an HTTPS URL, with a certificate that chains up to a trusted certificate authority. Self-signed and other non-trusted certificates should not be expected to work.
The `PatchesModule` module allows interop between JS scripting and the AR Studio patches visual scripting system.
The `PrefabsModule` module provides functionality for working with external meshes.
| Class | Description |
|---|---|
The | |
The |
| Value | Description |
|---|---|
The |
The `RandomModule` class enables random number generation.
The `ReactiveModule` class exposes methods for reactive programming.
| Class | Description |
|---|---|
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The PointSignal class monitors a 3D coordinate. | |
The | |
The | |
The | |
The | |
The | |
The ScalarSignal class monitors an objects scale. | |
The | |
The | |
The | |
The | |
The |
| Value | Description |
|---|---|
The |
The `SceneModule` class exposes properties and methods to access the objects in a scene.
| Class | Description |
|---|---|
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The 'PointerTracker' class describes a point tracker object. | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The |
| Value | Description |
|---|---|
The | |
The RenderMode enum describes how to render a scene object. | |
The | |
The | |
The | |
The | |
The |
The `SceneUnderstandingModule` provides access to details about recognition of real objects captured by the camera
| Class | Description |
|---|---|
The |
| Value | Description |
|---|---|
The |
The `TexturesModule` class enables images, animation sequences, videos, colors, and other visual artifacts to be combined to form materials.
| Class | Description |
|---|---|
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The | |
The |
The `TimeModule` class enables time-based events.
The `TouchGesturesModule` class enables touch gesture detection.
| Class | Description |
|---|---|
The | |
The | |
The | |
The | |
The RawTouchGesture class encapsulates raw touch data. | |
The | |
The |
The `UnitsModule` class provides functionality for converting values into world-space units.
| Value | Description |
|---|---|
The |
The `ViewportsModule` class exposes the viewport wrapper.
| Class | Description |
|---|---|
The |
The `WeatherModule` class provides information about the current weather