DustEngine  0.2.0
DustEngine.Field Class Referenceabstract
Inheritance diagram for DustEngine.Field:
DustEngine.DuMonoBehaviour DustEngine.IDynamicState DustEngine.ConstantField DustEngine.CoordinatesField DustEngine.FactoryTextureField DustEngine.MathField DustEngine.SpaceField DustEngine.TimeField DustEngine.ClampField DustEngine.CurveField DustEngine.FitField DustEngine.InvertField DustEngine.RemapField DustEngine.RoundField DustEngine.ConeField DustEngine.CubeField DustEngine.CylinderField DustEngine.DirectionalField DustEngine.NoiseField DustEngine.RadialField DustEngine.SphereField DustEngine.TextureSpaceField DustEngine.TorusField DustEngine.WaveField

Classes

class  Point
 
struct  Result
 

Public Member Functions

abstract string FieldName ()
 
abstract string FieldDynamicHint ()
 
abstract void Calculate (Field.Point fieldPoint, out Field.Result result, bool calculateColor)
 
abstract bool IsAllowCalculateFieldColor ()
 
virtual FieldsMap.FieldRecord.BlendPowerMode GetBlendPowerMode ()
 
virtual FieldsMap.FieldRecord.BlendColorMode GetBlendColorMode ()
 
virtual int GetDynamicStateHashCode ()
 

Static Public Attributes

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

Color GetFieldColorByPower (Color color, float powerByField)
 
Color GetFieldColorFromRemapping (Remapping remapping, float powerByField, bool calculateColor)
 
Gradient GetFieldColorPreview (Remapping remapping, out float colorPower)
 

Protected Attributes

string m_CustomHint = ""
 
DuNoise m_ColorRandomNoise
 

Properties

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 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)
 

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