Class cc.PageTurn3D
- Defined in: CCActionPageTurn3D.js
- Extends cc.Grid3DAction
Constructor Attributes | Constructor Name and Description |
---|---|
This action simulates a page turn from the bottom right hand corner of the screen. |
Method Summary
Class Detail
cc.PageTurn3D()
This action simulates a page turn from the bottom right hand corner of the screen.
It's not much use by itself but is used by the PageTurnTransition.
Based on an original paper by L Hong et al.
http://www.parc.com/publication/1638/turning-pages-of-3d-electronic-books.html
Method Detail
-
create PageTurn3D action
- Parameters:
- {Number} duration
- {cc.Size} gridSize
- Returns:
- {cc.PageTurn3D}
-
update(time)Update each tick
Time is the percentage of the way through the duration- Parameters:
- time