Class cc.PageTurn3D

Class Summary
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

  • <static> {cc.PageTurn3D} cc.PageTurn3D.create(duration, gridSize)
    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