Implement a SceneNode class.