[b]Note:[/b] This method mirrors all points around the middle of the gradient, which may produce unexpected results when [member interpolation_mode] is set to [constant GRADIENT_INTERPOLATE_CONSTANT].
</description>
</method>
<methodname="sample">
<returntype="Color"/>
<paramindex="0"name="offset"type="float"/>
<description>
Returns the interpolated color specified by [code]offset[/code].
Returns the interpolated color specified by [param offset].