proc getType*(p: GodotVariant): VariantType {.importc: "godot_variant_get_type"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant) {.importc: "godot_variant_new_nil"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; src: GodotVariant) {.
    importc: "godot_variant_new_copy"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; b: bool) {.
    importc: "godot_variant_new_bool"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; i: uint64) {.
    importc: "godot_variant_new_uint"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; i: int64) {.
    importc: "godot_variant_new_int"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; r: cdouble) {.
    importc: "godot_variant_new_real"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; s: GodotString) {.
    importc: "godot_variant_new_string"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; v2: Vector2) {.
    importc: "godot_variant_new_vector2"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; rect2: Rect2) {.
    importc: "godot_variant_new_rect2"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; v3: Vector3) {.
    importc: "godot_variant_new_vector3"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; t2d: Transform2D) {.
    importc: "godot_variant_new_transform2d"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; plane: Plane) {.
    importc: "godot_variant_new_plane"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; quat: Quat) {.
    importc: "godot_variant_new_quat"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; rect3: Rect3) {.
    importc: "godot_variant_new_rect3"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; basis: Basis) {.
    importc: "godot_variant_new_basis"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; trans: Transform) {.
    importc: "godot_variant_new_transform"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; color: Color) {.
    importc: "godot_variant_new_color"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; nodePath: GodotNodePath) {.
    importc: "godot_variant_new_node_path"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; rid: RID) {.
    importc: "godot_variant_new_rid"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; obj: ptr GodotObject) {.
    importc: "godot_variant_new_object"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; arr: GodotArray) {.
    importc: "godot_variant_new_array"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; pba: GodotPoolByteArray) {.
    importc: "godot_variant_new_pool_byte_array"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; pia: GodotPoolIntArray) {.
    importc: "godot_variant_new_pool_int_array"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; pra: GodotPoolRealArray) {.
    importc: "godot_variant_new_pool_real_array"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; psa: GodotPoolStringArray) {.
    importc: "godot_variant_new_pool_string_array"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; pv2a: GodotPoolVector2Array) {.
    importc: "godot_variant_new_pool_vector2_array"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; pv3a: GodotPoolVector3Array) {.
    importc: "godot_variant_new_pool_vector3_array"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; pca: GodotPoolColorArray) {.
    importc: "godot_variant_new_pool_color_array"
.} 
- 
  Source
Edit
 
proc initGodotVariant*(dest: var GodotVariant; dict: GodotDictionary) {.
    importc: "godot_variant_new_dictionary"
.} 
- 
  Source
Edit
 
proc deinit*(v: var GodotVariant) {.importc: "godot_variant_destroy"
.} 
- 
  Source
Edit
 
proc asBool*(self: GodotVariant): bool {.importc: "godot_variant_as_bool"
.} 
- 
  Source
Edit
 
proc asUInt*(self: GodotVariant): uint64 {.importc: "godot_variant_as_uint"
.} 
- 
  Source
Edit
 
proc asInt*(self: GodotVariant): int64 {.importc: "godot_variant_as_int"
.} 
- 
  Source
Edit
 
proc asReal*(self: GodotVariant): cdouble {.importc: "godot_variant_as_real"
.} 
- 
  Source
Edit
 
proc asGodotString*(self: GodotVariant): GodotString {.
    importc: "godot_variant_as_string"
.} 
- 
  Source
Edit
 
proc asVector2*(self: GodotVariant): Vector2 {.importc: "godot_variant_as_vector2"
.} 
- 
  Source
Edit
 
proc asRect2*(self: GodotVariant): Rect2 {.importc: "godot_variant_as_rect2"
.} 
- 
  Source
Edit
 
proc asVector3*(self: GodotVariant): Vector3 {.importc: "godot_variant_as_vector3"
.} 
- 
  Source
Edit
 
proc asTransform2D*(self: GodotVariant): Transform2D {.
    importc: "godot_variant_as_transform2d"
.} 
- 
  Source
Edit
 
proc asPlane*(self: GodotVariant): Plane {.importc: "godot_variant_as_plane"
.} 
- 
  Source
Edit
 
proc asQuat*(self: GodotVariant): Quat {.importc: "godot_variant_as_quat"
.} 
- 
  Source
Edit
 
proc asRect3*(self: GodotVariant): Rect3 {.importc: "godot_variant_as_rect3"
.} 
- 
  Source
Edit
 
proc asBasis*(self: GodotVariant): Basis {.importc: "godot_variant_as_basis"
.} 
- 
  Source
Edit
 
proc asTransform*(self: GodotVariant): Transform {.
    importc: "godot_variant_as_transform"
.} 
- 
  Source
Edit
 
proc asColor*(self: GodotVariant): Color {.importc: "godot_variant_as_color"
.} 
- 
  Source
Edit
 
proc asNodePath*(self: GodotVariant): GodotNodePath {.
    importc: "godot_variant_as_node_path"
.} 
- 
  Source
Edit
 
proc asRID*(self: GodotVariant): RID {.importc: "godot_variant_as_rid"
.} 
- 
  Source
Edit
 
proc asGodotObject*(self: GodotVariant): ptr GodotObject {.
    importc: "godot_variant_as_object"
.} 
- 
  Source
Edit
 
proc asGodotArray*(self: GodotVariant): GodotArray {.
    importc: "godot_variant_as_array"
.} 
- 
  Source
Edit
 
proc asGodotPoolByteArray*(self: GodotVariant): GodotPoolByteArray {.
    importc: "godot_variant_as_pool_byte_array"
.} 
- 
  Source
Edit
 
proc asGodotPoolIntArray*(self: GodotVariant): GodotPoolIntArray {.
    importc: "godot_variant_as_pool_int_array"
.} 
- 
  Source
Edit
 
proc asGodotPoolRealArray*(self: GodotVariant): GodotPoolRealArray {.
    importc: "godot_variant_as_pool_real_array"
.} 
- 
  Source
Edit
 
proc asGodotPoolStringArray*(self: GodotVariant): GodotPoolStringArray {.
    importc: "godot_variant_as_pool_string_array"
.} 
- 
  Source
Edit
 
proc asGodotPoolVector2Array*(self: GodotVariant): GodotPoolVector2Array {.
    importc: "godot_variant_as_pool_vector2_array"
.} 
- 
  Source
Edit
 
proc asGodotPoolVector3Array*(self: GodotVariant): GodotPoolVector3Array {.
    importc: "godot_variant_as_pool_vector3_array"
.} 
- 
  Source
Edit
 
proc asGodotPoolColorArray*(self: GodotVariant): GodotPoolColorArray {.
    importc: "godot_variant_as_pool_color_array"
.} 
- 
  Source
Edit
 
proc asGodotDictionary*(self: GodotVariant): GodotDictionary {.
    importc: "godot_variant_as_dictionary"
.} 
- 
  Source
Edit
 
proc call*(self: GodotVariant; meth: GodotString; args: var array[128, GodotVariant];
          argCount: cint; error: var VariantCallError): GodotVariant {.
    importc: "godot_variant_call"
.} 
- 
  Source
Edit
 
proc hasMethod*(self: GodotVariant; meth: GodotString): bool {.
    importc: "godot_variant_has_method"
.} 
- 
  Source
Edit
 
proc `==`*(self, other: GodotVariant): bool {.importc: "godot_variant_operator_equal"
.} 
- 
  Source
Edit
 
proc `<`*(self, other: GodotVariant): bool {.importc: "godot_variant_operator_less"
.} 
- 
  Source
Edit
 
proc hashCompare*(self, other: GodotVariant): bool {.
    importc: "godot_variant_hash_compare"
.} 
- 
  Source
Edit
 
proc booleanize*(self: GodotVariant; isValid: var bool): bool {.
    importc: "godot_variant_booleanize"
.} 
- 
  Source
Edit
 
proc `$`*(self: GodotVariant): string
 
- 
  Source
Edit