Wikitude Unity Plugin
Public Attributes | Properties | List of all members
Wikitude.ClientTracker Class Reference

Client trackers are used to recognize targets bundled in a .wtc or .wtm file More...

Inheritance diagram for Wikitude.ClientTracker:
Wikitude.TrackerBehaviour

Public Attributes

OnTrackerFinishedLoadingEvent OnTrackerFinishedLoading = new OnTrackerFinishedLoadingEvent()
 Called whenever a client tracker successfully loaded from the given URL. More...
 

Properties

string TargetPath [get, set]
 Path or URL to a .wtc or .wtm file used for tracking. More...
 
bool UseCustomUrl [get, set]
 If false, TargetPath is considered relative to the StreamingAssets folder. More...
 
bool Use3DTracking [get, set]
 Enables or disables 3D Tracking. If enabled, the TargetPath needs to point to a .wtm file. More...
 

Detailed Description

Client trackers are used to recognize targets bundled in a .wtc or .wtm file

When client trackers are created at runtime, make sure that all the relevant properties are set before the Start method is called by Unity. At start, the native tracker is created and all information needs to be available.

Member Data Documentation

OnTrackerFinishedLoadingEvent Wikitude.ClientTracker.OnTrackerFinishedLoading = new OnTrackerFinishedLoadingEvent()

Called whenever a client tracker successfully loaded from the given URL.

Property Documentation

string Wikitude.ClientTracker.TargetPath
getset

Path or URL to a .wtc or .wtm file used for tracking.

If UseCustomUrl is disabled, the path is considered relative to the StreamingAssets folder, otherwise, it needs to be the absolute path, prefixed with the appropriate protocol (file:// or http(s)://).

bool Wikitude.ClientTracker.Use3DTracking
getset

Enables or disables 3D Tracking. If enabled, the TargetPath needs to point to a .wtm file.

bool Wikitude.ClientTracker.UseCustomUrl
getset

If false, TargetPath is considered relative to the StreamingAssets folder.

If true, TargetPath is considered absolute and prefixed with the appropriate protocol.