struct

Shale::Gradient

Inherits Struct < Value < Object

Constructors

new(min : Vertex, mid : Vertex, max : Vertex)
Source

Instance methods

one_over_z

getter colour_xstep : Vector4(Float32) getter colour_ystep : Vector4(Float32) getter colours : StaticArray(Vector4(Float32), 3)

Source
one_over_zx_step
Source
one_over_zy_step
Source
tex_coords_x
Source
tex_coords_xx_step
Source
tex_coords_xy_step
Source
tex_coords_y
Source
tex_coords_yx_step
Source
tex_coords_yy_step
Source