Class RecipeNodeKind
Discriminator values for kind.
Inherited Members
Namespace: Serenity.ProjectRecipe.Infrastructure.Editor.Model
Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
Syntax
public static class RecipeNodeKind
Fields
Array
Array/list; children holds the elements.
Declaration
public const string Array = "array"
Field Value
| Type | Description |
|---|---|
| string |
Bool
Boolean (stored in integer as 0/1).
Declaration
public const string Bool = "bool"
Field Value
| Type | Description |
|---|---|
| string |
Color
Color (r, g, b, a in x, y, z, w).
Declaration
public const string Color = "color"
Field Value
| Type | Description |
|---|---|
| string |
Enum
Declaration
public const string Enum = "enum"
Field Value
| Type | Description |
|---|---|
| string |
Float
Float / double (stored in number).
Declaration
public const string Float = "float"
Field Value
| Type | Description |
|---|---|
| string |
Generic
Nested struct/class; children holds the fields.
Declaration
public const string Generic = "generic"
Field Value
| Type | Description |
|---|---|
| string |
Int
Integer / long.
Declaration
public const string Int = "int"
Field Value
| Type | Description |
|---|---|
| string |
Managed
Polymorphic managed reference; text holds the type, children hold its fields.
Declaration
public const string Managed = "managed"
Field Value
| Type | Description |
|---|---|
| string |
ObjectRef
Object reference, stored as an asset path in text (empty = null).
Declaration
public const string ObjectRef = "objref"
Field Value
| Type | Description |
|---|---|
| string |
Quaternion
Quaternion (x, y, z, w).
Declaration
public const string Quaternion = "quaternion"
Field Value
| Type | Description |
|---|---|
| string |
Rect
Rect (x, y, width, height in x, y, z, w).
Declaration
public const string Rect = "rect"
Field Value
| Type | Description |
|---|---|
| string |
String
String (stored in text).
Declaration
public const string String = "string"
Field Value
| Type | Description |
|---|---|
| string |
Unsupported
A property type the codec does not handle (skipped on import).
Declaration
public const string Unsupported = "unsupported"
Field Value
| Type | Description |
|---|---|
| string |
Vector2
Vector2 (x, y).
Declaration
public const string Vector2 = "vector2"
Field Value
| Type | Description |
|---|---|
| string |
Vector3
Vector3 (x, y, z).
Declaration
public const string Vector3 = "vector3"
Field Value
| Type | Description |
|---|---|
| string |
Vector4
Vector4 (x, y, z, w).
Declaration
public const string Vector4 = "vector4"
Field Value
| Type | Description |
|---|---|
| string |