DustEngine  0.2.0
DustEngine.CurveField Class Reference
Inheritance diagram for DustEngine.CurveField:
DustEngine.MathField DustEngine.Field DustEngine.DuMonoBehaviour DustEngine.IDynamicState

Public Types

enum class  CurveMode { Clamp = 0 , Loop = 1 , PingPong = 2 }
 

Public Member Functions

override int GetDynamicStateHashCode ()
 
override string FieldName ()
 
override string FieldDynamicHint ()
 
override void Calculate (Field.Point fieldPoint, out Field.Result result, bool calculateColor)
 
- Public Member Functions inherited from DustEngine.MathField
override FieldsMap.FieldRecord.BlendPowerMode GetBlendPowerMode ()
 
override FieldsMap.FieldRecord.BlendColorMode GetBlendColorMode ()
 
override bool IsAllowCalculateFieldColor ()
 

Protected Member Functions

float RecalculateValue (float value)
 
- Protected Member Functions inherited from DustEngine.Field
Color GetFieldColorByPower (Color color, float powerByField)
 
Color GetFieldColorFromRemapping (Remapping remapping, float powerByField, bool calculateColor)
 
Gradient GetFieldColorPreview (Remapping remapping, out float colorPower)
 

Properties

AnimationCurve shape [get, set]
 
float offset [get, set]
 
float animationSpeed [get, set]
 
CurveMode beforeCurve [get, set]
 
CurveMode afterCurve [get, set]
 
- Properties inherited from DustEngine.Field
string customHint [get, set]
 
DuNoise colorRandomNoise [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from DustEngine.DuMonoBehaviour
static void print_war (object message)
 
static void print_err (object message)
 
- Static Public Attributes inherited from DustEngine.Field
static readonly Color k_GizmosColorRangeZero = new Color(0.0f, 0.3f, 0.6f)
 
static readonly Color k_GizmosColorRangeOne = new Color(0.0f, 0.5f, 1.0f)
 
- Static Protected Member Functions inherited from DustEngine.DuMonoBehaviour
static bool UpdatePropertyValue (ref bool originValue, bool newValue)
 
static bool UpdatePropertyValue (ref int originValue, int newValue)
 
static bool UpdatePropertyValue (ref float originValue, float newValue)
 
static bool UpdatePropertyValue (ref Color originValue, Color newValue)
 
static bool UpdatePropertyValue (ref Vector3 originValue, Vector3 newValue)
 
static bool UpdatePropertyValue (ref Vector3Int originValue, Vector3Int newValue)
 
static bool UpdatePropertyValue (ref GameObject originValue, GameObject newValue)
 
- Protected Attributes inherited from DustEngine.Field
string m_CustomHint = ""
 
DuNoise m_ColorRandomNoise
 

The documentation for this class was generated from the following file: