Godot Nature of Code  1.2.0
Nature of Code implemented in Godot Engine
Public Member Functions | Public Attributes | List of all members
Drawing.SimpleTrail Class Reference

Simple trail drawing. More...

Inherits Line2D.

Public Member Functions

 SimpleTrail ()
 Create a simple purple trail with a 2.5px width. More...
 

Public Attributes

int PointCount = 50
 Point count More...
 
Color TrailColor = Colors.Purple
 Trail color More...
 
Node2D Target
 Target node More...
 

Detailed Description

Simple trail drawing.

Definition at line 8 of file SimpleTrail.cs.

Constructor & Destructor Documentation

◆ SimpleTrail()

Drawing.SimpleTrail.SimpleTrail ( )
inline

Create a simple purple trail with a 2.5px width.

Definition at line 22 of file SimpleTrail.cs.

23  {
24  Width = 2.5f;
25  }

Member Data Documentation

◆ PointCount

int Drawing.SimpleTrail.PointCount = 50

Point count

Definition at line 11 of file SimpleTrail.cs.

◆ Target

Node2D Drawing.SimpleTrail.Target

Target node

Definition at line 17 of file SimpleTrail.cs.

◆ TrailColor

Color Drawing.SimpleTrail.TrailColor = Colors.Purple

Trail color

Definition at line 14 of file SimpleTrail.cs.


The documentation for this class was generated from the following file: