Used with DeviceTracking.surfaceOptions to change settings for Surface tracking mode.

// Tell the DeviceTracking component to enhance surface tracking with native AR
//@input Component.DeviceTracking deviceTracking

script.deviceTracking.surfaceOptions.enhanceWithNativeAR = true;
interface SurfaceOptions {
    enhanceWithNativeAR: boolean;
    getTypeName(): string;
    isOfType(type: string): boolean;
    isSame(other: ScriptObject): boolean;
}

Hierarchy (view full)

Properties

enhanceWithNativeAR: boolean

If enabled, surface tracking will be improved using native AR tracking.

Methods

  • Returns true if the object matches or derives from the passed in type.

    Parameters

    • type: string

    Returns boolean

  • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

    Parameters

    Returns boolean