Spacecraft.InShadow Method

Top 

Description

Returns an integer value indicating whether the Vehicle is in shadow. A value of 1 is returned when the Vehicle is in shadow, and a 0 is returned if it is not.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

Spacecraft.InShadow()

Variable

Only the Vehicle's CentralBody will be considered in shadow calculations.

Spacecraft.InShadow(CelestialObject occultingCelestialObject)

Variable

Returns true if the calling Spacecraft is in the shadow of any of the specified CelestialObjects at the Vehicle's Epoch.

Spacecraft.InShadow(Variable occultingBodyID)

Variable

Returns true if the calling Vehicle is in the shadow of any of the CelestialObjects specified by their BodyID at the Vehicle's Epoch.

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide