CC3ModelSampleFactory Class Reference
Inherits from | NSObject |
Declared in | CC3ModelSampleFactory.h |
Overview
CC3ModelSampleFactory is a convenience utility for creating sample 3D models for experimentation.
The design pattern is a singleton factory object, with methods for creating instances of various 3D models. Access to the factory instance is through the factory class method.
This class should be considered for testing and experimental use only. Unless you really need teapots in your application, there is no need to include this class, or the teapot.h data header file, in any finished application. Doing so will just bloat the size of the application unnecessarily.
Properties
multicoloredTeapotMesh
An instance of a teapot mesh that includes a vertex color array.
@property (nonatomic, retain, readonly) CC3Mesh *multicoloredTeapotMesh
Declared In
CC3ModelSampleFactory.h
Class Methods
Instance Methods
makeMultiColoredTeapotNamed:
Returns an allocated, initialized, autoreleased instance of a teapot painted with a funky color gradient.
- (CC3MeshNode *)makeMultiColoredTeapotNamed:(NSString *)aName
Declared In
CC3ModelSampleFactory.h