|
float | startValue |
| The value that the property in the target will hold at the start of the action. More...
|
|
float | endValue |
| The value that the property in the target will hold at the end of the action. More...
|
|
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...
|
|
+ (id) actionWithDuration: |
|
(float) |
duration |
propertyKey: |
|
(NSString*) |
propertyKey |
endValue: |
|
(float) |
endValue |
|
|
| |
Create a new action using the default function.
The start value will be the current value of the target this action is applied to.
- Parameters
-
duration | The duration of this action in seconds. |
propertyKey | The property to modify. |
endValue | The "ending" value that this action will converge upon when setting the target's property. |
- Returns
- A new action.
+ (id) actionWithDuration: |
|
(float) |
duration |
propertyKey: |
|
(NSString*) |
propertyKey |
startValue: |
|
(float) |
startValue |
endValue: |
|
(float) |
endValue |
|
|
| |
Create a new action.
- Parameters
-
duration | The duration of this action in seconds. |
propertyKey | The property to modify. |
startValue | The "starting" value that this action will diverge from when setting the target's property. If NAN, use the current value from the target. |
endValue | The "ending" value that this action will converge upon when setting the target's property. |
- Returns
- A new action.
- (id) initWithDuration: |
|
(float) |
duration |
propertyKey: |
|
(NSString*) |
propertyKey |
endValue: |
|
(float) |
endValue |
|
|
| |
Initialize an action using the default function.
The start value will be the current value of the target this action is applied to.
- Parameters
-
duration | The duration of this action in seconds. |
propertyKey | The property to modify. |
endValue | The "ending" value that this action will converge upon when setting the target's property. |
- Returns
- The initialized action.
- (id) initWithDuration: |
|
(float) |
duration |
propertyKey: |
|
(NSString*) |
propertyKey |
startValue: |
|
(float) |
startValue |
endValue: |
|
(float) |
endValue |
|
|
| |
Initialize an action.
- Parameters
-
duration | The duration of this action in seconds. |
propertyKey | The property to modify. |
startValue | The "starting" value that this action will diverge from when setting the target's property. If NAN, use the current value from the target. |
endValue | The "ending" value that this action will converge upon when setting the target's property. |
- Returns
- The initialized action.
The value that the property in the target will hold at the end of the action.
The value that the property in the target will hold at the start of the action.
The documentation for this class was generated from the following files: