cocos2d-x  3.3
 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:
 
(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
 
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
- (Class) _allowableType
- (float) _getTargetProperty
- (float) _getTargetProperty
- (void) _setTargetProperty: (float)  newVal
- (void) _setTargetProperty: (float)  newVal
- (void) _stopTarget
- (void) _stopTarget
- (id) init: (id theTarget
interpolationType: (tCDInterpolationType type
startVal: (float)  startVal
endVal: (float)  endVal 
- (id) init: (id theTarget
interpolationType: (tCDInterpolationType type
startVal: (float)  startVal
endVal: (float)  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: (float)  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
- (id) target
protected

Property Documentation

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

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