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

Curve curve

  • void set_curve ( Curve value )

  • Curve get_curve ( )

The Curve that is rendered onto the texture.


int width = 2048

  • void set_width ( int value )

  • int 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.