Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controls should be able to bind to a function #1

Open
robsilv opened this issue Apr 18, 2013 · 0 comments
Open

Controls should be able to bind to a function #1

robsilv opened this issue Apr 18, 2013 · 0 comments

Comments

@robsilv
Copy link
Member

robsilv commented Apr 18, 2013

[Inspectable( priority="54", editor="Slider", min="0", max="360", snapInterval="1" ) ]
public function set rotation( value:Number ):void

Currently CadetEngine uses degrees instead of radians as the unit of angle measurement. This is because providing an editor from 0 to TAU would prove difficult.

It should be possible for CadetEngine to use radians, but for the Slider component to display degrees. See https://blogs.oracle.com/chrisoliver/entry/data_binding_in_silverlight_and

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant