CraftAR Unity Pro SDK  1.0
Public Types | Public Member Functions | Public Attributes | Protected Attributes | Properties | List of all members
CraftARItem Class Reference

The CraftARItem class encapsulates an Image Recognition Item from the CraftAR service. There are two types of CraftAR Items: More...

Inheritance diagram for CraftARItem:
CraftARItemAR

Public Types

enum  CraftARItemType {
  CraftARItemType.IMAGE_RECOGNITION_ITEM,
  CraftARItemType.AUGMENTED_REALITY_ITEM
}
 

Public Member Functions

 CraftARItem (CraftARItemImplementation item)
 
override string ToString ()
 

Public Attributes

string uuid
 The item's UUID. More...
 
string itemName
 The name of the item. More...
 
string itemUrl
 The item URL. More...
 
string custom
 The custom field, if present. More...
 

Protected Attributes

CraftARItemType itemType
 GameObject Associated to the item (AR items only) More...
 
CraftARItemImplementation itemImplementation
 

Properties

CraftARItemType ItemType [get]
 Gets the type of the item. More...
 
CraftARItemImplementation ItemImplementation [get]
 

Detailed Description

The CraftARItem class encapsulates an Image Recognition Item from the CraftAR service. There are two types of CraftAR Items:

Member Enumeration Documentation

◆ CraftARItemType

Enumerator
IMAGE_RECOGNITION_ITEM 

The Image Recognition Item.

AUGMENTED_REALITY_ITEM 

The Augmented Reality Item

Member Data Documentation

◆ custom

string CraftARItem.custom

The custom field, if present.

◆ itemName

string CraftARItem.itemName

The name of the item.

◆ itemType

CraftARItemType CraftARItem.itemType
protected

GameObject Associated to the item (AR items only)

◆ itemUrl

string CraftARItem.itemUrl

The item URL.

◆ uuid

string CraftARItem.uuid

The item's UUID.

Property Documentation

◆ ItemType

CraftARItemType CraftARItem.ItemType
get

Gets the type of the item.

The type of the item.


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