Skip to content

Curve:weight

since 1.1.0

Get / Set the weight of the exponent curve.

local weight = curve:weight([weight])

Parameters

Name Type Required Description
weight integer optional

Returns

weight (integer)