LineRenderer

Description

A LineRenderer OverNode is used to draw free-floating lines in a 3D space, by interacting with the Unity LineRenderer Component.

LineRenderer Exposer

This node is used to expose the parameters and attributes of a given input Unity LineRenderer component, which are:

NameTypeDescription

Ref

A reference of the input Unity LineRenderer Component

Start Color

Color

The color at the start of the line

End Color

Color

The color at the end of the line

Start Width

Float

The line width at the start of the line

End Width

Float

The line width at the end of the line

Loop

Boolean

Connect the start and end positions of the line together to form a continuous loop

Position Count

Integer

The number of vertices of the line

Material

The first instantiated material assigned to the line renderer

Shared Material

The shared material of this object

Handlers

Set Color

This node is used to modify an existing Line Renderer Component, by setting a new Color. A Position can be selected to instruct the node either to set the start or the end colour.

This Flow Node accepts the following input data:

NameTypeDescription

Line Renderer

A reference of the input Unity Line Renderer Component

Color

Color

Color to set

Position

Enum

Either Start or End

and produces the following output data:

NameTypeDescription

Output

A reference of the modified Unity Renderer Component

Set Width

This node is used to modify an existing Line Renderer Component, by setting a new line Width. A Position can be selected to instruct the node either to set the start or the end line width.

This Flow Node accepts the following input data:

NameTypeDescription

Line Renderer

A reference of the input Unity Line Renderer Component

Width

Float

Width of the line to set

Position

Enum

Either Start or End

and produces the following output data:

NameTypeDescription

Output

A reference of the modified Unity Renderer Component

Set Loop

This node is used to modify an existing Line Renderer Component, by editing the loop property of the line.

This Flow Node accepts the following input data:

NameTypeDescription

Line Renderer

A reference of the input Unity Line Renderer Component

Loop

Bool

This value determines if the line will loop or not

and produces the following output data:

NameTypeDescription

Output

A reference of the modified Unity Renderer Component

Set Position Count

This node is used to modify an existing Line Renderer Component, by editing the number of vertices contained in the line.

This Flow Node accepts the following input data:

NameTypeDescription

Line Renderer

A reference of the input Unity Line Renderer Component

Position Count

Integer

This value determines how many vertices the line will contain

and produces the following output data:

NameTypeDescription

Output

A reference of the modified Unity Renderer Component

Set Material

This node is used to modify an existing Line Renderer Component, by setting a new Material. A Material Type can be selected to instruct the node either to set the Shared Material or not.

This Flow Node accepts the following input data:

NameTypeDescription

Line Renderer

A reference of the input Unity Renderer Component

Material

Material to be set

Material Type

Enum

Either New or Shared

and produces the following output data:

NameTypeDescription

Output

A reference of the modified Unity Renderer Component

Set Position

This node is used to modify an existing Line Renderer Component, by editing the Position value of one of its vertices.

This Flow Node accepts the following input data:

NameTypeDescription

Line Renderer

A reference of the input Unity Renderer Component

Index

Integer

Index value of the vertex to edit

Position

Vector3

New vertex position

and produces the following output data:

NameTypeDescription

Output

A reference of the modified Unity Renderer Component

Last updated