Table of Contents

Method IsExposable

Namespace
Pinwheel.Vista.ExposeProperty
Assembly
Pinwheel.Vista.Runtime.dll

IsExposable(Type)

Returns whether a CLR property type can be exposed through Vista's exposed-property system.

public static bool IsExposable(Type t)

Parameters

t Type

The property type to test.

Returns

bool

true when Vista knows how to serialize, display, and override the type; otherwise, false.

Remarks

Supported types currently include enums, Unity object references, primitive numeric and boolean types, strings, vectors, colors, gradients, and animation curves.