CelestialObject.TextureFileName Property

Top 

Description

This property has been Deprecated. Please use CelestialObject.Globe.SurfaceLayer.DaytimeImageFilename instead.

 

An image file to apply to the surface of the CelestialObject. The image may be in jpeg, png, tiff, gif, or bmp format. This property should be set before the first ViewWindow update. It has no effect for any built-in global CelestialObject, and the texture used for these objects should be set in User Preferences. The texture can be overridden for an individual view using the ViewWindow.SetCelestialObjectDaytimeImage() method.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Attributes

Type:

string

Access:

read/write

Default Value:

""

 

Syntax

myString1 = myCelestialObject1.TextureFileName;

 

myCelestialObject1.TextureFileName = myString1;

 

See also

CelestialObject Object

CelestialObjects Guide