mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
b9e022302a
commit
f9b488508c
@@ -140,3 +140,7 @@ func test():
|
||||
# PackedColorArray
|
||||
value = PackedColorArray()
|
||||
print(value == null)
|
||||
|
||||
# PackedVector4Array
|
||||
value = PackedVector4Array()
|
||||
print(value == null)
|
||||
|
||||
@@ -34,3 +34,4 @@ false
|
||||
false
|
||||
false
|
||||
false
|
||||
false
|
||||
|
||||
@@ -140,3 +140,7 @@ func test():
|
||||
# PackedColorArray
|
||||
value = PackedColorArray()
|
||||
print(value != null)
|
||||
|
||||
# PackedVector4Array
|
||||
value = PackedVector4Array()
|
||||
print(value != null)
|
||||
|
||||
@@ -34,3 +34,4 @@ true
|
||||
true
|
||||
true
|
||||
true
|
||||
true
|
||||
|
||||
@@ -136,3 +136,7 @@ func test():
|
||||
# PackedColorArray
|
||||
value = PackedColorArray()
|
||||
print(null == value)
|
||||
|
||||
# PackedVector4Array
|
||||
value = PackedVector4Array()
|
||||
print(null == value)
|
||||
|
||||
@@ -33,3 +33,4 @@ false
|
||||
false
|
||||
false
|
||||
false
|
||||
false
|
||||
|
||||
@@ -136,3 +136,7 @@ func test():
|
||||
# PackedColorArray
|
||||
value = PackedColorArray()
|
||||
print(null != value)
|
||||
|
||||
# PackedVector4Array
|
||||
value = PackedVector4Array()
|
||||
print(null != value)
|
||||
|
||||
@@ -33,3 +33,4 @@ true
|
||||
true
|
||||
true
|
||||
true
|
||||
true
|
||||
|
||||
@@ -40,3 +40,4 @@ func test():
|
||||
print(PackedVector2Array([Vector2.ONE, Vector2.ZERO]))
|
||||
print(PackedVector3Array([Vector3.ONE, Vector3.ZERO]))
|
||||
print(PackedColorArray([Color.RED, Color.BLUE, Color.GREEN]))
|
||||
print(PackedVector4Array([Vector4.ONE, Vector4.ZERO]))
|
||||
|
||||
@@ -32,3 +32,4 @@ Node::[signal]property_list_changed
|
||||
[(1, 1), (0, 0)]
|
||||
[(1, 1, 1), (0, 0, 0)]
|
||||
[(1, 0, 0, 1), (0, 0, 1, 1), (0, 1, 0, 1)]
|
||||
[(1, 1, 1, 1), (0, 0, 0, 0)]
|
||||
|
||||
Reference in New Issue
Block a user