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





Windows & Linux

Description

Gets or sets whether or not lighting is enabled.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Enabled() As Boolean
[C#]
public bool Enabled {get; set;}
[Managed C++]
public: __property bool get_Enabled();
public: __property void set_Enabled( bool );
[Unmanaged C++]
public: HRESULT get_Enabled(
    VARIANT_BOOL * pRetVal
);
public: HRESULT put_Enabled(
    VARIANT_BOOL Enabled
);
[Java]
public bool getEnabled();
public void setEnabled(
    bool
);
[Python - STK API ]
@property
def Enabled(self) -> bool:

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

Remarks

This applies to all objects in the scene, including central bodies, globe overlays, and primitives.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.