|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Custom Property PagesFolks:
I've committed a first pass at a new type of plugin - "custom property pages" - that allow authors to customize the UI on a per-plugin basis. The idea is that you create a custom property page for a specific plugin type, and it takes the place of the normal auto-generated page when an instance of that plugin is displayed in the Node Properties Panel. If you build with NGUI_MORPH_POINTS_PAGE_MODULE enabled, you'll see that the normal properties are replaced by a do-nothing page if you select MorphPoints. An author could literally do anything here to provide customized control over their plugin. In practice, you probably don't want to completely rewrite the property interface, just customize it a bit, add some custom controls, etc. Much of the recent refactoring is to make this as easy as possible. MorphPoints is a good use-case, since the main need there is to provide some specialized Add Morph Target / Remove Morph Target controls that create specific combinations of user properties and replace the vanilla Add User Property dialog. Cheers, Tim ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ K3d-development mailing list K3d-development@... https://lists.sourceforge.net/lists/listinfo/k3d-development |
|
|
Re: Custom Property PagesTimothy M. Shead wrote:
> Folks: > > I've committed a first pass at a new type of plugin - "custom property > pages" - that allow authors to customize the UI on a per-plugin basis. > The idea is that you create a custom property page for a specific plugin > type, and it takes the place of the normal auto-generated page when an > instance of that plugin is displayed in the Node Properties Panel. If > you build with NGUI_MORPH_POINTS_PAGE_MODULE enabled, you'll see that > the normal properties are replaced by a do-nothing page if you select > MorphPoints. An author could literally do anything here to provide > customized control over their plugin. In practice, you probably don't > want to completely rewrite the property interface, just customize it a > bit, add some custom controls, etc. Much of the recent refactoring is > to make this as easy as possible. MorphPoints is a good use-case, since > the main need there is to provide some specialized Add Morph Target / > Remove Morph Target controls that create specific combinations of user > properties and replace the vanilla Add User Property dialog. Also it would be interesting setting the step increment on the morphing targets multiplier. This was the reason i used 100 instead of 1. But having this feature should solve the problem. Is this possible right now? Cheers! Joaquín ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ K3d-development mailing list K3d-development@... https://lists.sourceforge.net/lists/listinfo/k3d-development |
|
|
Re: Custom Property PagesJoaquín Duo wrote:
> Also it would be interesting setting the step increment on the > morphing targets > multiplier. This was the reason i used 100 instead of 1. But having this feature > should solve the problem. Is this possible right now? > A better solution is to set the step increment for those properties, but that isn't doable today with user-properties. Tim ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ K3d-development mailing list K3d-development@... https://lists.sourceforge.net/lists/listinfo/k3d-development |
| Free Forum Powered by Nabble | Forum Help |