Package ke.ric.renderer.api
Interface Scene
public interface Scene
Immutable engine-neutral scene. Implementations are provider-owned.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<List<CapturedEntity>> Immutable retained entity metadata; absent means unavailable, not an empty scene.default Optional<SceneCamera> Effective camera for this scene, including any reframe/roll.intheight()Returns output height in pixels; submitted settings must match.default Optional<CaptureProvenance> Original capture facts, absent for manual scenes and older providers.intversion()Returns the scene contract version, currently 1.intwidth()Returns output width in pixels; submitted settings must match.default longMonotonicSystem.nanoTime()timestamp of the first live world read, or zero when unavailable (including manual scenes and older providers).
-
Method Details
-
provenance
Original capture facts, absent for manual scenes and older providers. -
capturedEntities
Immutable retained entity metadata; absent means unavailable, not an empty scene. -
effectiveCamera
Effective camera for this scene, including any reframe/roll. -
version
int version()Returns the scene contract version, currently 1. -
width
int width()Returns output width in pixels; submitted settings must match. -
height
int height()Returns output height in pixels; submitted settings must match. -
worldCapturedNanos
default long worldCapturedNanos()MonotonicSystem.nanoTime()timestamp of the first live world read, or zero when unavailable (including manual scenes and older providers). Derivatives retain the original timestamp. Meaningful only within this server process; never persist it as a wall-clock time.
-