STK Graphics PrimitivesSend comments on this topic.
AffectedByLighting Property (IAgStkGraphicsSolidPrimitive)
See Also
Windows





Windows & Linux

Description

Gets or sets whether the primitive is affected by lighting.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property AffectedByLighting() As Boolean
[C#]
public bool AffectedByLighting {get; set;}
[Managed C++]
public: __property bool get_AffectedByLighting();
public: __property void set_AffectedByLighting( bool );
[Unmanaged C++]
public: HRESULT get_AffectedByLighting(
    VARIANT_BOOL * pRetVal
);
public: HRESULT put_AffectedByLighting(
    VARIANT_BOOL AffectedByLighting
);
[Java]
public bool getAffectedByLighting();
public void setAffectedByLighting(
    bool
);
[Python - STK API ]
@property
def AffectedByLighting(self) -> bool:

@AffectedByLighting.setter
def AffectedByLighting(self, AffectedByLighting:bool) -> None:

Remarks

If lighting makes one side of the solid too dark, set this to false for the solid to have uniform color. When this is false, it is recommonded that Display Outline be true, so the shape of the solid is still decipherable.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.