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

Instance Methods |
|
(id) | - initWithImageNamed:ofType: |
(id) | - initWithImageFromURL: |
(id) | - initWithImageNamed:ofType:withColor: |
(id) | - initWithImageFromURL:withColor: |
![]() |
Additional Inherited Members |
|
![]() |
Detailed Description
Provided content that allows to draw an image on top of the reference
Method Documentation
- (id) initWithImageFromURL: | (NSURL *) | imageUrl |
Initialize a image content from a URL.
- Parameters
-
imageURL URL of the image content to load.
- Note
- Content will not be ready until the image has finished downloading.
- (id) initWithImageFromURL: | (NSURL *) | imageUrl | |
withColor: | (UIColor *) | color | |
Initialize a image content from a URL, colorizes the image.
- Parameters
-
imageURL URL of the image content to load. color Image pixels will be multiplied by this color.
- Note
- Content will not be ready until the image has finished downloading.
- (id) initWithImageNamed: | (NSString *) | imageName | |
ofType: | (NSString *) | type | |
Initialize an image content using an image from the main bundle.
- Parameters
-
imageName Name of the image to load. type Extension of the image to load.
- (id) initWithImageNamed: | (NSString *) | imageName | |
ofType: | (NSString *) | type | |
withColor: | (UIColor *) | color | |
Initialize an image content using an image from the main bundle, colorizes the image.
- Parameters
-
imageName Name of the image to load. type Extension of the image to load. color Image pixels will be multiplied by this color.
The documentation for this class was generated from the following file:
- CraftARProSDK.framework/Headers/CraftARTrackingContentImage.h
Comments
0 comments
Article is closed for comments.