STK Graphics PrimitivesSend comments on this topic.
AmbientIntensity Property (IAgStkGraphicsLighting)
See Also
Windows





Windows & Linux

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 AmbientIntensity
);
[Java]
public float getAmbientIntensity();
public void setAmbientIntensity(
    float
);
[Python - STK API ]
@property
def AmbientIntensity(self) -> float:

@AmbientIntensity.setter
def AmbientIntensity(self, AmbientIntensity:float) -> None:

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

© 2024 Analytical Graphics, Inc. All Rights Reserved.