cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CDFloatInterpolator Class Reference

#import <CocosDenshion.h>

Inheritance diagram for CDFloatInterpolator:

Instance Methods

(float) - interpolate:
 Return a value between min and max based on t which represents fractional progress where 0 is the start and 1 is the end. More...
 
(id- init:startVal:endVal:
 
(float) - interpolate:
 Return a value between min and max based on t which represents fractional progress where 0 is the start and 1 is the end. More...
 
(id- init:startVal:endVal:
 

Protected Attributes

float lastValue
 

Properties

float start
 
float end
 
tCDInterpolationType interpolationType
 

Method Documentation

- (id) init: (tCDInterpolationType type
startVal: (float)  startVal
endVal: (float)  endVal 
- (id) init: (tCDInterpolationType type
startVal: (float)  startVal
endVal: (float)  endVal 
- (float) interpolate: (float)  t

Return a value between min and max based on t which represents fractional progress where 0 is the start and 1 is the end.

- (float) interpolate: (float)  t

Return a value between min and max based on t which represents fractional progress where 0 is the start and 1 is the end.

Member Data Documentation

- (float) lastValue
protected

Property Documentation

- (float) end
readwritenonatomicassign
- (tCDInterpolationType) interpolationType
readwritenonatomicassign
- (float) start
readwritenonatomicassign

The documentation for this class was generated from the following file: