
A extension to generate a 3d figure of rubiks cube with lots of customizations and methods.
Downloads
625
Views
852
Reactions
0
Docs
| SetDoubleRotationSpeed | number | Sets the rotation speed of a double rotation. This property allows to customize the speed of face turns separately from quarter turns. |
| SetFaceletsBorderColor | number | Sets border color of the facelets in rubik cube. |
| SetBackFacesDistance | number | Sets back faces distance from the cube. Typically, a value smaller than 2 means they won't be visible. |
| SetSingleRotationSpeed |
number |
| Sets the rotation speed of a single rotation. This porperty allows to customize the speed of quarter turn separately from face turns. |
| SetBackgroundColor | number | Sets background colors of the rubik cube view. |
| SetEditable | boolean | Sets if rubiks cube can be changed by user or not. |
| SetCubeColors | list | Sets the list of colors given. |
Stops an in-progress animation. No operation if an animation is not in progress.
Rendering block preview…
Animates in reverse (i.e. with opposite twisting direction) only the previous move from the move sequence. When it has completed, the next one is not automatically started.
Rendering block preview…
Animates only the next move from the move sequence. When it has completed, the next one is not automatically started.
Rendering block preview…
Instantly applies the next move on the cube, without animation.
Rendering block preview…
Instantly applies the whole move sequence in reverse, on the cube, without animation.
Rendering block preview…
Sets the move sequence. Note you still have to use one of the blocks starting with animate.
Rendering block preview…
| sequence | text |
Animates all the moves in the currently set move sequence one move at a time, in reverse (i.e. from end to start with opposite twisting direction).
Rendering block preview…
Instantly applies the whole move sequence on the cube, without animation.
Rendering block preview…
Generates random move sequence according to numOfMoves param to be used in SetMoveSequence.
Rendering block preview…
returnType : text
| numOfMoves | number |
Resets the cube to solved position. Note : this does not include animation.
Rendering block preview…
Restores a cube with string representation generated by the save cube block.
Rendering block preview…
| string | text |
Refreshes the rubiks cube with new properties set.
Rendering block preview…
Animates all the moves in the currently set move sequence one move at a time. When a move has completed, the next one is automatically started.
Rendering block preview…
Instantly applies the previous move on reverse, on the cube, without animation.
Rendering block preview…
Returns a string representation of this cube that can be restored any time by using restore cube block.
Rendering block preview…
returnType : text
Generates random move sequence according to numOfMoves param to be used in SetMoveSequence.
Rendering block preview…
returnType : boolean
Sets up Rubiks cube in a layout with porperties set.
Rendering block preview…
| layout | component |
Triggers when the whole cube is solved.
Rendering block preview…
Triggers when the cube model is changed.
Rendering block preview…
Releases
com.aktech.rubikscube.aix
34 KB
Dec 30, 2021
AIX package
Release notes not provided.