Uint16 & Int16 Scripting support.
This commit is contained in:
@@ -55,7 +55,10 @@ namespace FlaxEditor.Utilities
|
|||||||
|
|
||||||
Int2,
|
Int2,
|
||||||
Int3,
|
Int3,
|
||||||
Int4
|
Int4,
|
||||||
|
|
||||||
|
Int16,
|
||||||
|
Uint16
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static VariantType ToVariantType(this Type type)
|
internal static VariantType ToVariantType(this Type type)
|
||||||
|
|||||||
@@ -58,6 +58,9 @@ API_STRUCT(InBuild) struct FLAXENGINE_API VariantType
|
|||||||
Int3,
|
Int3,
|
||||||
Int4,
|
Int4,
|
||||||
|
|
||||||
|
Int16,
|
||||||
|
Uint16,
|
||||||
|
|
||||||
MAX
|
MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -135,6 +138,8 @@ API_STRUCT(InBuild) struct FLAXENGINE_API Variant
|
|||||||
union
|
union
|
||||||
{
|
{
|
||||||
bool AsBool;
|
bool AsBool;
|
||||||
|
int16 AsInt16;
|
||||||
|
uint16 AsUint16;
|
||||||
int32 AsInt;
|
int32 AsInt;
|
||||||
uint32 AsUint;
|
uint32 AsUint;
|
||||||
int64 AsInt64;
|
int64 AsInt64;
|
||||||
|
|||||||
Reference in New Issue
Block a user