![]() |
KudanAR - Unity
1.6.0
|
The tracker class that TrackerBase inherits from More...
Inherited by Kudan.AR.TrackerBase.
Public Member Functions | |
bool | InitPlugin () |
Initialisess the plugin. More... | |
void | DeinitPlugin () |
Deinitialises the plugin. More... | |
string | GetPluginVersion () |
Gets the current plugin version. More... | |
float | GetNativePluginVersion () |
Gets the native plugin version. More... | |
int | GetNumCameras () |
Gets the number of cameras. More... | |
void | SetupRenderingCamera (float cameraNearPlane, float cameraFarPlane) |
Sets up the rendering camera. More... | |
bool | StartInputFromImage (Texture2D image) |
Starts the input from a given image. More... | |
bool | StartInputFromCamera (int deviceIndex, int targetWidth, int targetHeight) |
Starts the input from a given camera device. More... | |
void | StopInput () |
Stops all input. More... | |
bool | AddTrackableSet (string path, string id) |
Adds a trackable at a given path with a given ID. More... | |
bool | AddTrackableSet (byte[] data, string id) |
Adds a trackable with a given data set and ID. More... | |
int | GetNumTrackables () |
Gets the number of trackables. More... | |
Trackable | GetTrackable (int index) |
Gets a trackable at given index. More... | |
void | RemoveTrackable (string name) |
Removes a trackable with a given name. More... | |
void | ClearTrackables () |
Clears trackables. More... | |
void | UpdateTracking () |
Updates tracking. More... | |
void | StartTracking () |
Starts tracking. More... | |
bool | IsTrackingRunning () |
Determines whether tracking is running. More... | |
void | StopTracking () |
Stops tracking. More... | |
bool | EnableTrackingMethod (int trackingMethodId) |
Enables the given tracking method. More... | |
bool | DisableTrackingMethod (int trackingMethodId) |
Disables the given tracking method. More... | |
Texture | GetTrackingTexture () |
Gets the tracking texture. More... | |
int | GetNumDetectedTrackables () |
Gets the number of detected trackables. More... | |
Trackable | GetDetectedTrackable (int index) |
Gets detected trackable at the given index. More... | |
Matrix4x4 | GetProjectionMatrix () |
Gets the projection matrix. More... | |
void | updateCam () |
Updates the camera. More... | |
bool | GetMarkerRecoveryStatus () |
void | SetMarkerRecoveryStatus (bool status) |
bool | GetMarkerExtensibilityStatus () |
void | SetMarkerExtensibilityStatus (bool status) |
void | SetMaximumSimultaneousTracking (int maxToTrack) |
The tracker class that TrackerBase inherits from
bool Kudan.AR.ITracker.AddTrackableSet | ( | byte[] | data, |
string | id | ||
) |
Adds a trackable with a given data set and ID.
true
, if trackable was added, false
otherwise.data | Data. |
id | Identifier. |
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
bool Kudan.AR.ITracker.AddTrackableSet | ( | string | path, |
string | id | ||
) |
Adds a trackable at a given path with a given ID.
true
, if trackable was added, false
otherwise.path | Path. |
id | Identifier. |
Implemented in Kudan.AR.TrackerBase.
void Kudan.AR.ITracker.ClearTrackables | ( | ) |
Clears trackables.
Implemented in Kudan.AR.TrackerBase.
void Kudan.AR.ITracker.DeinitPlugin | ( | ) |
Deinitialises the plugin.
Implemented in Kudan.AR.TrackerBase, and Kudan.AR.Tracker.
bool Kudan.AR.ITracker.DisableTrackingMethod | ( | int | trackingMethodId | ) |
Disables the given tracking method.
true
, if tracking method was disabled, false
otherwise.trackingMethodId | Tracking method identifier. |
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
bool Kudan.AR.ITracker.EnableTrackingMethod | ( | int | trackingMethodId | ) |
Enables the given tracking method.
true
, if tracking method was enabled, false
otherwise.trackingMethodId | Tracking method identifier. |
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
Trackable Kudan.AR.ITracker.GetDetectedTrackable | ( | int | index | ) |
Gets detected trackable at the given index.
index | Index. |
Implemented in Kudan.AR.TrackerBase.
float Kudan.AR.ITracker.GetNativePluginVersion | ( | ) |
Gets the native plugin version.
Implemented in Kudan.AR.TrackerBase, and Kudan.AR.Tracker.
int Kudan.AR.ITracker.GetNumCameras | ( | ) |
Gets the number of cameras.
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
int Kudan.AR.ITracker.GetNumDetectedTrackables | ( | ) |
Gets the number of detected trackables.
Implemented in Kudan.AR.TrackerBase.
int Kudan.AR.ITracker.GetNumTrackables | ( | ) |
Gets the number of trackables.
Implemented in Kudan.AR.TrackerBase.
string Kudan.AR.ITracker.GetPluginVersion | ( | ) |
Matrix4x4 Kudan.AR.ITracker.GetProjectionMatrix | ( | ) |
Trackable Kudan.AR.ITracker.GetTrackable | ( | int | index | ) |
Gets a trackable at given index.
index | Index. |
Implemented in Kudan.AR.TrackerBase.
Texture Kudan.AR.ITracker.GetTrackingTexture | ( | ) |
bool Kudan.AR.ITracker.InitPlugin | ( | ) |
Initialisess the plugin.
true
, if plugin was initialised, false
otherwise.Implemented in Kudan.AR.TrackerBase, and Kudan.AR.Tracker.
bool Kudan.AR.ITracker.IsTrackingRunning | ( | ) |
Determines whether tracking is running.
true
if tracking is running; otherwise, false
.Implemented in Kudan.AR.TrackerBase.
void Kudan.AR.ITracker.RemoveTrackable | ( | string | name | ) |
void Kudan.AR.ITracker.SetupRenderingCamera | ( | float | cameraNearPlane, |
float | cameraFarPlane | ||
) |
Sets up the rendering camera.
cameraNearPlane | Camera near plane. |
cameraFarPlane | Camera far plane. |
Implemented in Kudan.AR.TrackerBase.
bool Kudan.AR.ITracker.StartInputFromCamera | ( | int | deviceIndex, |
int | targetWidth, | ||
int | targetHeight | ||
) |
Starts the input from a given camera device.
true
, if input from camera was started, false
otherwise.deviceIndex | Device index. |
targetWidth | Target width. |
targetHeight | Target height. |
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
bool Kudan.AR.ITracker.StartInputFromImage | ( | Texture2D | image | ) |
Starts the input from a given image.
true
, if input from image was started, false
otherwise.image | Image. |
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
void Kudan.AR.ITracker.StartTracking | ( | ) |
Starts tracking.
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
void Kudan.AR.ITracker.StopInput | ( | ) |
Stops all input.
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
void Kudan.AR.ITracker.StopTracking | ( | ) |
Stops tracking.
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
void Kudan.AR.ITracker.updateCam | ( | ) |
Updates the camera.
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.
void Kudan.AR.ITracker.UpdateTracking | ( | ) |
Updates tracking.
Implemented in Kudan.AR.Tracker, and Kudan.AR.TrackerBase.