All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Modules Pages
Loading...
Searching...
No Matches
ObserverFactory Class Reference

Provides methods to create Vuforia tracked targets. More...

Inheritance diagram for ObserverFactory:

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< AreaTargetBehaviourCreateAreaTargetAsync (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< AreaTargetBehaviourCreateAreaTargetAsync (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< ObserverBehaviourCreateBehavioursFromDatabase (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< CylinderTargetBehaviourCreateCylinderTargetAsync (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< ImageTargetBehaviourCreateImageTargetAsync (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< ImageTargetBehaviourCreateImageTargetAsync (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< ImageTargetBehaviourCreateImageTargetAsync (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< ImageTargetBehaviourCreateImageTargetAsync (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< ModelTargetBehaviourCreateModelTargetAsync (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< ModelTargetBehaviourCreateModelTargetAsync (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< MultiTargetBehaviourCreateMultiTargetAsync (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< VuMarkBehaviourCreateVuMarkBehaviourAsync (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 ()
 

Detailed Description

Provides methods to create Vuforia tracked targets.

Member Function Documentation

◆ CreateAnchorBehaviour() [1/2]

AnchorBehaviour CreateAnchorBehaviour ( string name,
HitTestResult hitTestResult )
inline

Creates an Anchor Behaviour on a plane using the location (position/rotation) of a HitTestResult from a previous World.HitTest().

Parameters
nameThe logical name of the anchor. This must be unique among all created anchors.
hitTestResultThe HitTestResult containing the pose at which the anchor will be created on a plane.
Returns
The Anchor Behaviour on the plane at the location of the hit test.

◆ CreateAnchorBehaviour() [2/2]

AnchorBehaviour CreateAnchorBehaviour ( string name,
Vector3 position,
Quaternion rotation )
inline

Creates an Anchor Behaviour in mid air using the transform of the pose (position/rotation) where it should be anchored.

Parameters
nameThe logical name of the anchor. This must be unique among all created anchors.
positionThe position at which the anchor will be created.
rotationThe rotation of the anchor that will be created.
Returns
The Anchor Behaviour at the specified position and rotation.

◆ CreateAreaTarget() [1/2]

AreaTargetBehaviour CreateAreaTarget ( string databasePath,
string targetName,
bool hasOcclusion,
bool hasCollision,
string occlusionModelPath = null,
bool requiresExternalPositions = false )
inline

Creates an Area Target Behaviour from a target stored in a Vuforia database.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
hasOcclusionSets if target will have a runtime occlusion.
hasCollisionSets if target will have a runtime collision.
occlusionModelPathAbsolute path to the '*_occlusion.dt' file. If not set, it will be searched next to the dataset file.
requiresExternalPositionsOptional parameter to force the dataset to require an external position. Useful to optimize large dataset loading behavior
Returns
The Area Target Behaviour created from the specified target.

◆ CreateAreaTarget() [2/2]

AreaTargetBehaviour CreateAreaTarget ( string databasePath,
string targetName,
bool requiresExternalPositions = false )
inline

Creates an Area Target Behaviour from a target stored in a Vuforia database.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
requiresExternalPositionsOptional parameter to force the dataset to require an external position. Useful to optimize large dataset loading behavior
Returns
The Area Target Behaviour created from the specified target.

◆ CreateAreaTargetAsync() [1/2]

async Task< AreaTargetBehaviour > CreateAreaTargetAsync ( string databasePath,
string targetName,
bool hasOcclusion,
bool hasCollision,
string occlusionModelPath = null,
bool requiresExternalPositions = false )
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.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
hasOcclusionSets if target will have a runtime occlusion.
hasCollisionSets if target will have a runtime collision.
occlusionModelPathAbsolute path to the '*_occlusion.dt' file. If not set, it will be searched next to the dataset file.
requiresExternalPositionsOptional parameter to force the dataset to require an external position. Useful to optimize large dataset loading behavior
Returns
The Area Target Behaviour created from the specified target.

◆ CreateAreaTargetAsync() [2/2]

async Task< AreaTargetBehaviour > CreateAreaTargetAsync ( string databasePath,
string targetName,
bool requiresExternalPositions = false )
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.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
requiresExternalPositionsOptional parameter to force the dataset to require an external position. Useful to optimize large dataset loading behavior
Returns
The Area Target Behaviour created from the specified target.

◆ CreateBarcodeBehaviour()

BarcodeBehaviour CreateBarcodeBehaviour ( HashSet< BarcodeBehaviour::BarcodeType > observedTypes,
bool detectMultipleBarcodes )
inline

Creates a Barcode Behaviour.

Parameters
observedTypesThe set of observable Barcode Types.
detectMultipleBarcodesFlag to indicate whether the BarcodeBehaviour should detect multiple Barcodes in parallel.
Returns
The created Barcode Behaviour

◆ CreateBehavioursFromDatabase()

IEnumerable< ObserverBehaviour > CreateBehavioursFromDatabase ( string databasePath)
inline

Creates Behaviours from all observers in a database.

Parameters
databasePathThe path to the XML file of the database for which to load observer Behaviours. Must be either an absolute path or relative to "StreamingAssets".
Returns
A list of Behaviours extracted from the targets in the database.

◆ CreateCloudRecoBehaviour()

CloudRecoBehaviour CreateCloudRecoBehaviour ( string accessKey,
string secretKey )
inline

Creates a Cloud Recognition using auth keys. Then initializes the reco.

Returns
The CloudReco Behaviour from the provided auth keys.

◆ CreateCylinderTarget()

CylinderTargetBehaviour CreateCylinderTarget ( string databasePath,
string targetName )
inline

Creates a Cylinder Target Behaviour from a target stored in a Vuforia database.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
Returns
The Cylinder Target Behaviour created from the specified target.

◆ CreateCylinderTargetAsync()

async Task< CylinderTargetBehaviour > CreateCylinderTargetAsync ( string databasePath,
string targetName )
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.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
Returns
The Cylinder Target Behaviour created from the specified target.

◆ CreateImageTarget() [1/4]

ImageTargetBehaviour CreateImageTarget ( IntPtr texturePointer,
int textureWidth,
int textureHeight,
TextureFormat format,
float widthInMeters,
string targetName )
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.

Parameters
texturePointerPointer to the memory location of the image buffer.
textureWidthThe width of the image in pixels.
textureHeightThe height of the image in pixels.
formatThe texture format of the image.
widthInMetersThe real world width of the target in meters.
targetNameThe name of the resulting target.
Returns
The Image Target Behaviour from the specified image buffer.

◆ CreateImageTarget() [2/4]

ImageTargetBehaviour CreateImageTarget ( string databasePath,
string targetName )
inline

Creates an Image Target Behaviour from a target stored in a Vuforia database.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
Returns
The Image Target Behaviour created from the specified target.

◆ CreateImageTarget() [3/4]

ImageTargetBehaviour CreateImageTarget ( string filePath,
float widthInMeters,
string targetName )
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.

Parameters
filePathThe file path of the image to be used as target. Must be either an absolute path or relative to "StreamingAssets".
widthInMetersThe real world width of the target in meters.
targetNameThe name of the resulting target.
Returns
The Image Target Behaviour from the specified file.

◆ CreateImageTarget() [4/4]

ImageTargetBehaviour CreateImageTarget ( Texture2D texture,
float widthInMeters,
string targetName )
inline

Creates an Image Target from a Unity Texture2D.

Images with width or height bigger than 2048 pixels are not supported.

Parameters
textureThe texture from which the new Image Target is created.
widthInMetersThe real world width of the target in meters.
targetNameThe name of the resulting target.
Returns
The Image Target Behaviour from the specified Unity Texture2D.

◆ CreateImageTargetAsync() [1/4]

async Task< ImageTargetBehaviour > CreateImageTargetAsync ( IntPtr texturePointer,
int textureWidth,
int textureHeight,
TextureFormat format,
float widthInMeters,
string targetName )
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.

Parameters
texturePointerPointer to the memory location of the image buffer.
textureWidthThe width of the image in pixels.
textureHeightThe height of the image in pixels.
formatThe texture format of the image.
widthInMetersThe real world width of the target in meters.
targetNameThe name of the resulting target.
Returns
The Image Target Behaviour from the specified image buffer.

◆ CreateImageTargetAsync() [2/4]

async Task< ImageTargetBehaviour > CreateImageTargetAsync ( string databasePath,
string targetName )
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.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
Returns
The Image Target Behaviour created from the specified target.

◆ CreateImageTargetAsync() [3/4]

async Task< ImageTargetBehaviour > CreateImageTargetAsync ( string filePath,
float widthInMeters,
string targetName )
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.

Parameters
filePathThe file path of the image to be used as target. Must be either an absolute path or relative to "StreamingAssets".
widthInMetersThe real world width of the target in meters.
targetNameThe name of the resulting target.
Returns
The Image Target Behaviour from the specified file.

◆ CreateImageTargetAsync() [4/4]

async Task< ImageTargetBehaviour > CreateImageTargetAsync ( Texture2D texture,
float widthInMeters,
string targetName )
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.

Parameters
textureThe texture from which the new Image Target is created.
widthInMetersThe real world width of the target in meters.
targetNameThe name of the resulting target.
Returns
The Image Target Behaviour from the specified Unity Texture2D.

◆ CreateMeshRenderingBehaviour() [1/2]

GameObject CreateMeshRenderingBehaviour ( CloudAreaTargetBehaviour cloudAreaTargetBehaviour,
Material displayMaterial,
bool hasCollision )
inline

Create a Runtime Mesh Rendering Behaviour for the Area Target.

Parameters
cloudAreaTargetBehaviourThe Area Target whose runtime mesh should be rendered.
displayMaterialThe material used to display the runtime mesh.
hasCollisionFlag to indicate if the runtime meshes should collide with other objects

◆ CreateMeshRenderingBehaviour() [2/2]

GameObject CreateMeshRenderingBehaviour ( CloudAreaTargetBehaviour cloudAreaTargetBehaviour,
Material[] displayMaterials,
bool hasCollision )
inline

Create a Runtime Mesh Rendering Behaviour for the Area Target.

Parameters
cloudAreaTargetBehaviourThe Area Target whose runtime mesh should be rendered.
displayMaterialsThe materials used to display the runtime mesh.
hasCollisionFlag to indicate if the runtime meshes should collide with other objects

◆ CreateModelTarget() [1/2]

ModelTargetBehaviour CreateModelTarget ( string databasePath,
string targetName,
bool hasOcclusion,
bool hasCollision,
TrackingOptimization? trackingOptimization = null,
bool enhanceRuntimeDetection = false )
inline

Creates a Model Target Behaviour from a target stored in a Vuforia database.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
hasOcclusionSets if target will have a runtime occlusion.
hasCollisionSets if target will have a runtime collision.
trackingOptimizationOptionally specify the tracking optimization for the target.
enhanceRuntimeDetectionOptionally enhance detection performance by caching local detection data for the target.
Returns
The Model Target Behaviour created from the specified target.

◆ CreateModelTarget() [2/2]

ModelTargetBehaviour CreateModelTarget ( string databasePath,
string targetName,
TrackingOptimization? trackingOptimization = null,
bool enhanceRuntimeDetection = false )
inline

Creates a Model Target Behaviour from a target stored in a Vuforia database.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
trackingOptimizationOptionally specify the tracking optimization for the target.
enhanceRuntimeDetectionOptionally enhance detection performance by caching local detection data for the target.
Returns
The Model Target Behaviour created from the specified target.

◆ CreateModelTargetAsync() [1/2]

async Task< ModelTargetBehaviour > CreateModelTargetAsync ( string databasePath,
string targetName,
bool hasOcclusion,
bool hasCollision,
TrackingOptimization? trackingOptimization = null,
bool enhanceRuntimeDetection = false )
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.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
hasOcclusionSets if target will have a runtime occlusion.
hasCollisionSets if target will have a runtime collision.
trackingOptimizationOptionally specify the tracking optimization for the target.
enhanceRuntimeDetectionOptionally enhance detection performance by caching local detection data for the target.
Returns
The Model Target Behaviour created from the specified target.

◆ CreateModelTargetAsync() [2/2]

Task< ModelTargetBehaviour > CreateModelTargetAsync ( string databasePath,
string targetName,
TrackingOptimization? trackingOptimization = null,
bool enhanceRuntimeDetection = false )
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.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
trackingOptimizationOptionally specify the tracking optimization for the target.
enhanceRuntimeDetectionOptionally enhance detection performance by caching local detection data for the target.
Returns
The Model Target Behaviour created from the specified target.

◆ CreateMultiTarget()

MultiTargetBehaviour CreateMultiTarget ( string databasePath,
string targetName )
inline

Creates a Multi Target Behaviour from a target stored in a Vuforia database.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
Returns
The Multi Target Behaviour created from the specified target.

◆ CreateMultiTargetAsync()

async Task< MultiTargetBehaviour > CreateMultiTargetAsync ( string databasePath,
string targetName )
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.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
Returns
The Multi Target Behaviour created from the specified target.

◆ CreateRuntimeMeshRenderingBehaviour() [1/4]

GameObject CreateRuntimeMeshRenderingBehaviour ( AreaTargetCaptureBehaviour areaTargetCaptureBehaviour,
Material displayMaterial,
bool hasCollision )
inline

Create a Runtime Mesh Rendering Behaviour for the Area Target Capture Behaviour.

Parameters
areaTargetCaptureBehaviourThe Area Target Capture whose runtime mesh should be rendered.
displayMaterialThe material used to display the runtime mesh.
hasCollisionFlag to indicate if the runtime meshes should collide with other objects

◆ CreateRuntimeMeshRenderingBehaviour() [2/4]

GameObject CreateRuntimeMeshRenderingBehaviour ( AreaTargetCaptureBehaviour areaTargetCaptureBehaviour,
Material[] displayMaterials,
bool hasCollision )
inline

Create a Runtime Mesh Rendering Behaviour for the Area Target Capture Behaviour.

Parameters
areaTargetCaptureBehaviourThe Area Target Capture whose runtime mesh should be rendered.
displayMaterialsThe materials used to display the runtime mesh.
hasCollisionFlag to indicate if the runtime meshes should collide with other objects

◆ CreateRuntimeMeshRenderingBehaviour() [3/4]

GameObject CreateRuntimeMeshRenderingBehaviour ( ModelTargetBehaviour modelTargetBehaviour,
Material displayMaterial )
inline

Create a Runtime Mesh Behaviour for the Model Target.

Parameters
modelTargetBehaviourThe Model Target whose runtime mesh should be rendered.
displayMaterialThe material used to display the runtime mesh.

◆ CreateRuntimeMeshRenderingBehaviour() [4/4]

GameObject CreateRuntimeMeshRenderingBehaviour ( ModelTargetBehaviour modelTargetBehaviour,
Material[] displayMaterials )
inline

Create a Runtime Mesh Behaviour for the Model Target.

Parameters
modelTargetBehaviourThe Model Target whose runtime mesh should be rendered.
displayMaterialsThe materials used to display the runtime mesh.

◆ CreateRuntimeMeshRenderingBehaviour< T >() [1/2]

GameObject CreateRuntimeMeshRenderingBehaviour< T > ( T areaTargetBehaviour,
Material displayMaterial,
bool hasCollision )
inline

Create a Runtime Mesh Rendering Behaviour for the Area Target.

Parameters
areaTargetBehaviourThe Area Target whose runtime mesh should be rendered.
displayMaterialThe material used to display the runtime mesh.
hasCollisionFlag to indicate if the runtime meshes should collide with other objects
Type Constraints
T :AreaTargetBehaviour 

◆ CreateRuntimeMeshRenderingBehaviour< T >() [2/2]

GameObject CreateRuntimeMeshRenderingBehaviour< T > ( T areaTargetBehaviour,
Material[] displayMaterials,
bool hasCollision )
inline

Create a Runtime Mesh Rendering Behaviour for the Area Target.

Parameters
areaTargetBehaviourThe Area Target whose runtime mesh should be rendered.
displayMaterialsThe materials used to display the runtime mesh.
hasCollisionFlag to indicate if the runtime meshes should collide with other objects
Type Constraints
T :AreaTargetBehaviour 

◆ CreateVuMarkBehaviour()

VuMarkBehaviour CreateVuMarkBehaviour ( string databasePath,
string targetName )
inline

Creates a VuMark Behaviour from a target stored in a Vuforia database.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
Returns
The VuMark Behaviour created from the specified target.

◆ CreateVuMarkBehaviourAsync()

async Task< VuMarkBehaviour > CreateVuMarkBehaviourAsync ( string databasePath,
string targetName )
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.

Parameters
databasePathThe path to the XML file of the database that contains the target. Must be either an absolute path or relative to "StreamingAssets".
targetNameThe name of the target in the database.
Returns
The VuMark Behaviour created from the specified target.

◆ Dispose()

void Dispose ( )
inline