AGI STK Graphics 11 Send comments on this topic.
AffectedByLighting Property (IAgStkGraphicsSolidPrimitive)
See Also 





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 NewAffectedByLighting
);

[Java]
public bool getAffectedByLighting();public void setAffectedByLighting(
bool
);

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

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1