beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Cube Op

Ops.Gl.Meshes.Cube


Cube
Namespace: Ops.Gl.Meshes

Op author: pandur

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Gl.Meshes.Cube_v2

draw a cube


summary (oneliner)

Draws a cube to the canvas. Please note that without doing a rotation you will only see a rectangle.



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Executes the op, renders a cube to the canvas.


Geometry

width (Number)

Width of the cube


height (Number)

Height of the cube


length (Number)

Length of the cube


center (boolean /Number)

If set to true, rotations will be done around the cube-center, if false rotations will be done around a corner.


Active (boolean /Number)

Mapping index (integer /Number)

Outputs

trigger (Trigger)

geometry (Object)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

cube example

Open Example In Editor


Examples using Cube ()

Public Patches using Cube ()