proc markNoDeinit*(v: Variant) {.inline
.}
-
Makes it so that internal GodotVariant object will not be destroyed when the reference is gone. Use only if you know what you are doing.
Source
Edit
proc godotVariant*(v: Variant): ptr GodotVariant {.inline
.}
-
WARNING: do not keep the returned value for longer than the lifetime of v
Source
Edit
proc getType*(v: Variant): VariantType
-
Source
Edit
proc variantFinalizer*(v: Variant)
-
Source
Edit
proc `$`*(self: Variant): string {.inline
.}
-
Source
Edit
proc newVariant*(): Variant {.inline
.}
-
Source
Edit
proc newVariant*(v: Variant): Variant {.inline
.}
-
Makes a copy
Source
Edit
proc newVariant*(v: GodotVariant): Variant {.inline
.}
-
Source
Edit
proc newVariant*(b: bool): Variant {.inline
.}
-
Source
Edit
proc newVariant*(r: cdouble): Variant {.inline
.}
-
Source
Edit
proc newVariant*(s: string): Variant {.inline
.}
-
Source
Edit
proc newVariant*(v2: Vector2): Variant {.inline
.}
-
Source
Edit
proc newVariant*(rect2: Rect2): Variant {.inline
.}
-
Source
Edit
proc newVariant*(v3: Vector3): Variant {.inline
.}
-
Source
Edit
proc newVariant*(t2d: Transform2D): Variant {.inline
.}
-
Source
Edit
proc newVariant*(plane: Plane): Variant {.inline
.}
-
Source
Edit
proc newVariant*(quat: Quat): Variant {.inline
.}
-
Source
Edit
proc newVariant*(rect3: Rect3): Variant {.inline
.}
-
Source
Edit
proc newVariant*(basis: Basis): Variant {.inline
.}
-
Source
Edit
proc newVariant*(trans: Transform): Variant {.inline
.}
-
Source
Edit
proc newVariant*(color: Color): Variant {.inline
.}
-
Source
Edit
proc newVariant*(nodePath: NodePath): Variant {.inline
.}
-
Source
Edit
proc newVariant*(godotNodePath: GodotNodePath): Variant {.inline
.}
-
Source
Edit
proc newVariant*(rid: RID): Variant {.inline
.}
-
Source
Edit
proc newVariant*(obj: ptr GodotObject): Variant {.inline
.}
-
Source
Edit
proc newVariant*(arr: Array): Variant {.inline
.}
-
Source
Edit
proc newVariant*(pba: PoolByteArray): Variant {.inline
.}
-
Source
Edit
proc newVariant*(pia: PoolIntArray): Variant {.inline
.}
-
Source
Edit
proc newVariant*(pra: PoolRealArray): Variant {.inline
.}
-
Source
Edit
proc newVariant*(psa: PoolStringArray): Variant {.inline
.}
-
Source
Edit
proc newVariant*(pv2a: PoolVector2Array): Variant {.inline
.}
-
Source
Edit
proc newVariant*(pv3a: PoolVector3Array): Variant {.inline
.}
-
Source
Edit
proc newVariant*(pca: PoolColorArray): Variant {.inline
.}
-
Source
Edit
proc asBool*(self: Variant): bool {.inline
.}
-
Source
Edit
proc asUInt*(self: Variant): uint64
-
Source
Edit
proc asInt*(self: Variant): int64
-
Source
Edit
proc asReal*(self: Variant): cdouble
-
Source
Edit
proc asString*(self: Variant): string
-
Source
Edit
proc asVector2*(self: Variant): Vector2
-
Source
Edit
proc asRect2*(self: Variant): Rect2
-
Source
Edit
proc asVector3*(self: Variant): Vector3
-
Source
Edit
proc asTransform2D*(self: Variant): Transform2D
-
Source
Edit
proc asPlane*(self: Variant): Plane
-
Source
Edit
proc asQuat*(self: Variant): Quat
-
Source
Edit
proc asRect3*(self: Variant): Rect3
-
Source
Edit
proc asBasis*(self: Variant): Basis
-
Source
Edit
proc asTransform*(self: Variant): Transform
-
Source
Edit
proc asColor*(self: Variant): Color
-
Source
Edit
proc asNodePath*(self: Variant): NodePath
-
Source
Edit
proc asRID*(self: Variant): RID
-
Source
Edit
proc asGodotObject*(self: Variant): ptr GodotObject
-
Source
Edit
proc asArray*(self: Variant): Array
-
Source
Edit
proc asPoolByteArray*(self: Variant): PoolByteArray
-
Source
Edit
proc asPoolIntArray*(self: Variant): PoolIntArray
-
Source
Edit
proc asPoolRealArray*(self: Variant): PoolRealArray
-
Source
Edit
proc asPoolStringArray*(self: Variant): PoolStringArray
-
Source
Edit
proc asPoolVector2Array*(self: Variant): PoolVector2Array
-
Source
Edit
proc asPoolVector3Array*(self: Variant): PoolVector3Array
-
Source
Edit
proc asPoolColorArray*(self: Variant): PoolColorArray
-
Source
Edit
proc hasMethod*(self: Variant; meth: string): bool
-
Source
Edit
proc `==`*(self, other: Variant): bool
-
Source
Edit
proc `<`*(self, other: Variant): bool
-
Source
Edit
proc hashCompare*(self, other: Variant): bool
-
Source
Edit
proc booleanize*(self: Variant; isValid: var bool): bool
-
Source
Edit