Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB


Brian H. MAyo Nov 08, 2017

What is the CraftARItemAR.referenceSize to provide?

This is a property on the CraftARItemAR, which can only have one reference image loaded in the CraftAR site. It returns a CGSize structure, which is width and height. I have an AR image loaded that is used for image recognition and AR. When I get a good search result and query the CraftARItemAR for that property, it always comes back as 0,0 (width and height as zero).

( Agent )
Luis Martinell

Nov 08, 2017

This is used by the SDK to properly scale the AR contents when rendering them. It is not initialized until the tracking of the AR item has started and the Item’s contents get loaded.

Best regards,

0 rated

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Couldn't find what you were looking for?
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found