![]() |
KudanAR - iOS
1.6.0
|
#import <ARModelImporter.h>
Inherits NSObject.
Instance Methods | |
(instancetype) | - initWithPath: |
(instancetype) | - initWithBundled: |
(ARModelNode *) | - getNode |
Properties | |
NSMutableArray * | meshNodes |
The ARModelImporter Class imports 3D models from the binary format. Models must be in the .armodel format. .fbx, .obj and .dae model files can be converted to .armodel via the Kudan AR Toolkit, available at https://www.kudan.eu/download-kudan-ar-sdk/.
- (ARModelNode *) getNode |
Gets the node representing the model imported from the .armodel file. If all textures from the model are included in the main bundle, they will automatically be applied to the model's meshes.
Example of use:
- (instancetype) initWithBundled: | (NSString *) | file |
Initialises the importer with a .armodel file located in the app bundle. The file path is relative to the app bundle.
Example of use:
path | The filename relative to the app's main bundle, including file extension. |
- (instancetype) initWithPath: | (NSString *) | path |
Initialises the importer with a full path name pointing to a .armodel file. The file path is absolute.
Example of use:
path | The full pathname of the model file's location, including file extension. |
|
readwriteatomicassign |
The complete array of all ARMeshNodes imported from the model file.