anyKode Marilou
ContentsIndexHome
PreviousUpNext
Connection::AmbientLightGet

Getting the world's ambient light color.

C++
bool AmbientLightGet(float & R, float & G, float & B);
Parameters 
Description 
float & R 
[out] Red part. 
float & G 
[out] Green part. 
float & B 
[out] Blue part. 

true is the simulator have received the command, false otherwise.

AmbientLightGet gets and returns the world's ambient light color (Marilou 2009 only). The returned values are RGB float color [0..1]. For Marilou 2008, the returned values are always 0.75f.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!