CurveTexture

Inherits: Texture < Resource < Reference < Object

A texture that shows a curve.

Description

Renders a given Curve provided to it. Simplifies the task of drawing curves and/or saving them as image files.

Properties

Curve

curve

int

width

2048

Property Descriptions

Setter

set_curve(value)

Getter

get_curve()

The Curve that is rendered onto the texture.


Default

2048

Setter

set_width(value)

Getter

get_width()

The width of the texture (in pixels). Higher values make it possible to represent high-frequency data better (such as sudden direction changes), at the cost of increased generation time and memory usage.