The LineRenderer type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | LineRenderer | Initializes a new instance of the LineRenderer class |
Methods
Name | Description | |
---|---|---|
![]() | Clone |
clones all lines and meshes of the line renderer
|
![]() | Delete |
delete all lines and meshes from the line renderer
|
![]() | UpdateLine |
Updates the line mesh for this line (call this method only after you changed the line!!)
|
Properties
Name | Description | |
---|---|---|
![]() | CalculateTangents |
Wether tangents should be calculated or not (used for shaders) - This leads to slow calculations (if you update the line very often)
|
![]() | LineHeight |
The height of the line (along the local up vector)
|
![]() | LineWidth |
The width of the line (along the local right vector)
|
![]() | Material |
The material to use for the line
|
![]() | PolygonCount |
The polygon count of each segment (4 means rectangular line, 8 or more means circular)
|
![]() | RenderLineEndings |
Wether the line endings should be rendered or not (default=true)
|
See Also