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

Instance Methods |
|
(id) | - initWithModelNamed:ofType: |
(id) | - initWithModelNamed:ofType:andTextures: |
(id) | - initWithModelFromUrl:andMtlUrl:andTextures: |
(void) | - cancelModeLoad |
![]() |
Additional Inherited Members |
|
![]() |
Detailed Description
Load a 3d model into the scene on top of the tracked reference.
- Note
- 3d Models are loaded using Assimp Model Loader, for supported formats see http://assimp.sourceforge.net/main_features_formats.html
- model animations are supported.
Method Documentation
- (void) cancelModeLoad |
Cancel model download to speed up its removal
- (id) initWithModelFromUrl: | (NSURL *) | modelURL | |
andMtlUrl: | (NSURL *) | mtlURL | |
andTextures: | (NSDictionary *) | textures | |
Load model from a url using the specified textures.
- Parameters
-
modelURL URL of the model to load. textures dictionary containing NSStrings keys and values for the models textures. Keys identify the texture inside the model file (name or path). Values specify the local or remote url where the actual texture image has to be loaded from.
- (id) initWithModelNamed: | (NSString *) | modelName | |
ofType: | (NSString *) | type | |
Load model from the main bundle.
- Parameters
-
modelName Name of the model to load. type Type of the model.
- (id) initWithModelNamed: | (NSString *) | modelName | |
ofType: | (NSString *) | type | |
andTextures: | (NSDictionary *) | textures | |
Load model from the main bundle using the specified textures.
- Parameters
-
modelName Name of the model to load. type Type of the model. textures dictionary containing NSStrings keys and values for the models textures. Keys identify the texture inside the model file (name or path). Values specify the local or remote url where the actual texture image has to be loaded from.
The documentation for this class was generated from the following file:
- CraftARProSDK.framework/Headers/CraftARTrackingContent3dModel.h