CraftAR Unity Pro SDK  1.0
Public Member Functions | List of all members
CraftARSDK.CraftARItemEvents Interface Reference

The CraftARItemEvents interface defines the callbacks used by the CraftARSDK to notify the app about CraftARItem related events. More...

Inheritance diagram for CraftARSDK.CraftARItemEvents:
CraftARSDK.CraftARItemEventsWithContentDownload

Public Member Functions

void ItemAdded (CraftARItemAR item)
 The CraftARItemAR 'item' was added for tracking. More...
 
void AddItemError (CraftARItemAR item, CraftARError error)
 Called when an error is produced when adding an ARItem to the scene. More...
 
void TrackingStarted (CraftARItemAR item)
 Called when an ARItem reference image starts to be tracked. More...
 
void TrackingLost (CraftARItemAR item)
 Called when an ARItem reference image tracking is lost. More...
 

Detailed Description

The CraftARItemEvents interface defines the callbacks used by the CraftARSDK to notify the app about CraftARItem related events.

Member Function Documentation

◆ AddItemError()

void CraftARSDK.CraftARItemEvents.AddItemError ( CraftARItemAR  item,
CraftARError  error 
)

Called when an error is produced when adding an ARItem to the scene.

Parameters
itemItem.
errorError.

◆ ItemAdded()

void CraftARSDK.CraftARItemEvents.ItemAdded ( CraftARItemAR  item)

The CraftARItemAR 'item' was added for tracking.

Parameters
itemItem.

◆ TrackingLost()

void CraftARSDK.CraftARItemEvents.TrackingLost ( CraftARItemAR  item)

Called when an ARItem reference image tracking is lost.

Parameters
itemItem.

◆ TrackingStarted()

void CraftARSDK.CraftARItemEvents.TrackingStarted ( CraftARItemAR  item)

Called when an ARItem reference image starts to be tracked.

Parameters
itemItem.

The documentation for this interface was generated from the following file: