Describes all objects that can be moved around, rotated and scaled in the scene

interface OrbitalFacilityBase<T extends OrbitalObjectType> {
    model:
        | Extract<StarModel, { type: T }>
        | Extract<BlackHoleModel, { type: T }>
        | Extract<NeutronStarModel, { type: T }>
        | Extract<TelluricSatelliteModel, { type: T }>
        | Extract<GasPlanetModel, { type: T }>
        | Extract<TelluricPlanetModel, { type: T }>
        | Extract<JuliaSetModel, { type: T }>
        | Extract<MandelboxModel, { type: T }>
        | Extract<MandelbulbModel, { type: T }>
        | Extract<MengerSpongeModel, { type: T }>
        | Extract<SierpinskiPyramidModel, { type: T }>
        | Extract<SpaceElevatorModel, { type: T }>
        | Extract<SpaceStationModel, { type: T }>
        | Extract<CustomObjectModel, { type: T }>;
    targetInfo: TargetInfo;
    type: T;
    cancelLandingRequest(pad: LandingPad): void;
    computeCulling(camera: Camera): void;
    dispose(): void;
    getAvailableLandingPads(): LandingPad[];
    getBoundingRadius(): number;
    getLandingPads(): LandingPad[];
    getSubTargets(): Targetable[];
    getTransform(): TransformNode;
    getTypeName(): string;
    handleLandingRequest(request: LandingRequest): null | LandingPad;
    update(
        stellarObjects: Transformable[],
        parents: Transformable[],
        cameraWorldPosition: Vector3,
        deltaSeconds: number,
    ): void;
}

Type Parameters

Hierarchy (View Summary)

Implemented by

Properties

model:
    | Extract<StarModel, { type: T }>
    | Extract<BlackHoleModel, { type: T }>
    | Extract<NeutronStarModel, { type: T }>
    | Extract<TelluricSatelliteModel, { type: T }>
    | Extract<GasPlanetModel, { type: T }>
    | Extract<TelluricPlanetModel, { type: T }>
    | Extract<JuliaSetModel, { type: T }>
    | Extract<MandelboxModel, { type: T }>
    | Extract<MandelbulbModel, { type: T }>
    | Extract<MengerSpongeModel, { type: T }>
    | Extract<SierpinskiPyramidModel, { type: T }>
    | Extract<SpaceElevatorModel, { type: T }>
    | Extract<SpaceStationModel, { type: T }>
    | Extract<CustomObjectModel, { type: T }>
targetInfo: TargetInfo
type: T

Methods