SurfaceOptions
Lens Studio v1.6.0+
Inherits from ScriptObject
Description
Used with DeviceTracking.surfaceOptions to change settings for Surface tracking mode.
Properties
enhanceWithNativeAR
: Boolean
If enabled, surface tracking will be improved using native AR tracking.
Inherited Methods
getTypeName()
: String
Returns the name of this object’s type.
isOfType(String type)
: Boolean
Returns true if the object matches or derives from the passed in type.
Examples
// Tell the DeviceTracking component to enhance surface tracking with native AR
//@input Component.DeviceTracking deviceTracking
script.deviceTracking.surfaceOptions.enhanceWithNativeAR = true;
Still Looking for help?
Visit Support