class FGDCurve

in global :: Sandbox

A helper class to handle 'curve' FGD type. TOOD: Get rid of in favor of new curve stuff.


public float Get( float x, bool clamp = True )

The cubic spline function in ranges as defined in Hammer/Asset editor.

public float GetNormalized( float x, bool clamp = True )

The cubic spline function normalized to ranges [0,1] on both input and output.

public Vector2 Mins { get; }

The bottom left corner of the curve. Mins and Maxs represent the range of inputs and outputs of the curve function.

public Vector2 Maxs { get; }

The top right corner of the curve. Mins and Maxs represent the range of inputs and outputs of the curve function.

public bool IsValid { get; }

Whether the curve was loaded correctly or not

public static FGDCurve op_Implicit( string kv3data )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public FGDCurve( string kv3data )

😔 No documentation found.