Provides methods to create Vuforia tracked targets More...
Public Member Functions | |
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. More... | |
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(). More... | |
AreaTargetBehaviour | CreateAreaTarget (string databasePath, string targetName, bool requiresExternalPositions=false) |
Creates an Area Target Behaviour from a target stored in a Vuforia database. More... | |
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. More... | |
BarcodeBehaviour | CreateBarcodeBehaviour (HashSet< BarcodeBehaviour.BarcodeType > observedTypes, bool detectMultipleBarcodes) |
Creates a Barcode Behaviour More... | |
IEnumerable< ObserverBehaviour > | CreateBehavioursFromDatabase (string databasePath) |
Creates Behaviours from all observers in a database. More... | |
CloudRecoBehaviour | CreateCloudRecoBehaviour (string accessKey, string secretKey) |
Creates a Cloud Recognition using auth keys. Then initializes the reco. More... | |
CylinderTargetBehaviour | CreateCylinderTarget (string databasePath, string targetName) |
Creates a Cylinder Target Behaviour from a target stored in a Vuforia database. More... | |
ImageTargetBehaviour | CreateImageTarget (string databasePath, string targetName) |
Creates an Image Target Behaviour from a target stored in a Vuforia database. More... | |
ImageTargetBehaviour | CreateImageTarget (string filePath, float widthInMeters, string targetName) |
Creates an Image Target from a path to a Unity Texture file. More... | |
ImageTargetBehaviour | CreateImageTarget (Texture2D texture, float widthInMeters, string targetName) |
Creates an Image Target from a Unity Texture2D. More... | |
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. More... | |
ModelTargetBehaviour | CreateModelTarget (string databasePath, string targetName, TrackingOptimization? trackingOptimization=null) |
Creates a Model Target Behaviour from a target stored in a Vuforia database. More... | |
ModelTargetBehaviour | CreateModelTarget (string databasePath, string targetName, bool hasOcclusion, bool hasCollision, TrackingOptimization? trackingOptimization=null) |
Creates a Model Target Behaviour from a target stored in a Vuforia database. More... | |
MultiTargetBehaviour | CreateMultiTarget (string databasePath, string targetName) |
Creates a Multi Target Behaviour from a target stored in a Vuforia database. More... | |
GameObject | CreateRuntimeMeshRenderingBehaviour (ModelTargetBehaviour modelTargetBehaviour, Material displayMaterial) |
Create a Runtime Mesh Behaviour for the Model Target. More... | |
GameObject | CreateRuntimeMeshRenderingBehaviour (AreaTargetBehaviour areaTargetBehaviour, Material displayMaterial, bool hasCollision) |
Create a Runtime Mesh Rendering Behaviour for the Area Target. More... | |
GameObject | CreateRuntimeMeshRenderingBehaviour (AreaTargetCaptureBehaviour areaTargetCaptureBehaviour, Material displayMaterial, bool hasCollision) |
Create a Runtime Mesh Rendering Behaviour for the Area Target Capture Behaviour. More... | |
VuMarkBehaviour | CreateVuMarkBehaviour (string databasePath, string targetName) |
Creates a VuMark Behaviour from a target stored in a Vuforia database. More... | |
Provides methods to create Vuforia tracked targets
|
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 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 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 |
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 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 |
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.
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 |
|
inline |
Create an Image Target using raw image data loaded by functions independent from Vuforia Engine.
Currently only unpadded image sources are correctly 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 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. |
|
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. |
|
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 |
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 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 |
|
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 |
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. |