public static class
Drawing LineRenderers in the game.
public static void
Summary:
Draws a line from to To in StartColor to EndColor at LineWidth thickness with an Offset in bUseWorldSpace.
Params:
LineRenderer:
The LineRenderer of the GameObject calling this.
From:
The coordinates where the line will originate.
To:
The coordinates where the line will end.
StartColour:
The starting colour gradient for this line.
EndColour:
The ending colour gradient for this line.
LineWidth:
The thickness of this line.
Offset:
The offset to place this line.
Material:
The material used to draw the line.
bUseWorldSpace:
Should this line use world space?
public static void
Summary:
Draws a line from to To in StartColor to EndColor at LineWidth thickness with an Offset in bUseWorldSpace.
Params:
Self:
The GameObject calling this.
From:
The coordinates where the line will originate.
To:
The coordinates where the line will end.
StartColour:
The starting colour gradient for this line.
EndColour:
The ending colour gradient for this line.
LineWidth:
The thickness of this line.
Offset:
The offset to place this line.
bUseWorldSpace:
Should this line use world space?
public static void
Summary:
Draws a circle with a centre at Around at Radius with a LineColour at LineWidth thickness in bUseWorldSpace with NumberOfSegments.
Params:
LineRenderer:
The LineRenderer of the GameObject calling this.
Around:
The centre of the circle to be drawn.
Radius:
The radius of this circle.
LineColour:
The colour of this circle.
LineWidth:
The thickness of this circle.
Material:
The material used to draw the circle.
bUseWorldSpace:
Should this circle use world space?
NumberOfSegments:
The number of vertices of this circle.
public static void
Summary:
Draws a circle with a centre at Around at Radius with a LineColour at LineWidth thickness in bUseWorldSpace with NumberOfSegments.
Params:
Self:
The GameObject calling this.
Around:
The centre of the circle to be drawn.
Radius:
The radius of this circle.
LineColour:
The colour of this circle.
LineWidth:
The thickness of this circle.
bUseWorldSpace:
Should this circle use world space?
NumberOfSegments:
The number of vertices of this circle.