W3cubDocs

/Godot 3.1

CurveTexture

Inherits: Texture < Resource < Reference < Object

Category: Core

Brief Description

A texture that shows a curve.

Properties

Curve curve
int width

Description

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

Property Descriptions

Curve curve

Setter set_curve(value)
Getter get_curve()

The curve rendered onto the texture.

int width

Setter set_width(value)
Getter get_width()

The width of the texture.

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