Abstract base class for all field-based metrics; Create a new FieldMetric recorder class by inheriting from this
More...
|
override bool | RetrievedMember => _fieldInfo != null |
|
float | TimeStep => _timeStep |
| The time step duration of the metric recorder More...
|
|
bool | IsEnabled => _isEnabled |
| Whether the metric recorder is enabled More...
|
|
|
virtual bool | AreEqual (T a, T b) |
|
|
bool | _recordOnStart = true |
|
float | _timeStep = 1f |
|
bool | _isEnabled = false |
|
GameObject | recordGameObject |
|
Component | recordFrom |
|
int | recordFromIndex |
|
string | recordName |
|
int | recordNameIndex |
|
Type | componentType |
|
float | startTime |
|
T | _lastRecordedValue |
|
T | _previousValue |
|
abstract bool | RetrievedMember [get] |
| Whether the metric recorder has retrieved the field/property it will record the value of More...
|
|
List< DataPoint< T > > | History = new List<DataPoint<T>>() [get] |
| The history of recorded values for this metric More...
|
|
float | TimeStep [get] |
|
bool | IsEnabled [get] |
|
Abstract base class for all field-based metrics; Create a new FieldMetric recorder class by inheriting from this
- Template Parameters
-
T | The data type for the field metric to hold |
◆ GetValue()
Retrieve the current value from the property
Uses reflection! Call only as necessary!
- Returns
- The current value from the property
Implements Abacus.Internal.Metric< T >.
The documentation for this class was generated from the following file: