Skip to main content

Curve

Complete API reference for Curve, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Vector

Component: no


public class Curve

Constructors

SignatureDescription
Curve(Curve)Executes Curve and returns after the underlying engine call finishes.
Curve()Executes Curve and returns after the underlying engine call finishes.

Attributes

NameTypeDescription
instanceCurveRepresents the instance value stored on this instance. Read or assign to update the property.

Methods

SignatureReturnsDescription
addPoint(float, float)voidAdds point to the collection.
setPoint(int, float, float)voidSets or updates the point.
pointAt(int)Vector2Performs the pointAt operation using the provided parameters (idx).
pointAt(int, Vector2)Vector2Performs the pointAt operation using the provided parameters (idx, out).
clear()voidClears or resets the object's state.
pointsCount()intExecutes pointsCount and returns after the underlying engine call finishes.
evaluate(float)floatPerforms the evaluate operation using the provided parameters (x).
apply()voidExecutes apply and returns after the underlying engine call finishes.
getWrapMode()WrapModeReturns the current wrap mode.
setWrapMode(WrapMode)voidSets or updates the wrap mode.
toJson()StringExecutes toJson and returns after the underlying engine call finishes.
fromJson(String)CurvePerforms the fromJson operation using the provided parameters (json).

Static Methods

SignatureReturnsDescription
genericInterface()GenericClassInspectorEntryExecutes genericInterface and returns after the underlying engine call finishes.
inspectorController()ClassInspectorEntryExecutes inspectorController and returns after the underlying engine call finishes.