![]() "Image" works as a property in the scripting window but not in an action script. Visible works and Alpha works those are not the problems!Ĭan you get any of those properties (fro 2DOverlay) other than alpha and visible to work thru either the scripting window or and action script and if so please send me the code. Lower and upper case is important, maybe you wrote "visible" instead of "Visible", for example? Just guessing. There is an error in the error window saying not a property when I treid the others for 2D overlay. Unfortunately I could only get visible and alpha to work. Please note that the name is case sensitive.įor animated scene nodes, Properties like 'Animation', 'Looping' and 'FramesPerSecond' are available.įor camera nodes, Properties like 'Target', 'UpVector', 'AspectRatio' and 'FieldOfView_Degrees' are available.įor 2D overlay nodes, Properties like the following are available: 'Pos X (percent)', 'Pos Y (percent)', 'Width (percent)', 'Height (percent)', 'Pos X (pixels)', 'Pos Y (pixels)', 'Width (pixels)', 'Height (pixels)', 'Alpha', 'Image', 'Background Color', 'Draw Text', 'TextColor', 'Text'. Possible names depend on the scene node type, but usually names like 'Name', 'Position', 'Rotation', 'Scale', and 'Visible' are available at least. The propertyName is also the name displayed in the property window of the editor in the left column. CcbSetSceneNodeProperty(sceneNode, propertyName, value)ĬcbSetSceneNodeProperty(sceneNode, propertyName, x, y, z)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |