Public Types | |
enum class | ColorComponent { Ignore = 0 , Grayscale = 1 , Red = 2 , Green = 3 , Blue = 4 , Alpha = 5 , RGBAverage = 6 , RGBMin = 7 , RGBMax = 8 } |
enum class | SpaceUVW { UV = 0 , VW = 1 , UW = 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) |
override bool | IsAllowCalculateFieldColor () |
Public Member Functions inherited from DustEngine.Field | |
virtual FieldsMap.FieldRecord.BlendPowerMode | GetBlendPowerMode () |
virtual FieldsMap.FieldRecord.BlendColorMode | GetBlendColorMode () |
Protected Attributes | |
SpaceUVW | m_SpaceUVW = SpaceUVW.UV |
bool | m_FlipU = false |
bool | m_FlipV = false |
bool | m_FlipW = false |
ColorComponent | m_PowerSource = ColorComponent.Ignore |
bool | m_ApplyPowerToAlpha = false |
Protected Attributes inherited from DustEngine.Field | |
string | m_CustomHint = "" |
DuNoise | m_ColorRandomNoise |
Properties | |
Texture2D | texture [get, set] |
SpaceUVW | spaceUVW [get, set] |
bool | flipU [get, set] |
bool | flipV [get, set] |
bool | flipW [get, set] |
ColorComponent | powerSource [get, set] |
bool | applyPowerToAlpha [get, set] |
Remapping | remapping [get] |
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) |