API ReferenceSandbox.Internal
IControlSheetclass
Interface for a control sheet that manages the display of serialized properties in a structured way.
object→IControlSheet
Methods7
Showing 7 methods
public virtual void AddFeature(Sandbox.Internal.IControlSheet.Feature feature)
We're adding a feature. Normally would store these in a tab control
| Parameter | Type | Description |
|---|---|---|
| feature | Feature | — |
Returns:
void—public virtual void AddGroup(Sandbox.Internal.IControlSheet.Group group)
We're adding a group. Normally would have a Group Panel with the properties as children
| Parameter | Type | Description |
|---|---|---|
| group | Group | — |
Returns:
void—public static void AddProperties(Sandbox.Internal.IControlSheet sheet, System.Collections.Generic.List`1<Sandbox.SerializedProperty> properties, bool allowFeatures = True)
| Parameter | Type | Description |
|---|---|---|
| sheet | IControlSheet | — |
| properties | List<SerializedProperty> | — |
| allowFeatures = True | bool | — |
Returns:
void—public virtual void AddPropertiesWithGrouping(System.Collections.Generic.List`1<Sandbox.SerializedProperty> properties)
| Parameter | Type | Description |
|---|---|---|
| properties | List<SerializedProperty> | — |
Returns:
void—public static void FilterSortAndAdd(Sandbox.Internal.IControlSheet sheet, System.Collections.Generic.List`1<Sandbox.SerializedProperty> q, bool allowFeatures = True)
| Parameter | Type | Description |
|---|---|---|
| sheet | IControlSheet | — |
| q | List<SerializedProperty> | — |
| allowFeatures = True | bool | — |
Returns:
void—public virtual void RemoveUnusedMethods(System.Collections.Generic.List`1<Sandbox.SerializedProperty> properties)
| Parameter | Type | Description |
|---|---|---|
| properties | List<SerializedProperty> | — |
Returns:
void—public virtual bool TestFilter(Sandbox.SerializedProperty prop)
Implement to filter properties that should be displayed in the control sheet.
| Parameter | Type | Description |
|---|---|---|
| prop | SerializedProperty | — |
Returns:
bool—No results match this filter.