Click or drag to resize

PathGenerator Class

Utility class to assist in generating curves, splines, etc.
Inheritance Hierarchy
SystemObject
  DigitalRuby.FastLineRendererPathGenerator

Namespace:  DigitalRuby.FastLineRenderer
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static class PathGenerator

The PathGenerator type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateCurve
Create a quad/bezier curve that curves using two control points from start to end.
Public methodStatic memberCreateSpline
Creates a spline path that curves around points in a list.
Public methodStatic memberCreateSplineWithSegmentDistance
Creates a spline path that curves around points in a list. This tries to maintain a similar distance between spline segments, regardless of distance between the initial points.
Public methodStatic memberSquareRoot
Compute square root, can be changed using USE_MATH_SQUARE_ROOT or USE_QUAKE_SQUARE_ROOT or neither
Top
Fields
  NameDescription
Public fieldStatic memberIs2D
Whether paths are working in 2D or 3D space
Top
See Also