JHN
12-20-2007, 08:38 PM
Hi,
I tried to make some custom functions for the scene explorer, but although they show up in the columnlist, the set function doesn't work... :sad:
--// Get function
fn getFov theNode = (
if isProperty theNode "Fov" then theNode.Fov )
--// Set function
fn setFov theNode theValue = (
if isProperty theNode "Fov" then theNode.Fov = theValue )
--// Assign to SceneExplorer
SceneExplorerManager.addProperty "Fov" getFov setFov
I even tried the examples in the mxs manual... and they didn't work either. It doesn't update the object radius or in my case the camera fov... I can type in something but no link to the scene. I tried the default light intensity setting column, and funny thing is that spinner appear there, but not on my values.. I have the feeling it has something to do with that, but the manual is not very clear on this. I really hope I'm missing something obvious.. otherwise this functionality is not well implemented in the scene-explorer and thus making this thing once again less usefull..... .. .
-Johan
I tried to make some custom functions for the scene explorer, but although they show up in the columnlist, the set function doesn't work... :sad:
--// Get function
fn getFov theNode = (
if isProperty theNode "Fov" then theNode.Fov )
--// Set function
fn setFov theNode theValue = (
if isProperty theNode "Fov" then theNode.Fov = theValue )
--// Assign to SceneExplorer
SceneExplorerManager.addProperty "Fov" getFov setFov
I even tried the examples in the mxs manual... and they didn't work either. It doesn't update the object radius or in my case the camera fov... I can type in something but no link to the scene. I tried the default light intensity setting column, and funny thing is that spinner appear there, but not on my values.. I have the feeling it has something to do with that, but the manual is not very clear on this. I really hope I'm missing something obvious.. otherwise this functionality is not well implemented in the scene-explorer and thus making this thing once again less usefull..... .. .
-Johan
