datagatheringbinding - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Experimentation.DataGathering
Inherits from System.Object
A class to represent a binding of a value from some GameObject's Component to be used by DataGatherer.
The values can be either return values of public functions or public members. Using reflections these values will automatically be read when data is required to be exported.
public class DataGatheringBinding| Name | Description |
|---|---|
| DataGatheringBinding() | Default Constructor. Sets the defaults, i.e. an empty binding. |
| DataGatheringBinding(Component,string,string) | Creates a DataGatheringBinding that is already bound to the member specified by the component and name. |
| The later must be a pretty name (i.e. as displayed in the menu, including the annotation for methods). | |
| If the name is invalid, it will be bound only to the GameObject but no value will be selected. |
| Name | Description |
|---|---|
| GetBindingDescription() | Returns a description of the binding, listing all important values. |
| GetBindingValue() | Returns the value specified by the binding, creating and invoking the MemberInfo. |
| GetBoundObjectDescription() | Returns a description of the bound object. |
| IsBoundToMultiColumnValue() | Checks whether the current binding is bound to a multi-column member. |
| ResetToDefaults() | Resets the values of the binding (for internal purposes). |
| UpdateMemberList() | Updates the list of available members shown in the dropdown for the binding in the inspector. |
| ValidateBinding() | Checks if the current binding is valid, meaning the class, component and MemberInfo are valid. |
| Name | Description |
|---|---|
| ExportColumnName | The header value for the column storing values of this binding. |
| HeaderSeparator | Separator used for the header, will be controlled by the DataGatherer controlling this binding. |