cocos2d-x  3.0-rc0
 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:
var - init:startVal:endVal:
local - 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: var  type
startVal: var  startVal
endVal: var  endVal 
- (id) init: local  type
startVal: local  startVal
endVal: local  endVal 
- (id) init: (tCDInterpolationType type
startVal: (float)  startVal
endVal: (float)  endVal 
- (id) init: var  type
startVal: var  startVal
endVal: var  endVal 
- (id) init: local  type
startVal: local  startVal
endVal: local  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: var  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: local  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.

- (float) interpolate: var  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: local  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
var lastValue
protected
local lastValue
protected

Property Documentation

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

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