Class CGData
- Namespace
- FluffyUnderware.Curvy.Generator
Data Base class
public class CGData
- Inheritance
-
CGData
- Derived
Fields
Name
public string Name
Field Value
Properties
Count
public virtual int Count { get; }
Property Value
Methods
Clone<T>()
public virtual T Clone<T>() where T : CGData
Returns
- T
Type Parameters
T
Dispose()
Disposes an instance that is no more used, allowing it to free its resources immediately. Dispose is called automatically when an instance is ~CGData()d
public void Dispose()
Dispose(bool)
protected virtual bool Dispose(bool disposing)
Parameters
disposingbool
Returns
~CGData()
protected ~CGData()
getGenericFIndex(SubArray<float>, float, out float)
Searches FMapArray and returns the index that covers the fValue as well as the percentage between index and index+1
protected int getGenericFIndex(SubArray<float> FMapArray, float fValue, out float frag)
Parameters
FMapArraySubArray<float>array of sorted values ranging from 0..1
fValuefloata value 0..1
fragfloatfragment between the resulting and the next index (0..1)
Returns
- int
the index where fValue lies in
Operators
implicit operator bool(CGData)
public static implicit operator bool(CGData a)
Parameters
aCGData