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

Setter set_curve(value)
Getter get_curve()

The curve rendered onto the texture.

int width

Default 2048
Setter set_width(value)
Getter get_width()

The width of the texture.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_curvetexture.html