Support for checking that Projection is(not) null

This commit is contained in:
Rafał Mikrut
2022-11-01 20:49:52 +01:00
parent f013315980
commit d7d130295e
5 changed files with 14 additions and 0 deletions

View File

@@ -69,6 +69,10 @@ func test():
value = Transform3D()
print(value == null)
# Projection
value = Projection()
print(value == null)
# Color
value = Color()
print(value == null)

View File

@@ -33,3 +33,4 @@ false
false
false
false
false

View File

@@ -69,6 +69,10 @@ func test():
value = Transform3D()
print(value != null)
# Projection
value = Projection()
print(value != null)
# Color
value = Color()
print(value != null)

View File

@@ -33,3 +33,4 @@ true
true
true
true
true