Wikitude Unity Plugin
|
Provides tracking map recording functionality. More...
Inherits MonoBehaviour.
Public Member Functions | |
bool | StartRecording () |
Starts a new 3D tracking map recording session. More... | |
bool | StopRecording () |
Stops an already running 3D tracking map recording session. More... | |
Public Attributes | |
OnRecordingFinishedEvent | OnRecordingFinished = new OnRecordingFinishedEvent() |
Called when recording has successfully finished. More... | |
OnRecordingErrorEvent | OnRecordingError = new OnRecordingErrorEvent() |
Called when recording finished with an error. More... | |
OnRecordingQualityChangedEvent | OnRecordingQualityChanged = new OnRecordingQualityChangedEvent() |
Properties | |
string | TrackingMapName [get, set] |
Name with which the tracking map will be saved when recording is complete. More... | |
bool | IsRecording [get] |
Use this to check if a 3D tracking map recording session is currently running or not. More... | |
Provides tracking map recording functionality.
|
inline |
Starts a new 3D tracking map recording session.
This method returns immediately and starts the recording session in the background.
true
, if recording was started, false
if an error was encountered.
|
inline |
Stops an already running 3D tracking map recording session.
true
, if recording was stoped, false
if an error was encountered.OnRecordingErrorEvent Wikitude.TrackingMapRecorder.OnRecordingError = new OnRecordingErrorEvent() |
Called when recording finished with an error.
error | Description of error. |
OnRecordingFinishedEvent Wikitude.TrackingMapRecorder.OnRecordingFinished = new OnRecordingFinishedEvent() |
Called when recording has successfully finished.
url | Absolute path to the saved .wtm file. |
OnRecordingQualityChangedEvent Wikitude.TrackingMapRecorder.OnRecordingQualityChanged = new OnRecordingQualityChangedEvent() |
Called whenever an active 3d tracking map recording session changes it's quality.
The new recording quality might be worse than the previous one, meaning that a new value doesn't has to be better than a previous one.
newQuality | New quality of recording. |
|
get |
Use this to check if a 3D tracking map recording session is currently running or not.
|
getset |
Name with which the tracking map will be saved when recording is complete.