public void SetAmbientLight(Colorf color) { SceneManager_SetAmbientLight(_raw, color.ToUnmanaged()); }
/// <summary> /// Adds a light scene node to the scene /// </summary> /// <returns>The light</returns> /// <param name="parent">Parent from the node</param> /// <param name="position">Initial position of the light</param> /// <param name="color">Floating color of the light</param> /// <param name="radius">Radius of the light</param> /// <param name="id">ID (-1 for automatic assignation)</param> public LightSceneNode AddLightSceneNode(SceneNode parent, Vector3D position, Colorf color, float radius, int id) { return (LightSceneNode) NativeElement.GetObject(SceneManager_AddLightSceneNode(_raw, GetPtr(parent), position.ToUnmanaged(), color.ToUnmanaged(), radius, id), typeof(LightSceneNode)); }