AGI STK Graphics 11 Send comments on this topic.
AmbientIntensity Property (IAgStkGraphicsLighting)
See Also 





Description

Gets or sets the ambient intensity throughout the scene.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property AmbientIntensity() As Single

[C#]
public float AmbientIntensity {get; set;}

[Managed C++]
public: __property float get_AmbientIntensity();
public: __property void set_AmbientIntensity(
float
);

[Unmanaged C++]
public: HRESULT get_AmbientIntensity(
float * pRetVal
);
public: HRESULT put_AmbientIntensity(
float NewAmbientIntensity
);

[Java]
public float getAmbientIntensity();public void setAmbientIntensity(
float
);

Remarks

To illuminate both sides of the central body equally, set AmbientIntensity to 1 and Diffuse Intensity to 0. To make the dark side of the central body completely black, set AmbientIntensity to 0 and Diffuse Intensity to 1.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1