Class InspectorItems
List of items, used in inspector. All items has the same parent index, so they are shown in the same group
Inheritance
object
InspectorItems
Namespace: CAMAPI.UIDialogs.DotnetHelper
Assembly: CAMAPI.UIDialogs.DotnetHelper.dll
Syntax
public class InspectorItems : Object
Constructors
InspectorItems(int, IST_CustomPropHelpers, IST_SimplePropIterator)
Create new group of items in inspector
Declaration
public InspectorItems(int parentIndex, IST_CustomPropHelpers inspectorHelper, IST_SimplePropIterator iterator)
Parameters
Type | Name | Description |
---|---|---|
int | parentIndex | |
IST_CustomPropHelpers | inspectorHelper | |
IST_SimplePropIterator | iterator |
Methods
AddBooleanProperty(string, OnGetBooleanValue, OnSetBooleanValue)
Add child boolean property to inspector
Declaration
public InspectorItems AddBooleanProperty(string caption, OnGetBooleanValue onGetBooleanValue, OnSetBooleanValue onSetBooleanValue)
Parameters
Type | Name | Description |
---|---|---|
string | caption | |
OnGetBooleanValue | onGetBooleanValue | |
OnSetBooleanValue | onSetBooleanValue |
Returns
Type | Description |
---|---|
InspectorItems | Index of item, injected into inspector |
AddDoubleProperty(string, OnGetDoubleValue, OnSetDoubleValue)
Add child double property to inspector
Declaration
public InspectorItems AddDoubleProperty(string caption, OnGetDoubleValue onGetDoubleValue, OnSetDoubleValue onSetDoubleValue)
Parameters
Type | Name | Description |
---|---|---|
string | caption | |
OnGetDoubleValue | onGetDoubleValue | |
OnSetDoubleValue | onSetDoubleValue |
Returns
Type | Description |
---|---|
InspectorItems | Index of item, injected into inspector |
AddIntegerProperty(string, OnGetIntegerValue, OnSetIntegerValue)
Add child double property to inspector
Declaration
public InspectorItems AddIntegerProperty(string caption, OnGetIntegerValue onGetIntegerValue, OnSetIntegerValue onSetIntegerValue)
Parameters
Type | Name | Description |
---|---|---|
string | caption | |
OnGetIntegerValue | onGetIntegerValue | |
OnSetIntegerValue | onSetIntegerValue |
Returns
Type | Description |
---|---|
InspectorItems | Index of item, injected into inspector |
AddStringProperty(string, OnGetStringValue, OnSetStringValue)
Add child string property to inspector
Declaration
public InspectorItems AddStringProperty(string caption, OnGetStringValue onGetStringValue, OnSetStringValue onSetStringValue)
Parameters
Type | Name | Description |
---|---|---|
string | caption | |
OnGetStringValue | onGetStringValue | |
OnSetStringValue | onSetStringValue |
Returns
Type | Description |
---|---|
InspectorItems | Index of item, injected into inspector |