Class: Cube

Cube(target, parameters)

Cube Class

Constructor

new Cube(target, parameters)

Creates an instance of Cube
Parameters:
Name Type Description
target String | Element The element that will contain the Cube
parameters Object Parameters holder
Properties
Name Type Description
ratio Number Ratio at which mousemoves will impact the rotation of the cube
Source:

Members

parent :Element

Cube elements' parent
Type:
  • Element
Source: