flixel-docs
flixel-docs copied to clipboard
FlxSound pitch is missing
- go to https://api.haxeflixel.com/flixel/system/FlxSound.html
- try to find
pitch - see no results
Pitch prop was added with https://github.com/HaxeFlixel/flixel/pull/2564 .
I believe there's a specific compiler flag we should use to expose fields to the api page, I forgot what it is so we'll have to find it
The flag is FLX_PITCH and it is set by flixel on targets except flash. But the doc is built for flash target, so the pitch property is not generated.
Possible solutions:
- build doc for non flash target, e.g. neko
- wrap
pitchprop in#if doc_gen
after some investigation this sorta thing seems to affect other "non-flash target" related defines
FlxG.android, FlxG.accelerometer. Neither have documentation generated!