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

Public Types

enum class  ShapeMode { Linear = 0 , Repeat = 1 , PingPong = 2 }
 
enum class  AggregateMode { Avg = 0 , Min = 1 , Max = 2 , Sum = 3 }
 

Public Member Functions

override int GetDynamicStateHashCode ()
 
override string FieldName ()
 
override string FieldDynamicHint ()
 
override void Calculate (Field.Point fieldPoint, out Field.Result result, bool calculateColor)
 
override bool IsAllowCalculateFieldColor ()
 
float RepackValueByShape (ShapeMode shape, float value, float min, float max)
 
- Public Member Functions inherited from DustEngine.Field
virtual FieldsMap.FieldRecord.BlendPowerMode GetBlendPowerMode ()
 
virtual FieldsMap.FieldRecord.BlendColorMode GetBlendColorMode ()
 

Properties

bool powerEnabled [get, set]
 
bool powerUseAxisX [get, set]
 
bool powerUseAxisY [get, set]
 
bool powerUseAxisZ [get, set]
 
float powerScale [get, set]
 
AggregateMode powerAggregate [get, set]
 
float powerMin [get, set]
 
float powerMax [get, set]
 
ShapeMode powerShape [get, set]
 
bool colorEnabled [get, set]
 
float colorScale [get, set]
 
ShapeMode colorShape [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)
 
- 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)
 
- 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: