Advertisement

Type annotations - what are they called in AngelScript?

Started by August 28, 2013 08:47 PM
1 comment, last by Starfox 11 years, 3 months ago

What's the name of annotations that appear in square brackets before a variable declaration? What API should I use to retrieve their value? They look like this:

[source]

[parameter, minimum=0.0, maximum=10.0]
float RotationSpeed;

[/source]

Holy crap I started a blog - http://unobvious.typepad.com/

I call it meta data. It's not part of the core script engine, but the CScriptBuilder add-on has an implementation that you can use to retrieve this information.

Regards,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

Thanks. Great feature by the way.

Holy crap I started a blog - http://unobvious.typepad.com/

This topic is closed to new replies.

Advertisement