Overseer.World Object

This object is used to control the settings and appearance of the virtual 3D environment the traveler is exploring.

Properties (Methods)

(clouds3D, dayDuration, dayTime, meterScale, Ray, sunMoon, terrainMirror, textLabels, timeFlow, compass, Weather)

 

boolean clouds3D

   

Hides or shows 3D clouds in the current view mode.

 

long dayDuration

   

How may seconds of real-world time equals one day in the 3D virtual world. For example, setting this to 240 would mean that every 10 seconds the traveler experiences 1 hour of virtual time.

 

double dayTime

   

This will contain the current time of day. Values will range from 0 to 1. A value of 0 indicates it is midnight, 0.5 is noon, and 1 is a moment before midnight.

 

double meterScale

   

An internal number used by the graphics engine to approximate the size of one meter. Other map parameters such as traveler height, fog ranges, traveler steps, etc. derive from this property.

 

Object Ray

   

(See Object description)

 

boolean sunMoon

   

Hides or shows the sun/moon objects in the sky.

 

boolean terrainMirror

   

If true, the texture mapping image of the terrain is mirror tiled. If the terrain texture is a seamless image, set this to false to reduce processing. All terrain textures provided by CO3D are seamless images.

 

boolean textLabels

   

Hides or shows text labels on the map.

 

boolean timeFlow

   

Setting this to false will stop time.

 

Object Weather

   

(See Object description)

Methods (Properties)

(GetWorldSizeMin, GetWorldSizeMax)

 

Vector GetWorldSizeMin()

   

Returns a Vector object containing the x, y, and z values for the minimum World bound box.

 

Vector GetWorldSizeMax()

   

Returns a Vector object containing the x, y, and z values for the maximum World bound box.



Copyright© 2001 Thought Guild Inc.