編集

次の方法で共有


InspectorField Class

Definition

A set of field/property tags used to define how a property should render in a custom inspector

public ref class InspectorField : Attribute
public class InspectorField : Attribute
type InspectorField = class
    inherit Attribute
Public Class InspectorField
Inherits Attribute
Inheritance
InspectorField

Constructors

InspectorField()

Properties

Label

The label that will be rendered with the property field in the custom inspector

Options

A string list of options for a pop-up list

Tooltip

A tooltip for the property field

Type

The type of field or property value type

Value

An object to hold the actual value

Methods

FieldToProperty(InspectorField, Object, String)
GetSettingValue(List<InspectorPropertySetting>, String)

Get the propertySettings value

ReverseLookup(String, String[])

Get the index from a list of strings using string comparison

UpdatePropertySetting(InspectorPropertySetting, Object)

Set the value of the propertySetting

Applies to