ModelFile Class Reference
Inherits from | NSObject |
---|---|
Declared in | ModelFile.h ModelFile.m |
Overview
An object that stores the file name, path and subdirectory information for a testable model in the assets directory.
Model file info
file
The file name (including the file format) directory of the model file.
@property (readonly, nonatomic) NSString *file
Discussion
The file name (including the file format) directory of the model file.
Declared In
ModelFile.h
Creating a model file.
– initWithFileName:atPath:inSubDir:
SCN asset filepaths
– getAnimScnAssetFile:
Returns the animation scn asset including file subdirectory and scn extension.
- (NSString *)getAnimScnAssetFile:(NSString *)animFileName
Parameters
animFileName |
The animation file name, usually the key name. |
---|
Return Value
The scn asset filename with .scn extension.
Discussion
Returns the animation scn asset including file subdirectory and scn extension.
Declared In
ModelFile.h