So I’m trying to understand the python api and stumbled on this page here:
I read an unusual syntax in their example code:
my_float: bpy.props.FloatProperty(name="Some Floating Point") my_bool: bpy.props.BoolProperty(name="Toggle Option") my_string: bpy.props.StringProperty(name="String Value")
I’m not sure what the colon is doing. I looked up python’s syntax but found nothing about this. This seems to be assigning a variable, but I only know of using the equal sign for this. For example: my_variable = some.object.etc
Anyone have links elaborating this colon syntax?