Wikitude Unity Plugin
|
Client trackers are used to recognize targets bundled in a .wtc or .wtm file More...
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... | |
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.
OnTrackerFinishedLoadingEvent Wikitude.ClientTracker.OnTrackerFinishedLoading = new OnTrackerFinishedLoadingEvent() |
Called whenever a client tracker successfully loaded from the given URL.
|
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)://).
|
getset |
Enables or disables 3D Tracking. If enabled, the TargetPath needs to point to a .wtm file.
|
getset |
If false, TargetPath is considered relative to the StreamingAssets folder.
If true, TargetPath is considered absolute and prefixed with the appropriate protocol.