Interface ILocationProfile
Reserved extension point for per-body local time and celestial context (deferred feature). A future Sky/Weather module will implement this interface to provide latitude, longitude, rotation period, axial tilt, and a per-body rate scale (Starfield-style local-vs-universal time).
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
public interface ILocationProfile
Remarks
Until a concrete implementation ships, ClockDefinition
carries a ScriptableObject-typed reference field whose accessor casts to this
interface, returning null when nothing is assigned. The runtime tolerates the
null and falls back to plain calendar-only behavior (no per-location offset).
No implementations of this interface exist in the current codebase; the contract is reserved so that designers can pre-author location assets and so the public API of ClockDefinition need not change when the Sky module lands.
Properties
AxialTiltDegrees
Axial tilt in degrees.
Declaration
float AxialTiltDegrees { get; }
Property Value
| Type | Description |
|---|---|
| float |
Latitude
Latitude in degrees, in [-90, 90].
Declaration
float Latitude { get; }
Property Value
| Type | Description |
|---|---|
| float |
Longitude
Longitude in degrees, in [-180, 180].
Declaration
float Longitude { get; }
Property Value
| Type | Description |
|---|---|
| float |
RateScale
Per-body rate scale applied on top of the master clock's rate. 1.0 = no scaling.
Declaration
float RateScale { get; }
Property Value
| Type | Description |
|---|---|
| float |
RotationPeriodSeconds
Rotation period in real seconds for this body. Earth ~= 86,164 (sidereal).
Declaration
float RotationPeriodSeconds { get; }
Property Value
| Type | Description |
|---|---|
| float |
TimeZoneOffsetHours
Time-zone offset in hours from the body's reference meridian.
Declaration
float TimeZoneOffsetHours { get; }
Property Value
| Type | Description |
|---|---|
| float |