Companion

object Companion

Properties

Link copied to clipboard

Default color factor offset to make darker or clearer the area of the texture close to the curl. Value must be between 0.0f and 1.0f (both included). The larger the value, the clearer the area will be. The smaller the value, the darker the area will be.

Link copied to clipboard
const val DRAW_CURL_POSITION: Boolean = false

Flag for rendering some lines used for development. Shows curl position and one for the direction from the given position. Comes handy one playing around with different ways for following pointer.

Link copied to clipboard
const val DRAW_POLYGON_OUTLINES: Boolean = false

Flag for drawing polygon outlines. Seeing polygon outlines gives good insight on how original rectangle is divided.

Link copied to clipboard
const val DRAW_SHADOW: Boolean = true

Flag for enabling shadow rendering.

Link copied to clipboard
const val DRAW_TEXTURE: Boolean = true

Flag for texture rendering.

Link copied to clipboard

Inner color for shadow. Inner color is the color drawn next to surface where shadowed area starts.

Link copied to clipboard

Outer color for shadow. Outer color is the color the shadow ends to.