Extends CC3BMFontConfiguration to support cocos3d functionality. More...
#import <CC3CC2Extensions.h>
Public Member Functions | |
(ccBMFontDef *) | - characterSpecFor: |
(NSInteger) | - kerningBetween:and: |
Static Public Member Functions | |
(void) | + clearFontConfigurations |
(id) | + configurationFromFontFile: |
Extends CC3BMFontConfiguration to support cocos3d functionality.
- (ccBMFontDef*) characterSpecFor: | (unichar) | c |
Returns a pointer to the specification of the specified character.
+ (void) clearFontConfigurations |
Clears all cached font configurations to conserve memory.
+ (id) configurationFromFontFile: | (NSString *) | fontFile |
Returns an instance loaded from the specified bitmap font definition file.
This implementation maintains a cache so that each file is only loaded once.
- (NSInteger) kerningBetween: | (unichar) | firstChar | |
and: | (unichar) | secondChar | |
Returns the amount of kerning required when the specified second character follows the first character in a line of text.