Skip to content

Commit 024bd74

Browse files
committed
Update CCTransition.h
Splitting out documentation for incomingDownScale and incomingSceneAnimated so that they wont get lost when the documentation files are generated. Former-commit-id: 5388174
1 parent 3eb9c5a commit 024bd74

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

cocos2d/CCTransition.h

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,17 @@ typedef NS_ENUM(NSInteger, CCTransitionDirection)
6868

6969

7070
/**
71-
* Will downscale incoming and outgoing scene.
71+
* Will downscale outgoing scene.
7272
* Can be used as an effect, or to decrease render time on complex scenes.
7373
* Default 1.0.
7474
*/
7575
@property (nonatomic, assign) float outgoingDownScale;
76+
77+
/**
78+
* Will downscale incoming scene.
79+
* Can be used as an effect, or to decrease render time on complex scenes.
80+
* Default 1.0.
81+
*/
7682
@property (nonatomic, assign) float incomingDownScale;
7783

7884
/**
@@ -89,10 +95,15 @@ typedef NS_ENUM(NSInteger, CCTransitionDirection)
8995
@property (nonatomic, assign) CCTexturePixelFormat transitionPixelFormat;
9096

9197
/**
92-
* Defines whether incoming and outgoing scene will be animated during transition.
98+
* Defines whether outgoing scene will be animated during transition.
9399
* Default NO.
94100
*/
95101
@property (nonatomic, getter = isOutgoingSceneAnimated) BOOL outgoingSceneAnimated;
102+
103+
/**
104+
* Defines whether incoming scene will be animated during transition.
105+
* Default NO.
106+
*/
96107
@property (nonatomic, getter = isIncomingSceneAnimated) BOOL incomingSceneAnimated;
97108

98109
/** The actual transition runtime in seconds. */

0 commit comments

Comments
 (0)