Interface IMySolarOccludable
Describes an entity that registers when it is in a planetary shadow (PB scripting interface).
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Syntax
public interface IMySolarOccludable
Properties
IsSolarOccluded
Whether the entity is in a planetary shadow.
Declaration
bool IsSolarOccluded { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetEntityId()
Obtains the entity ID either directly from itself or from its containing entity if the interface is used on a component.
Declaration
long GetEntityId()
Returns
Type | Description |
---|---|
System.Int64 | ID of the given entity. |