Documentation / scene / PropertyToType
Type Alias: PropertyToType<T>
PropertyToType<
T> =Textends"float"|"vec2"|"vec3"|"vec4"|"int"|"int2"|"int3"|"int4"|"rgb"|"rgba"?"num":Textends"bool"?"bool":Textends"string"?"str":Textends"object"|"object_array"?"object":"num"|"bool"|"str"|"object"
Defined in: libs/scene/src/utility/serialization/types.ts:18
Maps a property type discriminator to the corresponding value lane key.
Type Parameters
T
T extends string