Adds ability to force the inspector to only show a set index of array'd fields. Mostly for specific editor tool use(like editing material's individual layers/stages)

This commit is contained in:
Areloch 2024-02-04 00:21:54 -06:00
parent 1ee85334b0
commit 4646d5eac3
4 changed files with 232 additions and 145 deletions

View file

@ -169,6 +169,8 @@ public:
void removeInspectorGroup(StringTableEntry groupName);
void setForcedArrayIndex(S32 arrayIndex);
protected:
typedef Vector< SimObjectPtr< SimObject > > TargetVector;
@ -187,6 +189,7 @@ protected:
SimObjectPtr<GuiInspectorField> mHLField;
String mGroupFilters;
bool mShowCustomFields;
S32 mForcedArrayIndex;
};
#endif