मुख्य कंटेंट तक स्किप करें

Class: NurbsPath2D

This page documents the methods and fields available in the NurbsPath2D class.

Members

SignatureDescription
NurbsPath2D(List<Vector2>)Creates a new instance of NurbsPath2D.
NurbsPath2D(List<Vector2>, boolean)Creates a new instance of NurbsPath2D.
NurbsPath2D(boolean)Creates a new instance of NurbsPath2D.
addPath(List<Vector2>)Adds path to the collection.
addPoint(Vector2)Adds point to the collection.
evaluate(float)Performs the evaluate operation using the provided parameters (u).
evaluate(float, Vector2)Performs the evaluate operation using the provided parameters (u, out).
evaluatePath(int)Performs the evaluatePath operation using the provided parameters (resolution).
evaluatePath(int, List<Vector2>)Performs the evaluatePath operation using the provided parameters (resolution, list).
getPoint(int)Returns the current point.
isContinuous()Returns whether continuous is true.
pointsCount()Performs the pointsCount operation.
removePoint(Vector2)Removes point from the collection.
removePoint(int)Removes point from the collection.
setContinuous(boolean)Sets or updates the continuous.