-
-
Notifications
You must be signed in to change notification settings - Fork 2
Custom Attributes
eisclimber edited this page Feb 11, 2024
·
1 revision
static class and helper classes in ExPresSXR.Experimentation.DataGathering
A set of static function and custom attributes that can be added for multi-column support for the DatGatherer.
-
bool IsTypeExportable(Type type)
: Returns true when the type is exportable (primitives Type, Vector2, Vector3, Quaternion). -
bool IsValidMemberInfo(MemberInfo info)
: Checks if a MemberInfo is valid, does not required arguments and returns an exportable type. -
Type GetMemberValueType(MemberInfo info)
: Returns the return type of a MemberInfo.
-
string GetReplacementHeader(MemberInfo memberInfo, char sep = CsvUtility.DEFAULT_COLUMN_SEPARATOR)
: Returns the header replacement ofmemberInfo
if exist, separated bysep
. -
bool HasAttribute<T>(MemberInfo memberInfo) where T : Attribute
: Checks if a MemberInfo is annotated with the given Attribute. -
bool GetAttribute<T>(MemberInfo memberInfo) where T : Attribute
: Retrieves an attribute from a MemberInfo if possible. -
bool TryGetAttribute<T>(MemberInfo memberInfo, out T attribute) where T : Attribute
: Returns the attribute as out-parameter and returns true if the attribute was found.
Helper attribute to annotate multi Columns
Helper attribute for header replacements with multi Columns. The header-fields can be provided as individual parameters for the annotation.
-
GetHeaders(char sep)
: Returns the headers separated by the given separator-character.
Helper attribute for header replacement notifications with multi Columns.
-
GetHeaders(char sep)
: Returns the headers separated by the given separator-character.
Autor: Luca 'eisclimber' Dreiling; License: MIT
- Getting Started
- Development and Contribution
- Misc
- Experimentation
- Data Gatherering
- Eye Tracking
- ExPresS XR Rig
- Interaction
- Base Button
- Button Quiz
- Collision Hand Rumbler
- Collision Sound Emitter
- Exit Game Interactable (Script Deprecated)
- Interactables
- Haptic Impulse Trigger
- Socket Interactors
- Inverse Kinematics
- Localization
- Minigames
- Coin Scale
- Coin Throw
- Sword Cleaning
- Misc
- Movement
- Presentation
- UI