Class ScenePointsOfInterest
The points of interest a generated scene was given, written beside its terrain as
<Scene> Points of Interest.asset: the one source of truth everything else is derived from.
public class ScenePointsOfInterest : ScriptableObject
- Inheritance
-
ObjectScriptableObjectScenePointsOfInterest
- Inherited Members
-
ScriptableObject.SetDirty()ScriptableObject.CreateInstance<T>()Object.GetEntityId()Object.MemberwiseClone()Object.GetInstanceID()Object.GetHashCode()Object.InstantiateAsync<T>(T)Object.InstantiateAsync<T>(T, Transform)Object.InstantiateAsync<T>(T, Vector3, Quaternion)Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Scene)Object.Instantiate<T>(T, InstantiateParameters)Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.FindObjectsByType<T>()Object.FindObjectsByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
Remarks
The scene's ScenePointOfInterest objects, the "POI" prop set, the spawners, the world map's entries and the atlas's view are all built from this. The PLAN (pads, keep-outs, cave descriptors) is kept too, because the plan changes the ground: a repaint reads it back instead of planning again on ground that the first plan already flattened.
Fields
CaveLife
Where the caves' animals live (SceneCaveLifeSpot): flat patches of their floors, walls and roofs, boxes of clear air, pools, mouths, baked by the cave dressing from each system's field. Read by the client's ambient life only (SceneCaveLife); a scene cut before them has none, and its caves are empty until it is cut again.
public List<SceneCaveLifeSpot> CaveLife
Field Value
Climbables
The ladders, rope ladders and ropes the sites' caves and mines were given, as laid (SceneClimbable). Read on the server as well as the client: climbing is predicted movement the server is the authority for, and the server's NavMesh links its NPCs climb come from these (SceneClimbables).
public List<SceneClimbable> Climbables
Field Value
CurrentFormat
Bumped when the meaning of the stored data changes, so an old asset is regenerated, not misread.
public const int CurrentFormat = 1
Field Value
Emitters
Where the sites' pieces give off smoke, fire and light (chimneys, fires, forges, lanterns), as laid.
public List<SceneEmitter> Emitters
Field Value
Format
public int Format
Field Value
KeepOuts
public List<PointOfInterestKeepOut> KeepOuts
Field Value
Pads
public List<PointOfInterestPad> Pads
Field Value
PathEarthMap
Per terrain layer (array slice), the slice of its biome's own path ground (footpaths, trails, tracks), road ground and cobbles, −1 for none: the overlay wears a way into the ground of the biome under each pixel, and paves its cobbled stretches with that biome's stone. 32 entries each. A scene cut before the cobbles had a map (2026-10-15) has none, and paves with PathLayers.z everywhere until it is repainted.
public float[] PathEarthMap
Field Value
- float[]
PathLayers
The terrain array slices the paths are surfaced from: x trodden earth, y gravel, z stone (−1 for none). The scene's palette carries the three grounds for them; the slice is the palette's layer index.
public Vector4 PathLayers
Field Value
- Vector4
PathRoadMap
public float[] PathRoadMap
Field Value
- float[]
PathStoneMap
public float[] PathStoneMap
Field Value
- float[]
Paths
The ways between the sites: roads, tracks, footpaths and trails routed on the ground, and each settlement's own streets (ScenePath). Drawn by the client's path surface (ScenePathSurfaceBinder).
public List<ScenePath> Paths
Field Value
Points
public List<PointOfInterestRecord> Points
Field Value
Rooms
The sites' rooms, as laid: where the sky's light reaches only through windows and doors.
public List<SceneRoom> Rooms
Field Value
SceneName
The scene this was generated for.
public string SceneName
Field Value
Seed
The scene's POI seed (scene seed and the "POI" salt), for display and tests.
public int Seed
Field Value
Shapes
What the terrain shapers planned for their sites (see PointOfInterestShape).
public List<PointOfInterestShape> Shapes
Field Value
Methods
AssetPath(string, string)
The asset path beside a scene's terrain folder.
public static string AssetPath(string terrainFolder, string sanitizedSceneName)
Parameters
Returns
Find(int)
The record with this id, or null.
public PointOfInterestRecord Find(int id)
Parameters
idint
Returns
IsKeptOut(float, float)
Whether (x, z) lies in any keep-out disc.
public bool IsKeptOut(float x, float z)