Table of Contents

Enum Variant.Type

Namespace
Godot
Assembly
GodotSharp.dll
public enum Variant.Type : long

Fields

Aabb = 16

Variable is of type Aabb.

Array = 28

Variable is of type Array.

Basis = 17

Variable is of type Basis.

Bool = 1

Variable is of type bool.

Callable = 25

Variable is of type Callable.

Color = 20

Variable is of type Color.

Dictionary = 27

Variable is of type Dictionary.

Float = 3

Variable is of type float.

Int = 2

Variable is of type int.

Max = 38

Represents the size of the Variant.Type enum.

Nil = 0

Variable is null.

NodePath = 22

Variable is of type NodePath.

Object = 24

Variable is of type GodotObject.

PackedByteArray = 29

Variable is of type byte[].

PackedColorArray = 37

Variable is of type Color[].

PackedFloat32Array = 32

Variable is of type float[].

PackedFloat64Array = 33

Variable is of type double[].

PackedInt32Array = 30

Variable is of type int[].

PackedInt64Array = 31

Variable is of type long[].

PackedStringArray = 34

Variable is of type string[].

PackedVector2Array = 35

Variable is of type Vector2[].

PackedVector3Array = 36

Variable is of type Vector3[].

Plane = 14

Variable is of type Plane.

Projection = 19

Variable is of type Projection.

Quaternion = 15

Variable is of type Quaternion.

Rect2 = 7

Variable is of type Rect2.

Rect2I = 8

Variable is of type Rect2I.

Rid = 23

Variable is of type Rid.

Signal = 26

Variable is of type Signal.

String = 4

Variable is of type string.

StringName = 21

Variable is of type StringName.

Transform2D = 11

Variable is of type Transform2D.

Transform3D = 18

Variable is of type Transform3D.

Vector2 = 5

Variable is of type Vector2.

Vector2I = 6

Variable is of type Vector2I.

Vector3 = 9

Variable is of type Vector3.

Vector3I = 10

Variable is of type Vector3I.

Vector4 = 12

Variable is of type Vector4.

Vector4I = 13

Variable is of type Vector4I.