Inherits from OALAction
Declared in OALAudioActions.h

Overview

Moves the target from its current position by the specified delta over time in 3D space.

Tasks

Properties

delta

The amount to move the target by.

@property (readwrite, assign, nonatomic) ALPoint delta

Declared In

OALAudioActions.h

unitsPerSecond

The speed at which to move the target. If this is 0, the target will be moved at the speed determined by duration.

@property (readwrite, assign, nonatomic) float unitsPerSecond

Declared In

OALAudioActions.h

Class Methods

actionWithDuration:delta:

Create a new action.

+ (id)actionWithDuration:(float)duration delta:(ALPoint)delta

Parameters

duration

The duration of the move.

delta

The amount to move by.

Return Value

A new action.

Declared In

OALAudioActions.h

actionWithUnitsPerSecond:delta:

Create a new action.

+ (id)actionWithUnitsPerSecond:(float)unitsPerSecond delta:(ALPoint)delta

Parameters

unitsPerSecond

The rate of movement.

delta

The amount to move by.

Return Value

A new action.

Declared In

OALAudioActions.h

Instance Methods

initWithDuration:delta:

Initialize an action.

- (id)initWithDuration:(float)duration delta:(ALPoint)delta

Parameters

duration

The duration of the move.

delta

The amount to move by.

Return Value

The initialized action.

Declared In

OALAudioActions.h

initWithUnitsPerSecond:delta:

Initialize an action.

- (id)initWithUnitsPerSecond:(float)unitsPerSecond delta:(ALPoint)delta

Parameters

unitsPerSecond

The rate of movement.

delta

The amount to move by.

Return Value

The initialized action.

Declared In

OALAudioActions.h