SceneView

Read-only runtime view of a Scene. Exposed via AllScenes and accepted by EnterScene(SceneView, bool).

public class SceneView

Inheritance System.Object → SceneView

Properties

Description

Optional author description.

public string? Description { get; }
Property Value

System.String

DisplayName

Display name. The setter writes the raw source (object-initializer friendly); the resolver (set via SetDisplayNameResolver at hydration) overlays/ICU-formats it under the active locale on each access. Private members stay off the serializer’s public contract.

public string DisplayName { get; }
Property Value

System.String

Id

Writer’s human-readable scene id (e.g. scene_intro). Stable across runs; safe in expressions and analytics.

public string Id { get; }
Property Value

System.String

Trigger

Authored encounter trigger — CharacterTrigger, ItemTrigger, SelfTrigger, or null when the scene isn’t surfaced as an encounter. Mirrors the trigger taxonomy on Trigger so host code can filter scene lists by affordance kind (e.g. only Self-triggered or untriggered scenes in a Self-affordance picker).

public TriggerDescriptor? Trigger { get; }
Property Value

TriggerDescriptor

Uuid

Structural uuid — the universal cross-reference key. Use this when storing references to the scene in host state.

public string Uuid { get; }
Property Value

System.String

Docs last synced: 2026-07-08
Screenshot viewer