LavishNav:Universe (Region Type)

From Lavish Software Wiki
Jump to navigation Jump to search

Introduction

What is a Universe?

A universe is infinite in size and therefore contains everything. It has a defined point to use as the center point (you know, the middle of infinite, which would otherwise be assumed to be 0).

Universe Behaviors

Containment

By definition, a universe contains everything. It's impossible not to contain a given point.

Nearest Point

The nearest point within this region to any given point is the given point.

Center Point

The center point of a universe is its defined location.

Universe Characteristics

Universes are descendants of the base region type. Any characteristics of the base region type may be applied in addition to the universe-specific characteristics described below.

Universe-Specific Properties

  • X
X-coordinate. Defaults to 0.
  • Y
Y-coordinate. Defaults to 0.
  • Z
Z-coordinate. Defaults to 0.

Programming with universes

LavishScript
lnavuniverse Object Type
.NET
Universe class

Examples

Example XML code

<Universe Name="Everything" Unique="1">
</Universe>

See Also