Skip to main content

Module domain

Module domain 

Source
Expand description

Scene documents, observations, identifiers, diagnostics, and SDK limits.

Modules§

wire_u64
Serde adapters that encode u64 values as canonical decimal strings.

Structs§

ActionName
Owned name of an action declared by an entity.
Capabilities
Capabilities explicitly supplied by a platform adapter.
Color
Eight-bit RGBA colour channels.
ConversationMessage
An owned chat record associated with a scene document.
Diagnostic
A recoverable compiler, validation, geometry, recording, or runtime error.
Entity
An owned scene node with geometry, presentation, and declared interactions.
EntityId
Owned identifier for an entity within a scene.
FrameId
Owned identifier of a spatial coordinate frame.
Material
Renderer-neutral material parameters.
Observation
Immutable spatial evidence. It is never inferred to be an authored transform.
Provenance
Immutable provenance supplied with an observation.
Quality
Producer-reported confidence and validity bound for an observation.
Quaternion
A scalar-last rotation quaternion.
SceneDocument
A serializable, owned Konjure scene and its resumable conversation context.
SceneId
Owned identifier for a scene.
SourceSpan
Half-open byte range and one-based source position for a diagnostic.
Timestamp
Timestamp whose epoch and scale are identified by its producing clock.
Transform
Local affine transform composed with parent transforms by the runtime.
Vec3
A three-component vector. Spatial values use metres unless documented otherwise.

Enums§

Action
A named interaction that an entity explicitly permits.
Animation
Time-based local transform animation evaluated by crate::Runtime.
ConversationRole
Author of a conversation message attached to a scene.
Geometry
A built-in primitive, grouping node, or adapter-owned mesh reference.

Constants§

FORMAT_VERSION
Current .konjure scene document format version.
MAX_ACTIONS_PER_ENTITY
Maximum declared actions on one entity.
MAX_ANIMATIONS_PER_ENTITY
Maximum declared animations on one entity.
MAX_CONVERSATION_MESSAGES
Maximum conversation messages attached to a scene document.
MAX_COORDINATE_M
Largest absolute coordinate or positive dimension accepted, in metres.
MAX_ENTITIES
Maximum entities in one validated scene document.
MAX_ID_BYTES
Maximum byte length of a scene, entity, action, or effect identifier.
MAX_NESTING
Maximum permitted parent-chain depth for an entity.
MAX_RUNTIME_EVENTS
Maximum retained runtime events; older events are discarded first.
MAX_SAMPLE_SECONDS
Largest runtime or recording sample time accepted, in seconds.
MAX_SOURCE_BYTES
Maximum UTF-8 source length accepted by crate::compile, in bytes.
MAX_SPIN_DEGREES_PER_SECOND
Largest absolute spin speed accepted, in degrees per second.
MAX_TEXT_BYTES
Maximum UTF-8 byte length of one conversation message.