{"action":"opened","issue":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3060","labels_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3060/labels{/name}","comments_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3060/comments","events_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3060/events","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/issues/3060","id":110306556,"number":3060,"title":"Add a 'ConstantColorMaterialProperty' that exposes `ConstantProperty`'s `setValue` setter","user":{"login":"nmschulte","id":8540239,"avatar_url":"https://avatars.githubusercontent.com/u/8540239?v=3","gravatar_id":"","url":"https://api.github.com/users/nmschulte","html_url":"https://github.com/nmschulte","followers_url":"https://api.github.com/users/nmschulte/followers","following_url":"https://api.github.com/users/nmschulte/following{/other_user}","gists_url":"https://api.github.com/users/nmschulte/gists{/gist_id}","starred_url":"https://api.github.com/users/nmschulte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmschulte/subscriptions","organizations_url":"https://api.github.com/users/nmschulte/orgs","repos_url":"https://api.github.com/users/nmschulte/repos","events_url":"https://api.github.com/users/nmschulte/events{/privacy}","received_events_url":"https://api.github.com/users/nmschulte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T20:11:16Z","updated_at":"2015-10-07T20:11:16Z","closed_at":null,"body":"I was going to title this issue *Support `setValue` method for `ColorMaterialProperty`*, but then I realized that `ColorMaterialProperty` isn't meant to be constant, though its most common (exemplified) use is.  (On that note, the `ColorMaterialProperty` currently depends on the `ConstantProperty` module but never uses it.)\r\n\r\nThe `ColorMaterialProperty` doesn't specialize(optimize) for \"constant colors,\" not should it.  Instead, this could be done by a `ConstantMaterialColorProperty` (that is perhaps encapsulated and then \"supported\" by the `ColorMaterialProperty`, but that may be the wrong approach), and it may improve performance for this common use case.  It's possible the engine is already able to make this optimization internally, but that approach increases the complexity of the Property system and the understanding the developer needs in order to use it."}}