The CurveRenderer type exposes the following members.
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
Clone |
This method makes sure that a new line is rendered which is not linked to the old curve anymore (allows new settings)
| |
Delete |
Deletes the curve renderer
| |
Redraw |
Redraws the curve
|
Properties
Name | Description | |
---|---|---|
CalculateAccurate |
Wether the line should be renderered accuratly (accurate segment distances)
| |
Curve |
The Curve that will be rendererd with the LineRenderer | |
EnableEditing |
Wether the CurveRenderer should be editable in the editor or not (spline settings, etc)
| |
LineRenderer |
The line renderer used to render the Curve | |
LineSegmentLength |
Defines the lenght of a line segment
| |
TargetWithCurve |
Set this transform if you want to use a curve from another game object (where this curve renderer is not attached)
Useful if you want to render a curve multiple times
if you want to render the curve multiple times but with slight variations
|
See Also