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





Windows & Linux

Description

Gets or sets the diffuse intensity from the sun.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property DiffuseIntensity() As Single
[C#]
public float DiffuseIntensity {get; set;}
[Managed C++]
public: __property float get_DiffuseIntensity();
public: __property void set_DiffuseIntensity( float );
[Unmanaged C++]
public: HRESULT get_DiffuseIntensity(
    float * pRetVal
);
public: HRESULT put_DiffuseIntensity(
    float DiffuseIntensity
);
[Java]
public float getDiffuseIntensity();
public void setDiffuseIntensity(
    float
);
[Python - STK API ]
@property
def DiffuseIntensity(self) -> float:

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

Remarks

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

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.