Classes | |
class | FieldRecord |
Public Types | |
enum class | FieldsMapMode { Custom = 0 , FieldsSpace = 1 , FactoryMachine = 2 } |
Public Member Functions | |
int | GetDynamicStateHashCode () |
bool | Calculate (Vector3 worldPosition, float sequenceOffset, out float power) |
bool | Calculate (Vector3 worldPosition, float sequenceOffset, out float power, out Color color) |
bool | Calculate (FactoryMachine.FactoryInstanceState factoryInstanceState, out float power, out Color color) |
bool | Calculate (Field.Point fieldPoint) |
bool | HasFields () |
FieldRecord.BlendPowerMode | GetDefaultBlendPower (Field field) |
FieldRecord.BlendColorMode | GetDefaultBlendColor (Field field) |
FieldRecord | AddField (Field field) |
Static Public Member Functions | |
static FieldsMap | FactoryMachine () |
static FieldsMap | FieldsSpace () |
Protected Attributes | |
List< FieldRecord > | m_Fields = new List<FieldRecord>() |
Properties | |
FieldsMapMode | fieldsMapMode [get] |
bool | calculatePower [get, set] |
float | defaultPower [get, set] |
bool | calculateColor [get, set] |
Color | defaultColor [get, set] |
List< FieldRecord > | fields [get] |
Main idea for color usage:
If need change intensity of some color only require multiple A for required value