Creator SDK

Authoring and runtime SDK for XR medical-training simulations.

Component View: Creator SDK - Runtime SDKInside the SceneGraph runtime — the module facade, the graph-execution engine, the authored action model with its runtime behaviors, per-action steps, and gamification effects.Creator SDK[Software System]Runtime SDK[Container: Unity / C# (.NET) — Runtime asmdefs from core, experimental, and omen packages]CoreExtraSceneGraph Module[Component: C#] Module facade: Skip / Undo / ResetAPI, active-action tracking, and thelifecycle events other modulessubscribe to; owns the runner.Graph Runner[Component: C#  GraphRunner + ActionFactory] Execution engine: clones theauthored graph, traverses it as astate machine driven byaction-completion triggers, andenforces the license action limit.Action Model[Component: C#  17 BaseActionData subtypes +nested Factory classes] Authored node types  interactionactions (Insert / Use / Remove /Question / ...) and structural logic(Start / End / And / Or / Repeat /Group); each carries a nestedFactory that spawns its objects.Runtime Behaviors[Component: C#  InsertBehavior, UseBehavior, ... +ManagedObject] MonoBehaviours on spawned objectsthat detect the trainee's interactionand trigger action completion;ManagedObject ties object lifetimeto graph traversal.Step System[Component: C#  7 Step subclasses over StepEventphases] Optional per-action hooks at sixlifecycle phases: spawn / destroyobjects, set animator properties,send messages, call functions.Gamification Patterns[Component: C#  4 EffectData types + 22implementors] Ghost, label, arrow, and pointguidance  per (action x effect)implementors resolved by reflectionat graph load and fired on everylifecycle transition.Analytics[Component: C#  MAGES.Analytics.Runtime] Captures training performancemetrics for review and grading.User Authentication[Component: C# MAGES.UserAuthentication.Runtime] Authenticates the trainee andvalidates their license at runtime.Interaction[Component: C#  MAGES.Interaction.Runtime] Turns hand and controllermanipulations into simulationevents.Networking[Component: C#  MAGES.Networking.Runtime] Synchronises simulation state acrossmultiplayer participants.Recorder[Component: C#  MAGES.Recorder.Runtime +optional capture asmdefs] Captures full session playback forlater review.Interaction → Networking — Replicates grab/select state [Photon PUN]Replicates grab/select state[Photon PUN]SceneGraphModule → GraphRunner — Owns; translates Skip / Undo / Reset into runner callsOwns; translates Skip / Undo / Reset into runner callsGraphRunner → ActionModel — Invokes each action's nested Factory (initialize / undo)Invokes each action's nested Factory (initialize / undo)ActionModel → RuntimeBehaviors — Spawn objects + wire the behaviors that report completionSpawn objects + wire the behaviors that report completionRuntimeBehaviors → GraphRunner — Completion trigger performs the action and advances the graphCompletion trigger performs the action and advances the graphGraphRunner → StepSystem — Runs steps around every lifecycle transitionRuns steps around every lifecycle transitionGraphRunner → GamificationPatterns — Fires Initialized / Performed / Undone effectsFires Initialized / Performed / Undone effectsSceneGraphModule → Analytics — Broadcasts action lifecycle events (OnActionInitialized / Performed / Undone)Broadcasts action lifecycle events (OnActionInitialized / Performed / Undone)SceneGraphModule → Recorder — Action progress captured into recordings (SceneGraphCaptor)Action progress captured into recordings (SceneGraphCaptor)GraphRunner → Networking — Requests host state changes for replicated actionsRequests host state changes for replicated actionsGraphRunner → UserAuthentication — License gate: max-action limit + login requirementLicense gate: max-action limit + login requirementActionModel → Interaction — Adds grabbables to spawned action objectsAdds grabbables to spawned action objects
Component View: Creator SDK - Runtime SDK
Inside the SceneGraph runtime — the module facade, the graph-execution engine, the authored action model with its runtime behaviors, per-action steps, and gamification effects.
LegendCore moduleExtra moduleRelationship