PXC Documentation

PXC Home

Draw Line 2 Points

pre 1.18

Node Data

Display name

Draw Line 2 Points

Internal name

Node_Line_2Points

Inheritances

Node_Line_2Points

Inputs

Output

vec2

Dimension

surface

Bg Surface

Points

enum

Point Mode

vec2

Start Point

vec2

End Point

vec2

Offset

rotation

Direction

float

Distance

Line

bool

1Px Mode

range

Width

toggle

Cap

int

Segment

Rendering

enum

Blend Mode

Colors

gradient

Base Color

gradient

Color Over Length

Texture

surface

Texture

vec2

Uv Position

vec2

Uv Scale

Outputs

surface

Surface Out

Attributes

Color Depth

Draw line between 2 points.



Properties


Points
Point ModeMethod for defining line points:\n - 2 Point: Set point directly. - Start + Offset: Set starting points and offset from that point.\n - Start + Polar: Set starting points and direction/distance from that point.
Line
1Px ModeDraw pixel perfect 1 px width line.
WidthSet width of the line.
CapDraw line cap.
SegmentDivide line to muliple segments. Useful for curved width.



Commit History


1.21.2
  • Introduced

Related Links