CraftARContentFactory Class Reference
#import <CraftARContentFactory.h>
Inheritance diagram for CraftARContentFactory:

Instance Methods |
|
(void) | - setContentClass:fortype: |
(CraftARTrackingContent *) | - contentFromSceneDescriptionItem:withContentVersion:withError: |
Class Methods |
|
(CraftARContentFactory *) | + factory |
(void) | + setFactory: |
Detailed Description
Factory to create CraftAR contents from the scene description of an AR item. This class is abstract.
Method Documentation
+ (CraftARContentFactory*) factory |
Returns the current items factory
- (void) setContentClass: | (id) | contentClass | |
fortype: | (NSString *) | type | |
Set the content class for a specific content type. This is useful for extending contents. You would call it like this: [[CraftARContentFactory factory] setContentClass: [MyCustomImageContent class] fortype: "image_custom"].
- Parameters
-
contentClass Class object for the custom CraftARTrackingContent subclass. tyoe String that identifies a type of content from the CraftAR service or a custom type.
The documentation for this class was generated from the following file:
- CraftARProSDK.framework/Headers/CraftARContentFactory.h