Class PointOfInterestSettings
One scene's point-of-interest choices: asked before every cut (2026-10-10) and editable afterwards.
public class PointOfInterestSettings : ScriptableObject
- Inheritance
-
ObjectScriptableObjectPointOfInterestSettings
- 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
Saved beside the scene's atlas entry, not in its terrain folder, so it exists before the first cut and a re-cut (which clears the terrain folder) keeps it. The atlas entry points at it (WorldAtlasScene.PointsOfInterest), and the scene's ScenePointOfInterestSettings shows it in the inspector.
Fields
Capital
Whether this scene holds its world's capital city.
public bool Capital
Field Value
CaveDepthMax
The most a cave system goes under its mouth, metres.
[Tooltip("The most a cave, ice cave or lava tube goes down under its mouth, m. Its depth is still rolled at random, within this scene's range; the deepest systems have the most levels and cost the most to cut.")]
[Range(3, 500)]
public float CaveDepthMax
Field Value
CaveDepthMin
The least a cave system goes under its mouth, metres (2026-10-21): its random depth is rolled within this scene's range.
[Tooltip("The least a cave, ice cave or lava tube goes down under its mouth, m. Its depth is still rolled at random, within this scene's range: shallow pockets need this under 12 m. A lava tube goes no deeper than 120 m whatever this says, and a cave whose mouth stands low over the sea stays shallower.")]
[Range(3, 500)]
public float CaveDepthMin
Field Value
DefaultCaveDepthMax
The widest range a scene may ask for (the cave planner's own: CaveSystem.LeastDepth and MaxCaveDepth).
public const float DefaultCaveDepthMax = 500
Field Value
DefaultCaveDepthMin
The widest range a scene may ask for (the cave planner's own: CaveSystem.LeastDepth and MaxCaveDepth).
public const float DefaultCaveDepthMin = 3
Field Value
Density
public PointOfInterestDensity Density
Field Value
Multiplier
Scales every placed kind's budget after the density preset.
[Range(0, 4)]
public float Multiplier
Field Value
Overrides
public List<PointOfInterestKindOverride> Overrides
Field Value
Properties
CaveDepthRange
The scene's cave depth range, in order and within the widest.
public Vector2 CaveDepthRange { get; }
Property Value
- Vector2
DensityScale
The density preset as a budget multiplier.
public float DensityScale { get; }
Property Value
Methods
OverrideFor(POIType)
The override for a kind, or null.
public PointOfInterestKindOverride OverrideFor(POIType kind)
Parameters
kindPOIType
Returns
PathBeside(string, string)
The settings asset path beside an atlas entry's asset path.
public static string PathBeside(string atlasEntryPath, string sanitizedSceneName)