LineRenderer MembersBigBangProductions Easy Curves

The LineRenderer type exposes the following members.
Constructors

  NameDescription
Public methodLineRenderer
Initializes a new instance of the LineRenderer class
Back to Top
Methods

  NameDescription
Public methodClone
clones all lines and meshes of the line renderer
Public methodDelete
delete all lines and meshes from the line renderer
Public methodUpdateLine
Updates the line mesh for this line (call this method only after you changed the line!!)
Back to Top
Properties

  NameDescription
Public propertyCalculateTangents
Wether tangents should be calculated or not (used for shaders) - This leads to slow calculations (if you update the line very often)
Public propertyLineHeight
The height of the line (along the local up vector)
Public propertyLineWidth
The width of the line (along the local right vector)
Public propertyMaterial
The material to use for the line
Public propertyPolygonCount
The polygon count of each segment (4 means rectangular line, 8 or more means circular)
Public propertyRenderLineEndings
Wether the line endings should be rendered or not (default=true)
Back to Top
See Also