mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2024-11-17 22:17:19 +01:00
26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="CurveTexture" inherits="Texture" version="4.2">
|
|
<brief_description>
|
|
A texture that shows a curve.
|
|
</brief_description>
|
|
<description>
|
|
Renders a given [Curve] provided to it. Simplifies the task of drawing curves and/or saving them as image files.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="curve" type="Curve" setter="set_curve" getter="get_curve">
|
|
The [Curve] that is rendered onto the texture.
|
|
</member>
|
|
<member name="flags" type="int" setter="set_flags" getter="get_flags" overrides="Texture" default="4" />
|
|
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" overrides="Resource" default="false" />
|
|
<member name="width" type="int" setter="set_width" getter="get_width" default="2048">
|
|
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.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|