Skip to content

PortholeInfo

Schema Type: JSON Type: object

No Description Found

rotation

Type: MVector3

Rotation of the object

See Definitions/MVector3

alignRadial

Type: boolean or null

Do we try to automatically align this object to stand upright relative to the body's center? Stacks with rotation.
Defaults to true for geysers, tornados, and volcanoes, and false for everything else.


position

Type: MVector3

Position of the object

See Definitions/MVector3

isRelativeToParent

Type: boolean

Whether the positional and rotational coordinates are relative to parent instead of the root planet object.


parentPath

Type: string

The relative path from the planet to the parent of this object. Optional (will default to the root sector).


rename

Type: string

An optional rename of this object


revealFacts

Type: array

Fact IDs to reveal when peeking through the porthole.

Items

Type: string

No Description Found


fieldOfView

Type: number Default: 90

The field of view of the porthole camera.


target

Type: PortholeTargetInfo

The location of the camera when the player peeks through the porthole. Can be placed on a different planet.

See Definitions/PortholeTargetInfo