cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CDPropertyModifier Class Reference

Base class for classes that modify properties such as pitch, pan and gain. More...

#import <CocosDenshion.h>

Inheritance diagram for CDPropertyModifier:
CDLongAudioSourceFader CDLongAudioSourceFader CDSoundEngineFader CDSoundEngineFader CDSoundSourceFader CDSoundSourceFader CDSoundSourcePanner CDSoundSourcePanner CDSoundSourcePitchBender CDSoundSourcePitchBender

Instance Methods

(id) - init:interpolationType:startVal:endVal:
(void) - modify:
 Set to a fractional value between 0 and 1 where 0 equals the start and 1 equals the end. More...
 
(void) - _setTargetProperty:
var - _setTargetProperty:
local - _setTargetProperty:
(float) - _getTargetProperty
(void) - _stopTarget
(Class) - _allowableType
(id) - init:interpolationType:startVal:endVal:
(void) - modify:
 Set to a fractional value between 0 and 1 where 0 equals the start and 1 equals the end. More...
 
(void) - _setTargetProperty:
(float) - _getTargetProperty
(void) - _stopTarget
(Class) - _allowableType

Protected Attributes

CDFloatInterpolatorinterpolator
var interpolator
local interpolator
id target

Properties

BOOL stopTargetWhenComplete
float startValue
float endValue
tCDInterpolationType interpolationType

Detailed Description

Base class for classes that modify properties such as pitch, pan and gain.

Method Documentation

- (Class) _allowableType
var _allowableType
local _allowableType
- (Class) _allowableType
var _allowableType
local _allowableType
- (float) _getTargetProperty
var _getTargetProperty
local _getTargetProperty
- (float) _getTargetProperty
var _getTargetProperty
local _getTargetProperty
- (void) _setTargetProperty: (float)  newVal
- (void) _setTargetProperty: var  newVal
- (void) _setTargetProperty: local  newVal
- (void) _setTargetProperty: (float)  newVal
- (void) _setTargetProperty: var  newVal
- (void) _setTargetProperty: local  newVal
- (void) _stopTarget
var _stopTarget
local _stopTarget
- (void) _stopTarget
var _stopTarget
local _stopTarget
- (id) init: (id)  theTarget
interpolationType: (tCDInterpolationType type
startVal: (float)  startVal
endVal: (float)  endVal 
- (id) init: var  theTarget
interpolationType: var  type
startVal: var  startVal
endVal: var  endVal 
- (id) init: local  theTarget
interpolationType: local  type
startVal: local  startVal
endVal: local  endVal 
- (id) init: (id)  theTarget
interpolationType: (tCDInterpolationType type
startVal: (float)  startVal
endVal: (float)  endVal 
- (id) init: var  theTarget
interpolationType: var  type
startVal: var  startVal
endVal: var  endVal 
- (id) init: local  theTarget
interpolationType: local  type
startVal: local  startVal
endVal: local  endVal 
- (void) modify: (float)  t

Set to a fractional value between 0 and 1 where 0 equals the start and 1 equals the end.

- (void) modify: var  t

Set to a fractional value between 0 and 1 where 0 equals the start and 1 equals the end.

- (void) modify: local  t

Set to a fractional value between 0 and 1 where 0 equals the start and 1 equals the end.

- (void) modify: (float)  t

Set to a fractional value between 0 and 1 where 0 equals the start and 1 equals the end.

- (void) modify: var  t

Set to a fractional value between 0 and 1 where 0 equals the start and 1 equals the end.

- (void) modify: local  t

Set to a fractional value between 0 and 1 where 0 equals the start and 1 equals the end.

Member Data Documentation

- (CDFloatInterpolator
*) interpolator
protected
var interpolator
protected
local interpolator
protected
- (id) target
protected
var target
protected
local target
protected

Property Documentation

- (float) endValue
readwritenonatomicassign
var endValue
readwritenonatomicassign
local endValue
readwritenonatomicassign
- (tCDInterpolationType)
interpolationType
readwritenonatomicassign
var interpolationType
readwritenonatomicassign
local interpolationType
readwritenonatomicassign
- (float) startValue
readwritenonatomicassign
var startValue
readwritenonatomicassign
local startValue
readwritenonatomicassign
- (BOOL) stopTargetWhenComplete
readwritenonatomicassign
var stopTargetWhenComplete
readwritenonatomicassign
local stopTargetWhenComplete
readwritenonatomicassign

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