Applies an easing function to another action. More...
#import <OALAction.h>
Instance Methods | |
| (id) | - initWithShape:phase:action: |
| Initialize an ease action. More... | |
Instance Methods inherited from OALAction | |
| (id) | - initWithDuration: |
| Initialize an action. More... | |
| (void) | - runWithTarget: |
| Run this action on a target. More... | |
| (void) | - prepareWithTarget: |
| Called by runWithTraget to do any final preparations before running. More... | |
| (void) | - startAction |
| Called by runWithTarget to start the action running. More... | |
| (void) | - updateCompletion: |
| Called by OALActionManager to update this action's progress. More... | |
| (void) | - stopAction |
| Stop this action. More... | |
Class Methods | |
| (OALEaseAction *) | + actionWithShape:phase:action: |
| Create a new ease action. More... | |
| (EaseFunctionPtr) | + easeFunctionForShape:phase: |
| Get a pointer to an ease function of the specified shape and phase. More... | |
Protected Attributes | |
| OALAction * | action_ |
Protected Attributes inherited from OALAction | |
| bool | runningInManager_ |
| If TRUE, this action is running via OALActionManager. More... | |
Additional Inherited Members | |
Properties inherited from OALAction | |
| id | target |
| The target to perform the action on. More... | |
| float | duration |
| The duration of the action, in seconds. More... | |
| float | elapsed |
| The amount of time that has elapsed for this action, in seconds. More... | |
| bool | running |
| If true, the action is currently running. More... | |
Applies an easing function to another action.
Normally, an action progresses at a linear rate. An ease changes that to a curve.
| + (OALEaseAction *) actionWithShape: | (OALEaseShape) | shape | |
| phase: | (OALEasePhase) | phase | |
| action: | (OALAction*) | action | |
Create a new ease action.
| shape | The shape of the curve to apply. |
| phase | What phase of the action to apply the curve to. The action to apple the curve to. |
| + (EaseFunctionPtr) easeFunctionForShape: | (OALEaseShape) | shape | |
| phase: | (OALEasePhase) | phase | |
Get a pointer to an ease function of the specified shape and phase.
| shape | The shape of the curve to apply. |
| phase | What phase of the action to apply the curve to. |
| - (id) initWithShape: | (OALEaseShape) | shape | |
| phase: | (OALEasePhase) | phase | |
| action: | (OALAction*) | action | |
Initialize an ease action.
| shape | The shape of the curve to apply. |
| phase | What phase of the action to apply the curve to. The action to apple the curve to. |
1.8.3.1