Provides methods to create Vuforia tracked targets. More...
Public Member Functions | |
AnchorBehaviour | CreateAnchorBehaviour (string name, HitTestResult hitTestResult) |
Creates an Anchor Behaviour on a plane using the location (position/rotation) of a HitTestResult from a previous World.HitTest(). | |
AnchorBehaviour | CreateAnchorBehaviour (string name, Vector3 position, Quaternion rotation) |
Creates an Anchor Behaviour in mid air using the transform of the pose (position/rotation) where it should be anchored. | |
AreaTargetBehaviour | CreateAreaTarget (string databasePath, string targetName, bool hasOcclusion, bool hasCollision, string occlusionModelPath=null, bool requiresExternalPositions=false) |
Creates an Area Target Behaviour from a target stored in a Vuforia database. | |
AreaTargetBehaviour | CreateAreaTarget (string databasePath, string targetName, bool requiresExternalPositions=false) |
Creates an Area Target Behaviour from a target stored in a Vuforia database. | |
async Task< AreaTargetBehaviour > | CreateAreaTargetAsync (string databasePath, string targetName, bool hasOcclusion, bool hasCollision, string occlusionModelPath=null, bool requiresExternalPositions=false) |
Asynchronously creates an Area Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target. | |
async Task< AreaTargetBehaviour > | CreateAreaTargetAsync (string databasePath, string targetName, bool requiresExternalPositions=false) |
Asynchronously creates an Area Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target. | |
BarcodeBehaviour | CreateBarcodeBehaviour (HashSet< BarcodeBehaviour.BarcodeType > observedTypes, bool detectMultipleBarcodes) |
Creates a Barcode Behaviour. | |
IEnumerable< ObserverBehaviour > | CreateBehavioursFromDatabase (string databasePath) |
Creates Behaviours from all observers in a database. | |
CloudRecoBehaviour | CreateCloudRecoBehaviour (string accessKey, string secretKey) |
Creates a Cloud Recognition using auth keys. Then initializes the reco. | |
CylinderTargetBehaviour | CreateCylinderTarget (string databasePath, string targetName) |
Creates a Cylinder Target Behaviour from a target stored in a Vuforia database. | |
async Task< CylinderTargetBehaviour > | CreateCylinderTargetAsync (string databasePath, string targetName) |
Asynchronously creates a Cylinder Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target. | |
ImageTargetBehaviour | CreateImageTarget (IntPtr texturePointer, int textureWidth, int textureHeight, TextureFormat format, float widthInMeters, string targetName) |
Create an Image Target using raw image data loaded by functions independent from Vuforia Engine. | |
ImageTargetBehaviour | CreateImageTarget (string databasePath, string targetName) |
Creates an Image Target Behaviour from a target stored in a Vuforia database. | |
ImageTargetBehaviour | CreateImageTarget (string filePath, float widthInMeters, string targetName) |
Creates an Image Target from a path to a Unity Texture file. | |
ImageTargetBehaviour | CreateImageTarget (Texture2D texture, float widthInMeters, string targetName) |
Creates an Image Target from a Unity Texture2D. | |
async Task< ImageTargetBehaviour > | CreateImageTargetAsync (IntPtr texturePointer, int textureWidth, int textureHeight, TextureFormat format, float widthInMeters, string targetName) |
Asynchronously create an Image Target using raw image data loaded by functions independent from Vuforia Engine. Use this method to prevent blocking the main thread while loading the target. | |
async Task< ImageTargetBehaviour > | CreateImageTargetAsync (string databasePath, string targetName) |
Asynchronously creates an Image Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target. | |
async Task< ImageTargetBehaviour > | CreateImageTargetAsync (string filePath, float widthInMeters, string targetName) |
Asynchronously creates an Image Target from a path to a Unity Texture file. Use this method to prevent blocking the main thread while loading the target. | |
async Task< ImageTargetBehaviour > | CreateImageTargetAsync (Texture2D texture, float widthInMeters, string targetName) |
Asynchronously creates an Image Target from a Unity Texture2D. Use this method to prevent blocking the main thread while loading the target. | |
GameObject | CreateMeshRenderingBehaviour (CloudAreaTargetBehaviour cloudAreaTargetBehaviour, Material displayMaterial, bool hasCollision) |
Create a Runtime Mesh Rendering Behaviour for the Area Target. | |
GameObject | CreateMeshRenderingBehaviour (CloudAreaTargetBehaviour cloudAreaTargetBehaviour, Material[] displayMaterials, bool hasCollision) |
Create a Runtime Mesh Rendering Behaviour for the Area Target. | |
ModelTargetBehaviour | CreateModelTarget (string databasePath, string targetName, bool hasOcclusion, bool hasCollision, TrackingOptimization? trackingOptimization=null, bool enhanceRuntimeDetection=false) |
Creates a Model Target Behaviour from a target stored in a Vuforia database. | |
ModelTargetBehaviour | CreateModelTarget (string databasePath, string targetName, TrackingOptimization? trackingOptimization=null, bool enhanceRuntimeDetection=false) |
Creates a Model Target Behaviour from a target stored in a Vuforia database. | |
async Task< ModelTargetBehaviour > | CreateModelTargetAsync (string databasePath, string targetName, bool hasOcclusion, bool hasCollision, TrackingOptimization? trackingOptimization=null, bool enhanceRuntimeDetection=false) |
Asynchronously creates a Model Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target. | |
Task< ModelTargetBehaviour > | CreateModelTargetAsync (string databasePath, string targetName, TrackingOptimization? trackingOptimization=null, bool enhanceRuntimeDetection=false) |
Asynchronously creates a Model Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target. | |
MultiTargetBehaviour | CreateMultiTarget (string databasePath, string targetName) |
Creates a Multi Target Behaviour from a target stored in a Vuforia database. | |
async Task< MultiTargetBehaviour > | CreateMultiTargetAsync (string databasePath, string targetName) |
Asynchronously creates a Multi Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target. | |
GameObject | CreateRuntimeMeshRenderingBehaviour (AreaTargetCaptureBehaviour areaTargetCaptureBehaviour, Material displayMaterial, bool hasCollision) |
Create a Runtime Mesh Rendering Behaviour for the Area Target Capture Behaviour. | |
GameObject | CreateRuntimeMeshRenderingBehaviour (AreaTargetCaptureBehaviour areaTargetCaptureBehaviour, Material[] displayMaterials, bool hasCollision) |
Create a Runtime Mesh Rendering Behaviour for the Area Target Capture Behaviour. | |
GameObject | CreateRuntimeMeshRenderingBehaviour (ModelTargetBehaviour modelTargetBehaviour, Material displayMaterial) |
Create a Runtime Mesh Behaviour for the Model Target. | |
GameObject | CreateRuntimeMeshRenderingBehaviour (ModelTargetBehaviour modelTargetBehaviour, Material[] displayMaterials) |
Create a Runtime Mesh Behaviour for the Model Target. | |
GameObject | CreateRuntimeMeshRenderingBehaviour< T > (T areaTargetBehaviour, Material displayMaterial, bool hasCollision) |
Create a Runtime Mesh Rendering Behaviour for the Area Target. | |
GameObject | CreateRuntimeMeshRenderingBehaviour< T > (T areaTargetBehaviour, Material[] displayMaterials, bool hasCollision) |
Create a Runtime Mesh Rendering Behaviour for the Area Target. | |
VuMarkBehaviour | CreateVuMarkBehaviour (string databasePath, string targetName) |
Creates a VuMark Behaviour from a target stored in a Vuforia database. | |
async Task< VuMarkBehaviour > | CreateVuMarkBehaviourAsync (string databasePath, string targetName) |
Asynchronously creates a VuMark Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target. | |
void | Dispose () |
Provides methods to create Vuforia tracked targets.
|
inline |
Creates an Anchor Behaviour on a plane using the location (position/rotation) of a HitTestResult from a previous World.HitTest().
name | The logical name of the anchor. This must be unique among all created anchors. |
hitTestResult | The HitTestResult containing the pose at which the anchor will be created on a plane. |
|
inline |
Creates an Anchor Behaviour in mid air using the transform of the pose (position/rotation) where it should be anchored.
name | The logical name of the anchor. This must be unique among all created anchors. |
position | The position at which the anchor will be created. |
rotation | The rotation of the anchor that will be created. |
|
inline |
Creates an Area Target Behaviour from a target stored in a Vuforia database.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
hasOcclusion | Sets if target will have a runtime occlusion. |
hasCollision | Sets if target will have a runtime collision. |
occlusionModelPath | Absolute path to the '*_occlusion.dt' file. If not set, it will be searched next to the dataset file. |
requiresExternalPositions | Optional parameter to force the dataset to require an external position. Useful to optimize large dataset loading behavior |
|
inline |
Creates an Area Target Behaviour from a target stored in a Vuforia database.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
requiresExternalPositions | Optional parameter to force the dataset to require an external position. Useful to optimize large dataset loading behavior |
|
inline |
Asynchronously creates an Area Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
hasOcclusion | Sets if target will have a runtime occlusion. |
hasCollision | Sets if target will have a runtime collision. |
occlusionModelPath | Absolute path to the '*_occlusion.dt' file. If not set, it will be searched next to the dataset file. |
requiresExternalPositions | Optional parameter to force the dataset to require an external position. Useful to optimize large dataset loading behavior |
|
inline |
Asynchronously creates an Area Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
requiresExternalPositions | Optional parameter to force the dataset to require an external position. Useful to optimize large dataset loading behavior |
|
inline |
Creates a Barcode Behaviour.
observedTypes | The set of observable Barcode Types. |
detectMultipleBarcodes | Flag to indicate whether the BarcodeBehaviour should detect multiple Barcodes in parallel. |
|
inline |
Creates Behaviours from all observers in a database.
databasePath | The path to the XML file of the database for which to load observer Behaviours. Must be either an absolute path or relative to "StreamingAssets". |
|
inline |
Creates a Cloud Recognition using auth keys. Then initializes the reco.
|
inline |
Creates a Cylinder Target Behaviour from a target stored in a Vuforia database.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
|
inline |
Asynchronously creates a Cylinder Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
|
inline |
Create an Image Target using raw image data loaded by functions independent from Vuforia Engine.
Currently only unpadded image sources are correctly supported.
Images with width or height bigger than 2048 pixels are not supported.
texturePointer | Pointer to the memory location of the image buffer. |
textureWidth | The width of the image in pixels. |
textureHeight | The height of the image in pixels. |
format | The texture format of the image. |
widthInMeters | The real world width of the target in meters. |
targetName | The name of the resulting target. |
|
inline |
Creates an Image Target Behaviour from a target stored in a Vuforia database.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
|
inline |
Creates an Image Target from a path to a Unity Texture file.
Images with width or height bigger than 2048 pixels are not supported.
filePath | The file path of the image to be used as target. Must be either an absolute path or relative to "StreamingAssets". |
widthInMeters | The real world width of the target in meters. |
targetName | The name of the resulting target. |
|
inline |
Creates an Image Target from a Unity Texture2D.
Images with width or height bigger than 2048 pixels are not supported.
texture | The texture from which the new Image Target is created. |
widthInMeters | The real world width of the target in meters. |
targetName | The name of the resulting target. |
|
inline |
Asynchronously create an Image Target using raw image data loaded by functions independent from Vuforia Engine. Use this method to prevent blocking the main thread while loading the target.
Currently only unpadded image sources are correctly supported.
Images with width or height bigger than 2048 pixels are not supported.
texturePointer | Pointer to the memory location of the image buffer. |
textureWidth | The width of the image in pixels. |
textureHeight | The height of the image in pixels. |
format | The texture format of the image. |
widthInMeters | The real world width of the target in meters. |
targetName | The name of the resulting target. |
|
inline |
Asynchronously creates an Image Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
|
inline |
Asynchronously creates an Image Target from a path to a Unity Texture file. Use this method to prevent blocking the main thread while loading the target.
Images with width or height bigger than 2048 pixels are not supported.
filePath | The file path of the image to be used as target. Must be either an absolute path or relative to "StreamingAssets". |
widthInMeters | The real world width of the target in meters. |
targetName | The name of the resulting target. |
|
inline |
Asynchronously creates an Image Target from a Unity Texture2D. Use this method to prevent blocking the main thread while loading the target.
Images with width or height bigger than 2048 pixels are not supported.
texture | The texture from which the new Image Target is created. |
widthInMeters | The real world width of the target in meters. |
targetName | The name of the resulting target. |
|
inline |
Create a Runtime Mesh Rendering Behaviour for the Area Target.
cloudAreaTargetBehaviour | The Area Target whose runtime mesh should be rendered. |
displayMaterial | The material used to display the runtime mesh. |
hasCollision | Flag to indicate if the runtime meshes should collide with other objects |
|
inline |
Create a Runtime Mesh Rendering Behaviour for the Area Target.
cloudAreaTargetBehaviour | The Area Target whose runtime mesh should be rendered. |
displayMaterials | The materials used to display the runtime mesh. |
hasCollision | Flag to indicate if the runtime meshes should collide with other objects |
|
inline |
Creates a Model Target Behaviour from a target stored in a Vuforia database.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
hasOcclusion | Sets if target will have a runtime occlusion. |
hasCollision | Sets if target will have a runtime collision. |
trackingOptimization | Optionally specify the tracking optimization for the target. |
enhanceRuntimeDetection | Optionally enhance detection performance by caching local detection data for the target. |
|
inline |
Creates a Model Target Behaviour from a target stored in a Vuforia database.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
trackingOptimization | Optionally specify the tracking optimization for the target. |
enhanceRuntimeDetection | Optionally enhance detection performance by caching local detection data for the target. |
|
inline |
Asynchronously creates a Model Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
hasOcclusion | Sets if target will have a runtime occlusion. |
hasCollision | Sets if target will have a runtime collision. |
trackingOptimization | Optionally specify the tracking optimization for the target. |
enhanceRuntimeDetection | Optionally enhance detection performance by caching local detection data for the target. |
|
inline |
Asynchronously creates a Model Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
trackingOptimization | Optionally specify the tracking optimization for the target. |
enhanceRuntimeDetection | Optionally enhance detection performance by caching local detection data for the target. |
|
inline |
Creates a Multi Target Behaviour from a target stored in a Vuforia database.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
|
inline |
Asynchronously creates a Multi Target Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
|
inline |
Create a Runtime Mesh Rendering Behaviour for the Area Target Capture Behaviour.
areaTargetCaptureBehaviour | The Area Target Capture whose runtime mesh should be rendered. |
displayMaterial | The material used to display the runtime mesh. |
hasCollision | Flag to indicate if the runtime meshes should collide with other objects |
|
inline |
Create a Runtime Mesh Rendering Behaviour for the Area Target Capture Behaviour.
areaTargetCaptureBehaviour | The Area Target Capture whose runtime mesh should be rendered. |
displayMaterials | The materials used to display the runtime mesh. |
hasCollision | Flag to indicate if the runtime meshes should collide with other objects |
|
inline |
Create a Runtime Mesh Behaviour for the Model Target.
modelTargetBehaviour | The Model Target whose runtime mesh should be rendered. |
displayMaterial | The material used to display the runtime mesh. |
|
inline |
Create a Runtime Mesh Behaviour for the Model Target.
modelTargetBehaviour | The Model Target whose runtime mesh should be rendered. |
displayMaterials | The materials used to display the runtime mesh. |
|
inline |
Create a Runtime Mesh Rendering Behaviour for the Area Target.
areaTargetBehaviour | The Area Target whose runtime mesh should be rendered. |
displayMaterial | The material used to display the runtime mesh. |
hasCollision | Flag to indicate if the runtime meshes should collide with other objects |
T | : | AreaTargetBehaviour |
|
inline |
Create a Runtime Mesh Rendering Behaviour for the Area Target.
areaTargetBehaviour | The Area Target whose runtime mesh should be rendered. |
displayMaterials | The materials used to display the runtime mesh. |
hasCollision | Flag to indicate if the runtime meshes should collide with other objects |
T | : | AreaTargetBehaviour |
|
inline |
Creates a VuMark Behaviour from a target stored in a Vuforia database.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
|
inline |
Asynchronously creates a VuMark Behaviour from a target stored in a Vuforia database. Use this method to prevent blocking the main thread while loading the target.
databasePath | The path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets". |
targetName | The name of the target in the database. |
|
inline |