@aura3d/engine 1.0.2 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +331 -16
- package/dist/animation/AnimationClipEvents.d.ts +57 -0
- package/dist/animation/AnimationClipEvents.d.ts.map +1 -0
- package/dist/animation/AnimationClipEvents.js +171 -0
- package/dist/animation/AnimationClipEvents.js.map +1 -0
- package/dist/animation/AnimationClipRegistry.d.ts +76 -0
- package/dist/animation/AnimationClipRegistry.d.ts.map +1 -0
- package/dist/animation/AnimationClipRegistry.js +130 -0
- package/dist/animation/AnimationClipRegistry.js.map +1 -0
- package/dist/animation/AnimationController.d.ts +168 -0
- package/dist/animation/AnimationController.d.ts.map +1 -0
- package/dist/animation/AnimationController.js +619 -0
- package/dist/animation/AnimationController.js.map +1 -0
- package/dist/animation/HumanoidRetargeting.d.ts +76 -0
- package/dist/animation/HumanoidRetargeting.d.ts.map +1 -0
- package/dist/animation/HumanoidRetargeting.js +331 -0
- package/dist/animation/HumanoidRetargeting.js.map +1 -0
- package/dist/animation/browser-index.d.ts +18 -0
- package/dist/animation/browser-index.d.ts.map +1 -1
- package/dist/animation/browser-index.js +13 -0
- package/dist/animation/browser-index.js.map +1 -1
- package/dist/animation/index.d.ts +16 -1
- package/dist/animation/index.d.ts.map +1 -1
- package/dist/animation/index.js +11 -1
- package/dist/animation/index.js.map +1 -1
- package/dist/animation/threejs-compatibility/AnimationDiagnostics.d.ts.map +1 -1
- package/dist/animation/threejs-compatibility/AnimationDiagnostics.js +3 -5
- package/dist/animation/threejs-compatibility/AnimationDiagnostics.js.map +1 -1
- package/dist/assets/GLTFAnimationRuntime.js +1 -1
- package/dist/assets/GLTFLoader.js +1 -1
- package/dist/aura3d-cli/cli.js +194 -8
- package/dist/aura3d-cli/cli.js.map +1 -1
- package/dist/aura3d-cli/index.d.ts +280 -3
- package/dist/aura3d-cli/index.d.ts.map +1 -1
- package/dist/aura3d-cli/index.js +886 -4
- package/dist/aura3d-cli/index.js.map +1 -1
- package/dist/aura3d-cli/pull-bridge.d.ts +95 -0
- package/dist/aura3d-cli/pull-bridge.d.ts.map +1 -0
- package/dist/aura3d-cli/pull-bridge.js +247 -0
- package/dist/aura3d-cli/pull-bridge.js.map +1 -0
- package/dist/create-aura3d/index.d.ts +1 -1
- package/dist/create-aura3d/index.d.ts.map +1 -1
- package/dist/create-aura3d/index.js +9 -2
- package/dist/create-aura3d/index.js.map +1 -1
- package/dist/editor-runtime/ProjectSerializer.d.ts +74 -1
- package/dist/editor-runtime/ProjectSerializer.d.ts.map +1 -1
- package/dist/editor-runtime/ProjectSerializer.js +123 -6
- package/dist/editor-runtime/ProjectSerializer.js.map +1 -1
- package/dist/editor-runtime/TimelineModel.d.ts +18 -0
- package/dist/editor-runtime/TimelineModel.d.ts.map +1 -1
- package/dist/editor-runtime/TimelineModel.js +67 -3
- package/dist/editor-runtime/TimelineModel.js.map +1 -1
- package/dist/editor-runtime/TimelineRuntimeBridge.d.ts +98 -0
- package/dist/editor-runtime/TimelineRuntimeBridge.d.ts.map +1 -0
- package/dist/editor-runtime/TimelineRuntimeBridge.js +186 -0
- package/dist/editor-runtime/TimelineRuntimeBridge.js.map +1 -0
- package/dist/editor-runtime/index.d.ts +3 -1
- package/dist/editor-runtime/index.d.ts.map +1 -1
- package/dist/editor-runtime/index.js +1 -0
- package/dist/editor-runtime/index.js.map +1 -1
- package/dist/engine/agent-api/AnimationController.d.ts +607 -0
- package/dist/engine/agent-api/AnimationController.d.ts.map +1 -0
- package/dist/engine/agent-api/AnimationController.js +2192 -0
- package/dist/engine/agent-api/AnimationController.js.map +1 -0
- package/dist/engine/agent-api/AssetEvidence.d.ts +88 -0
- package/dist/engine/agent-api/AssetEvidence.d.ts.map +1 -0
- package/dist/engine/agent-api/AssetEvidence.js +157 -0
- package/dist/engine/agent-api/AssetEvidence.js.map +1 -0
- package/dist/engine/agent-api/AuraAppHandle.d.ts +55 -0
- package/dist/engine/agent-api/AuraAppHandle.d.ts.map +1 -0
- package/dist/engine/agent-api/AuraAppHandle.js +15 -0
- package/dist/engine/agent-api/AuraAppHandle.js.map +1 -0
- package/dist/engine/agent-api/AuraVoiceBridge.d.ts +96 -0
- package/dist/engine/agent-api/AuraVoiceBridge.d.ts.map +1 -0
- package/dist/engine/agent-api/AuraVoiceBridge.js +370 -0
- package/dist/engine/agent-api/AuraVoiceBridge.js.map +1 -0
- package/dist/engine/agent-api/CartoonDirector.d.ts +95 -0
- package/dist/engine/agent-api/CartoonDirector.d.ts.map +1 -0
- package/dist/engine/agent-api/CartoonDirector.js +342 -0
- package/dist/engine/agent-api/CartoonDirector.js.map +1 -0
- package/dist/engine/agent-api/CartoonPerformance.d.ts +149 -0
- package/dist/engine/agent-api/CartoonPerformance.d.ts.map +1 -0
- package/dist/engine/agent-api/CartoonPerformance.js +317 -0
- package/dist/engine/agent-api/CartoonPerformance.js.map +1 -0
- package/dist/engine/agent-api/CartoonRenderQueue.d.ts +132 -0
- package/dist/engine/agent-api/CartoonRenderQueue.d.ts.map +1 -0
- package/dist/engine/agent-api/CartoonRenderQueue.js +385 -0
- package/dist/engine/agent-api/CartoonRenderQueue.js.map +1 -0
- package/dist/engine/agent-api/CharacterAssembly.d.ts +126 -0
- package/dist/engine/agent-api/CharacterAssembly.d.ts.map +1 -0
- package/dist/engine/agent-api/CharacterAssembly.js +280 -0
- package/dist/engine/agent-api/CharacterAssembly.js.map +1 -0
- package/dist/engine/agent-api/DialoguePerformance.d.ts +150 -0
- package/dist/engine/agent-api/DialoguePerformance.d.ts.map +1 -0
- package/dist/engine/agent-api/DialoguePerformance.js +335 -0
- package/dist/engine/agent-api/DialoguePerformance.js.map +1 -0
- package/dist/engine/agent-api/FrameLoop.d.ts +70 -0
- package/dist/engine/agent-api/FrameLoop.d.ts.map +1 -0
- package/dist/engine/agent-api/FrameLoop.js +165 -0
- package/dist/engine/agent-api/FrameLoop.js.map +1 -0
- package/dist/engine/agent-api/GameAssetValidation.d.ts +279 -0
- package/dist/engine/agent-api/GameAssetValidation.d.ts.map +1 -0
- package/dist/engine/agent-api/GameAssetValidation.js +719 -0
- package/dist/engine/agent-api/GameAssetValidation.js.map +1 -0
- package/dist/engine/agent-api/GameEvidence.d.ts +148 -0
- package/dist/engine/agent-api/GameEvidence.d.ts.map +1 -0
- package/dist/engine/agent-api/GameEvidence.js +269 -0
- package/dist/engine/agent-api/GameEvidence.js.map +1 -0
- package/dist/engine/agent-api/GameRuntime.d.ts +931 -0
- package/dist/engine/agent-api/GameRuntime.d.ts.map +1 -0
- package/dist/engine/agent-api/GameRuntime.js +2229 -0
- package/dist/engine/agent-api/GameRuntime.js.map +1 -0
- package/dist/engine/agent-api/GameSceneBridge.d.ts +54 -0
- package/dist/engine/agent-api/GameSceneBridge.d.ts.map +1 -0
- package/dist/engine/agent-api/GameSceneBridge.js +110 -0
- package/dist/engine/agent-api/GameSceneBridge.js.map +1 -0
- package/dist/engine/agent-api/PromptAnimationContract.d.ts +278 -0
- package/dist/engine/agent-api/PromptAnimationContract.d.ts.map +1 -0
- package/dist/engine/agent-api/PromptAnimationContract.js +238 -0
- package/dist/engine/agent-api/PromptAnimationContract.js.map +1 -0
- package/dist/engine/agent-api/PromptAnimationEvidence.d.ts +183 -0
- package/dist/engine/agent-api/PromptAnimationEvidence.d.ts.map +1 -0
- package/dist/engine/agent-api/PromptAnimationEvidence.js +454 -0
- package/dist/engine/agent-api/PromptAnimationEvidence.js.map +1 -0
- package/dist/engine/agent-api/RuntimeNodeHandle.d.ts +100 -0
- package/dist/engine/agent-api/RuntimeNodeHandle.d.ts.map +1 -0
- package/dist/engine/agent-api/RuntimeNodeHandle.js +36 -0
- package/dist/engine/agent-api/RuntimeNodeHandle.js.map +1 -0
- package/dist/engine/agent-api/ShotTimeline.d.ts +179 -0
- package/dist/engine/agent-api/ShotTimeline.d.ts.map +1 -0
- package/dist/engine/agent-api/ShotTimeline.js +264 -0
- package/dist/engine/agent-api/ShotTimeline.js.map +1 -0
- package/dist/engine/agent-api/VisemeController.d.ts +89 -0
- package/dist/engine/agent-api/VisemeController.d.ts.map +1 -0
- package/dist/engine/agent-api/VisemeController.js +207 -0
- package/dist/engine/agent-api/VisemeController.js.map +1 -0
- package/dist/engine/agent-api/game-kits/fighting.d.ts +123 -0
- package/dist/engine/agent-api/game-kits/fighting.d.ts.map +1 -0
- package/dist/engine/agent-api/game-kits/fighting.js +483 -0
- package/dist/engine/agent-api/game-kits/fighting.js.map +1 -0
- package/dist/engine/agent-api/game-kits/index.d.ts +15 -0
- package/dist/engine/agent-api/game-kits/index.d.ts.map +1 -0
- package/dist/engine/agent-api/game-kits/index.js +6 -0
- package/dist/engine/agent-api/game-kits/index.js.map +1 -0
- package/dist/engine/agent-api/humanoid-walk-runtime.d.ts +18 -81
- package/dist/engine/agent-api/humanoid-walk-runtime.d.ts.map +1 -1
- package/dist/engine/agent-api/humanoid-walk-runtime.js +4 -279
- package/dist/engine/agent-api/humanoid-walk-runtime.js.map +1 -1
- package/dist/engine/agent-api/index.d.ts +490 -4
- package/dist/engine/agent-api/index.d.ts.map +1 -1
- package/dist/engine/agent-api/index.js +759 -1802
- package/dist/engine/agent-api/index.js.map +1 -1
- package/dist/engine/agent-api/particle-fountain-runtime.d.ts +5 -80
- package/dist/engine/agent-api/particle-fountain-runtime.d.ts.map +1 -1
- package/dist/engine/agent-api/particle-fountain-runtime.js +7 -291
- package/dist/engine/agent-api/particle-fountain-runtime.js.map +1 -1
- package/dist/engine/agent-api/product-viewer-runtime.d.ts +17 -107
- package/dist/engine/agent-api/product-viewer-runtime.d.ts.map +1 -1
- package/dist/engine/agent-api/product-viewer-runtime.js +4 -330
- package/dist/engine/agent-api/product-viewer-runtime.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/physics/CollisionVolumes.d.ts +57 -0
- package/dist/physics/CollisionVolumes.d.ts.map +1 -0
- package/dist/physics/CollisionVolumes.js +159 -0
- package/dist/physics/CollisionVolumes.js.map +1 -0
- package/dist/physics/HitboxWorld.d.ts +229 -0
- package/dist/physics/HitboxWorld.d.ts.map +1 -0
- package/dist/physics/HitboxWorld.js +640 -0
- package/dist/physics/HitboxWorld.js.map +1 -0
- package/dist/physics/KinematicBody.d.ts +157 -0
- package/dist/physics/KinematicBody.d.ts.map +1 -0
- package/dist/physics/KinematicBody.js +405 -0
- package/dist/physics/KinematicBody.js.map +1 -0
- package/dist/physics/KinematicWorld.d.ts +58 -0
- package/dist/physics/KinematicWorld.d.ts.map +1 -0
- package/dist/physics/KinematicWorld.js +246 -0
- package/dist/physics/KinematicWorld.js.map +1 -0
- package/dist/physics/index.d.ts +4 -0
- package/dist/physics/index.d.ts.map +1 -1
- package/dist/physics/index.js +4 -0
- package/dist/physics/index.js.map +1 -1
- package/dist/rendering/ForwardPass.js +2 -2
- package/dist/rendering/ShaderLibrary.js +2 -2
- package/dist/rendering/SkinnedLitMaterial.js +3 -3
- package/dist/rendering/SkinnedUnlitMaterial.js +3 -3
- package/dist/scene/Renderable.js +2 -2
- package/dist/scripting/VisualGraph.d.ts +2 -1
- package/dist/scripting/VisualGraph.d.ts.map +1 -1
- package/dist/scripting/VisualGraph.js +118 -1
- package/dist/scripting/VisualGraph.js.map +1 -1
- package/dist/scripting/VisualGraphContext.d.ts +123 -0
- package/dist/scripting/VisualGraphContext.d.ts.map +1 -0
- package/dist/scripting/VisualGraphContext.js +2 -0
- package/dist/scripting/VisualGraphContext.js.map +1 -0
- package/dist/scripting/VisualGraphExecutor.d.ts +6 -1
- package/dist/scripting/VisualGraphExecutor.d.ts.map +1 -1
- package/dist/scripting/VisualGraphExecutor.js +364 -7
- package/dist/scripting/VisualGraphExecutor.js.map +1 -1
- package/dist/scripting/VisualNodeCatalog.d.ts +1 -1
- package/dist/scripting/VisualNodeCatalog.d.ts.map +1 -1
- package/dist/scripting/VisualNodeCatalog.js +61 -1
- package/dist/scripting/VisualNodeCatalog.js.map +1 -1
- package/dist/scripting/index.d.ts +1 -0
- package/dist/scripting/index.d.ts.map +1 -1
- package/dist/scripting/index.js.map +1 -1
- package/package.json +193 -121
- package/templates/product-viewer/src/main.ts +1 -0
- package/dist/three-compat/ThreeApiInventory.d.ts +0 -18
- package/dist/three-compat/ThreeApiInventory.d.ts.map +0 -1
- package/dist/three-compat/ThreeApiInventory.js +0 -99
- package/dist/three-compat/ThreeApiInventory.js.map +0 -1
- package/dist/three-compat/ThreeCompatibilityMatrix.d.ts +0 -30
- package/dist/three-compat/ThreeCompatibilityMatrix.d.ts.map +0 -1
- package/dist/three-compat/ThreeCompatibilityMatrix.js +0 -69
- package/dist/three-compat/ThreeCompatibilityMatrix.js.map +0 -1
- package/dist/three-compat/animation/index.d.ts +0 -3
- package/dist/three-compat/animation/index.d.ts.map +0 -1
- package/dist/three-compat/animation/index.js +0 -2
- package/dist/three-compat/animation/index.js.map +0 -1
- package/dist/three-compat/cameras/index.d.ts +0 -24
- package/dist/three-compat/cameras/index.d.ts.map +0 -1
- package/dist/three-compat/cameras/index.js +0 -44
- package/dist/three-compat/cameras/index.js.map +0 -1
- package/dist/three-compat/controls/index.d.ts +0 -3
- package/dist/three-compat/controls/index.d.ts.map +0 -1
- package/dist/three-compat/controls/index.js +0 -2
- package/dist/three-compat/controls/index.js.map +0 -1
- package/dist/three-compat/core/Object3DCompat.d.ts +0 -62
- package/dist/three-compat/core/Object3DCompat.d.ts.map +0 -1
- package/dist/three-compat/core/Object3DCompat.js +0 -112
- package/dist/three-compat/core/Object3DCompat.js.map +0 -1
- package/dist/three-compat/core/RaycasterCompat.d.ts +0 -18
- package/dist/three-compat/core/RaycasterCompat.d.ts.map +0 -1
- package/dist/three-compat/core/RaycasterCompat.js +0 -28
- package/dist/three-compat/core/RaycasterCompat.js.map +0 -1
- package/dist/three-compat/core/SceneCompat.d.ts +0 -8
- package/dist/three-compat/core/SceneCompat.d.ts.map +0 -1
- package/dist/three-compat/core/SceneCompat.js +0 -8
- package/dist/three-compat/core/SceneCompat.js.map +0 -1
- package/dist/three-compat/geometries/index.d.ts +0 -67
- package/dist/three-compat/geometries/index.d.ts.map +0 -1
- package/dist/three-compat/geometries/index.js +0 -114
- package/dist/three-compat/geometries/index.js.map +0 -1
- package/dist/three-compat/helpers/index.d.ts +0 -40
- package/dist/three-compat/helpers/index.d.ts.map +0 -1
- package/dist/three-compat/helpers/index.js +0 -129
- package/dist/three-compat/helpers/index.js.map +0 -1
- package/dist/three-compat/index.d.ts +0 -32
- package/dist/three-compat/index.d.ts.map +0 -1
- package/dist/three-compat/index.js +0 -22
- package/dist/three-compat/index.js.map +0 -1
- package/dist/three-compat/lights/index.d.ts +0 -35
- package/dist/three-compat/lights/index.d.ts.map +0 -1
- package/dist/three-compat/lights/index.js +0 -39
- package/dist/three-compat/lights/index.js.map +0 -1
- package/dist/three-compat/loaders/index.d.ts +0 -54
- package/dist/three-compat/loaders/index.d.ts.map +0 -1
- package/dist/three-compat/loaders/index.js +0 -79
- package/dist/three-compat/loaders/index.js.map +0 -1
- package/dist/three-compat/materials/index.d.ts +0 -70
- package/dist/three-compat/materials/index.d.ts.map +0 -1
- package/dist/three-compat/materials/index.js +0 -85
- package/dist/three-compat/materials/index.js.map +0 -1
- package/dist/three-compat/math/index.d.ts +0 -34
- package/dist/three-compat/math/index.d.ts.map +0 -1
- package/dist/three-compat/math/index.js +0 -90
- package/dist/three-compat/math/index.js.map +0 -1
- package/dist/three-compat/migration/CompatibilityWarnings.d.ts +0 -6
- package/dist/three-compat/migration/CompatibilityWarnings.d.ts.map +0 -1
- package/dist/three-compat/migration/CompatibilityWarnings.js +0 -8
- package/dist/three-compat/migration/CompatibilityWarnings.js.map +0 -1
- package/dist/three-compat/migration/ImportMap.d.ts +0 -2
- package/dist/three-compat/migration/ImportMap.d.ts.map +0 -1
- package/dist/three-compat/migration/ImportMap.js +0 -10
- package/dist/three-compat/migration/ImportMap.js.map +0 -1
- package/dist/three-compat/migration/ThreeToA3DAdapter.d.ts +0 -8
- package/dist/three-compat/migration/ThreeToA3DAdapter.d.ts.map +0 -1
- package/dist/three-compat/migration/ThreeToA3DAdapter.js +0 -20
- package/dist/three-compat/migration/ThreeToA3DAdapter.js.map +0 -1
- package/dist/three-compat/postprocessing/index.d.ts +0 -2
- package/dist/three-compat/postprocessing/index.d.ts.map +0 -1
- package/dist/three-compat/postprocessing/index.js +0 -2
- package/dist/three-compat/postprocessing/index.js.map +0 -1
- package/dist/three-compat/render-targets/index.d.ts +0 -17
- package/dist/three-compat/render-targets/index.d.ts.map +0 -1
- package/dist/three-compat/render-targets/index.js +0 -29
- package/dist/three-compat/render-targets/index.js.map +0 -1
- package/dist/three-compat/shaders/index.d.ts +0 -3
- package/dist/three-compat/shaders/index.d.ts.map +0 -1
- package/dist/three-compat/shaders/index.js +0 -3
- package/dist/three-compat/shaders/index.js.map +0 -1
- package/dist/three-compat/textures/index.d.ts +0 -19
- package/dist/three-compat/textures/index.d.ts.map +0 -1
- package/dist/three-compat/textures/index.js +0 -24
- package/dist/three-compat/textures/index.js.map +0 -1
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
import { type Collider, type ColliderDescriptor, type CollisionEvent, type Constraint, type ConstraintDescriptor, type Contact, type DebugLine, type PhysicsBackendSelection, type PhysicsShape, type PhysicsSnapshot, type PhysicsWorldDescriptor, type RaycastHit, type RaycastOptions, type RigidBody, type RigidBodyDescriptor, type RigidBodyType, type ScenePhysicsNode, type SphereCastHit } from "@aura3d/physics";
|
|
2
2
|
import type { GLTFSceneAnimationRuntime, GLTFSceneAnimationRuntimeOptions } from "@aura3d/assets/browser";
|
|
3
|
+
import type { AnimationPose } from "@aura3d/animation";
|
|
4
|
+
import type { GameHudBindingKind, GameRuntimeSubsystemOwnership } from "./GameRuntime";
|
|
5
|
+
import { createFrameLoop } from "./FrameLoop";
|
|
6
|
+
import { createCombatWorld, createGameCameraDirector, createGameEffects, applyGameCombatEventsToRuntime, createGameAccessibilityFocus, createGameAccessibilityLabel, createGameAccessibilityRuntimeSettings, createGameHighContrastSource, createGameHudBindings, createGameHudComboBinding, createGameHudDebugToggleBinding, createGameHudHealthBinding, createGameHudMeterBinding, createGameHudRoundBinding, createGameHudSnapshot, createGameHudTimerBinding, createGameBoxCollider, createGameCapsuleCollider, createGameColliderDebugGeometry, createGameCombatDebugGeometry, createGameDebugOverlayData, createGameDebugSceneNodes, createGameHitboxDebugGeometry, createGameFighting2DRules, createGameInput, createGameInputReplay, createGameInputReplayDriver, createGameJumpAssist, createGameKinematicBody, createGamePauseControlsSource, createGameRectCollider, createGameReducedFlashSource, createGameReducedMotionSource, createGameSphereCollider, createGameTouchControlLayout, gameColliderAabb, gameInputReplayEventsAt, type GameInputOptions } from "./GameRuntime";
|
|
7
|
+
import { collectGameRuntimeEvidence as collectGameRuntimeEvidenceV105, type GameRuntimeEvidence, type GameRuntimeEvidenceOptions, type GameRuntimeSourceEvidence } from "./GameEvidence";
|
|
8
|
+
import { type AuraRuntimeNodeAnimationPoseBindingMetadata, type AuraRuntimeNodeAnimationBindingMetadata, type AuraRuntimeNodeBounds, type AuraRuntimeNodeEffectAttachment, type RuntimeNodeMorphTargetWeights } from "./RuntimeNodeHandle";
|
|
9
|
+
import { createRuntimeNodeSpec } from "./GameSceneBridge";
|
|
10
|
+
import { createFightingGameKit } from "./game-kits/fighting";
|
|
11
|
+
import { createPromptAnimationEpisodePlan, createPromptAnimationStoryBible, definePromptAnimationStoryboard } from "./PromptAnimationContract";
|
|
12
|
+
import { applyShotPlaybackFrame, createShotPlaybackPlan, createShotTimeline, installShotPlayback, sampleShotPlaybackPlan } from "./ShotTimeline";
|
|
13
|
+
import { captionCueAtTime, createCaptionTimingProof, deriveCaptionTrackFromDialogue } from "./DialoguePerformance";
|
|
14
|
+
import { createAuraVoiceVisemeTrack, createGlbBlendshapeVisemeCue, createPrimitiveMouthVisemeCues, sampleVisemeTrack } from "./VisemeController";
|
|
15
|
+
import { createAuraVoiceBridgePackage, createAuraVoiceDubRerenderProof, createAuraVoiceRerenderPlan, sampleAuraVoiceBridgeAtTime } from "./AuraVoiceBridge";
|
|
16
|
+
import { createCartoonDirectorPlan } from "./CartoonDirector";
|
|
17
|
+
import { createCartoonPerformance } from "./CartoonPerformance";
|
|
18
|
+
import { createCartoonRenderOutputPackageMetadata, createCartoonRenderQueue } from "./CartoonRenderQueue";
|
|
19
|
+
import { collectPromptAnimationEvidence } from "./PromptAnimationEvidence";
|
|
20
|
+
export { Engine } from "@aura3d/core";
|
|
21
|
+
export { asAuraAppHandle, isAuraAppHandle, type AuraAppFrame, type AuraAppFrameCallback, type AuraAppHandle, type AuraAppNodeRegistryLike, type AuraAppRuntimeState, type AuraAppScreenshot } from "./AuraAppHandle";
|
|
22
|
+
export { FrameLoop, createFrameLoop, type FrameLoopCallback, type FrameLoopFrame, type FrameLoopOptions, type FrameLoopSnapshot, type FrameLoopSource } from "./FrameLoop";
|
|
23
|
+
export { createCombatWorld, createGameCameraDirector, createGameEffects, applyGameCombatEventsToRuntime, createGameAccessibilityFocus, createGameAccessibilityLabel, createGameAccessibilityRuntimeSettings, createGameHighContrastSource, createGameHudBindings, createGameHudComboBinding, createGameHudDebugToggleBinding, createGameHudHealthBinding, createGameHudMeterBinding, createGameHudRoundBinding, createGameHudSnapshot, createGameHudTimerBinding, createGameBoxCollider, createGameCapsuleCollider, createGameColliderDebugGeometry, createGameCombatDebugGeometry, createGameDebugOverlayData, createGameDebugSceneNodes, createGameHitboxDebugGeometry, createGameInput, createGameInputReplay, createGameInputReplayDriver, createGameJumpAssist, createGameKinematicBody, createGamePauseControlsSource, createGameRectCollider, createGameReducedFlashSource, createGameReducedMotionSource, createGameSphereCollider, createGameTouchControlLayout, gameColliderAabb, gameColliders, gameInputReplayEventsAt, createGameLoopPlan, type GameAccessibilityFocusOptions, type GameAccessibilityLabelOptions, type GameAccessibilityPauseControlsOptions, type GameAccessibilityPreferenceOptions, type GameAccessibilityRuntimeSettings, type GameAccessibilityRuntimeSettingsOptions, type GameAccessibilitySource, type GameAccessibilitySourceKind, type GameAabb, type GameBounds3, type GameCameraDirector, type GameCameraDirectorOptions, type GameCameraSnapshot, type GameCameraTarget, type GameCollisionBox, type GameCombatActorOptions, type GameCombatActorSnapshot, type GameCombatActiveAttackSnapshot, type GameCombatEvent, type GameCombatEventRuntimeBridgeOptions, type GameCombatEventRuntimeBridgeResult, type GameCombatEventType, type GameCombatMove, type GameCombatWorld, type GameCombatWorldSnapshot, type GameBoxCollider, type GameBoxColliderOptions, type GameCapsuleCollider, type GameCapsuleColliderOptions, type GameCollider, type GameColliderAxis, type GameColliderBase, type GameColliderDimension, type GameColliderFactoryOptions, type GameColliderKind, type GameColliderPlane, type GameDebugGeometryNode, type GameDebugGeometryOptions, type GameDebugGeometryPrimitive, type GameDebugOverlayData, type GameDebugOverlayMetric, type GameDebugOverlayOptions, type GameDebugOverlaySection, type GameDebugSceneNode, type GameDebugSceneNodeOptions, type GameDebugScenePrimitive, type GameEffectInstance, type GameEffectAttachment, type GameEffectKind, type GameEffectOptions, type GameEffectsController, type GameEffectsSnapshot, type GameHudActorBindingOptions, type GameHudBinding, type GameHudBindingKind, type GameHudComboBindingOptions, type GameHudDebugToggleBindingOptions, type GameHudResolvedValue, type GameHudRoundBindingOptions, type GameHudSourceKind, type GameHudSnapshot, type GameHudSnapshotItem, type GameHudSnapshotOptions, type GameHudTimerBindingOptions, type GameHudValueFormat, type GameInputActionState, type GameInputAxisSettings, type GameInputAxisBinding, type GameInputController, type GameInputOptions, type GameInputReplayDriver, type GameInputReplayDriverSnapshot, type GameInputReplayEvent, type GameInputReplayOptions, type GameInputReplayPlan, type GameInputSnapshot, type GameJumpAssistController, type GameJumpAssistOptions, type GameJumpAssistSnapshot, type GameJumpAssistUpdate, type GameKinematicBody, type GameKinematicBodyOptions, type GameKinematicBodySnapshot, type GameLoopPlan, type GamePointerSnapshot, type GameRectCollider, type GameRectColliderOptions, type GameRuntimeSubsystemId, type GameRuntimeSubsystemOwnership, type GameSphereCollider, type GameSphereColliderOptions, type GameSubsystemOwner, type GameTouchControlAnchor, type GameTouchControlKind, type GameTouchControlLayout, type GameTouchControlLayoutOptions, type GameTouchControlRegion, type GameTouchControlRequest, type GameVec3, type GamepadSnapshot } from "./GameRuntime";
|
|
24
|
+
export { collectGameSceneRuntimeNodes, createGameSceneBridge, createRuntimeNodeSpec, type GameSceneBridge, type GameSceneBridgeApp, type GameSceneBridgeBodyLike, type GameSceneBridgeEvidence, type GameSceneBridgeNodeHandle, type GameSceneRuntimeNode } from "./GameSceneBridge";
|
|
25
|
+
export { calculateRuntimeNodeBounds, createRuntimeNodeEffectAttachment, runtimeNodeHasTag, type AuraRuntimeNodeAnimationPoseBindingMetadata, type AuraRuntimeNodeAnimationBindingMetadata, type AuraRuntimeNodeBounds, type AuraRuntimeNodeEffectAttachment, type AuraRuntimeNodeEffectKind, type RuntimeNodeAnimationSpecLike, type RuntimeNodeBoundsInput, type RuntimeNodeHandleLike, type RuntimeNodeMorphTargetWeights, type RuntimeNodeVec3 } from "./RuntimeNodeHandle";
|
|
26
|
+
export { createFightingGameKit, fighting, fighterRuntimeNode, type FightingActorState, type FightingControls, type FightingGameKit, type FightingGameKitOptions, type FightingGameSnapshot, type FightingStageOptions } from "./game-kits/fighting";
|
|
27
|
+
export { gameKits } from "./game-kits";
|
|
28
|
+
export type { GameRuntimeEvidence, GameRuntimeEvidenceApp, GameRuntimeEvidenceOptions, GameRuntimeSourceEvidence } from "./GameEvidence";
|
|
29
|
+
export * from "./GameAssetValidation.js";
|
|
30
|
+
export * from "./CharacterAssembly.js";
|
|
31
|
+
export * from "./AssetEvidence.js";
|
|
32
|
+
export * from "./AnimationController.js";
|
|
33
|
+
export { gameAssetValidation, quaterniusGameReadyFighterValidationContract, validateQuaterniusGameReadyFighterAsset } from "./GameAssetValidation.js";
|
|
34
|
+
export { createAnimationController } from "./AnimationController.js";
|
|
35
|
+
export * from "./PromptAnimationContract.js";
|
|
36
|
+
export * from "./AuraVoiceBridge.js";
|
|
37
|
+
export * from "./ShotTimeline.js";
|
|
38
|
+
export * from "./DialoguePerformance.js";
|
|
39
|
+
export * from "./VisemeController.js";
|
|
40
|
+
export * from "./PromptAnimationEvidence.js";
|
|
41
|
+
export * from "./CartoonDirector.js";
|
|
42
|
+
export * from "./CartoonPerformance.js";
|
|
43
|
+
export * from "./CartoonRenderQueue.js";
|
|
3
44
|
export type AuraVec3 = readonly [number, number, number];
|
|
4
45
|
export type AuraColor = `#${string}` | string;
|
|
5
46
|
export type AuraAssetType = "model" | "texture" | "environment" | "audio";
|
|
@@ -159,6 +200,7 @@ export interface AuraPrimitiveOptions extends AuraTransformSpec {
|
|
|
159
200
|
export interface AuraAnimationSpec {
|
|
160
201
|
readonly clip?: string;
|
|
161
202
|
readonly loop?: boolean;
|
|
203
|
+
readonly restart?: boolean;
|
|
162
204
|
readonly speed?: number;
|
|
163
205
|
readonly startTime?: number;
|
|
164
206
|
readonly duration?: number;
|
|
@@ -172,6 +214,11 @@ export interface AuraAnimationSpec {
|
|
|
172
214
|
readonly rootBob?: boolean;
|
|
173
215
|
readonly jointHierarchy?: boolean;
|
|
174
216
|
}
|
|
217
|
+
export interface AuraRuntimeNodeSpec {
|
|
218
|
+
readonly id: string;
|
|
219
|
+
readonly tags?: readonly string[];
|
|
220
|
+
readonly mutable?: boolean;
|
|
221
|
+
}
|
|
175
222
|
export interface AuraInteractionSpec {
|
|
176
223
|
readonly cursor?: string;
|
|
177
224
|
readonly onClick?: string;
|
|
@@ -282,6 +329,7 @@ export interface AuraModelNode extends AuraTransformSpec {
|
|
|
282
329
|
readonly animation?: AuraAnimationSpec;
|
|
283
330
|
readonly interaction?: AuraInteractionSpec;
|
|
284
331
|
readonly physics?: AuraNodePhysicsSpec;
|
|
332
|
+
readonly runtime?: AuraRuntimeNodeSpec;
|
|
285
333
|
}
|
|
286
334
|
export interface AuraPrimitiveNode extends AuraTransformSpec {
|
|
287
335
|
readonly kind: "primitive";
|
|
@@ -294,6 +342,7 @@ export interface AuraPrimitiveNode extends AuraTransformSpec {
|
|
|
294
342
|
readonly animation?: AuraAnimationSpec;
|
|
295
343
|
readonly interaction?: AuraInteractionSpec;
|
|
296
344
|
readonly physics?: AuraNodePhysicsSpec;
|
|
345
|
+
readonly runtime?: AuraRuntimeNodeSpec;
|
|
297
346
|
}
|
|
298
347
|
export interface AuraGroupNode extends AuraTransformSpec {
|
|
299
348
|
readonly kind: "group";
|
|
@@ -301,6 +350,7 @@ export interface AuraGroupNode extends AuraTransformSpec {
|
|
|
301
350
|
readonly children: readonly AuraSceneNode[];
|
|
302
351
|
readonly animation?: AuraAnimationSpec;
|
|
303
352
|
readonly character?: AuraCharacterRigSpec;
|
|
353
|
+
readonly runtime?: AuraRuntimeNodeSpec;
|
|
304
354
|
}
|
|
305
355
|
export type AuraLightType = "ambient" | "directional" | "point" | "studio" | "rect" | "softbox";
|
|
306
356
|
export interface AuraLightNode extends AuraTransformSpec {
|
|
@@ -368,6 +418,7 @@ export interface AuraLabelNode extends AuraTransformSpec {
|
|
|
368
418
|
readonly occlusionAware?: boolean;
|
|
369
419
|
readonly collisionAvoidance?: boolean;
|
|
370
420
|
readonly animation?: AuraAnimationSpec;
|
|
421
|
+
readonly runtime?: AuraRuntimeNodeSpec;
|
|
371
422
|
}
|
|
372
423
|
export interface AuraEnvironmentNode {
|
|
373
424
|
readonly kind: "environment";
|
|
@@ -457,7 +508,7 @@ export interface AuraRendererDiagnosticReport {
|
|
|
457
508
|
};
|
|
458
509
|
readonly runtime: {
|
|
459
510
|
readonly mounted: boolean;
|
|
460
|
-
readonly backend: "scene-plan" | "
|
|
511
|
+
readonly backend: "scene-plan" | "webgl2-agent-runtime";
|
|
461
512
|
readonly postprocessVerified: boolean;
|
|
462
513
|
readonly passNames: readonly string[];
|
|
463
514
|
readonly warnings: readonly string[];
|
|
@@ -569,6 +620,9 @@ export declare class AuraNodeBuilder<TNode extends AuraSceneNode> {
|
|
|
569
620
|
physics(spec: AuraNodePhysicsSpec): AuraNodeBuilder<TNode & {
|
|
570
621
|
readonly physics: AuraNodePhysicsSpec;
|
|
571
622
|
}>;
|
|
623
|
+
runtime(spec: AuraRuntimeNodeSpec): AuraNodeBuilder<TNode & {
|
|
624
|
+
readonly runtime: AuraRuntimeNodeSpec;
|
|
625
|
+
}>;
|
|
572
626
|
toJSON(): TNode;
|
|
573
627
|
private with;
|
|
574
628
|
}
|
|
@@ -935,7 +989,7 @@ export interface AuraCityStateChangeEvidence {
|
|
|
935
989
|
}
|
|
936
990
|
export interface AuraCityInstancingPlan {
|
|
937
991
|
readonly kind: "aura-city-instancing-plan";
|
|
938
|
-
readonly rendererPath: "
|
|
992
|
+
readonly rendererPath: "auraWebGL2PrimitiveBatches";
|
|
939
993
|
readonly windows: number;
|
|
940
994
|
readonly props: number;
|
|
941
995
|
readonly roadMarkings: number;
|
|
@@ -1163,8 +1217,339 @@ export declare const games: {
|
|
|
1163
1217
|
readonly miniGolfCourse: () => readonly AuraSceneNode[];
|
|
1164
1218
|
readonly createMiniGolfState: () => AuraMiniGolfStateController;
|
|
1165
1219
|
readonly miniGolfPointerShot: typeof miniGolfPointerShotFromDrag;
|
|
1220
|
+
readonly fighting: {
|
|
1221
|
+
readonly controls: typeof import("./game-kits").defaultFightingControls;
|
|
1222
|
+
readonly moves: typeof import("./game-kits").defaultFightingMoves;
|
|
1223
|
+
readonly runtimeNode: typeof import("./game-kits").fighterRuntimeNode;
|
|
1224
|
+
readonly stagePreset: typeof import("./game-kits").fightingStagePreset;
|
|
1225
|
+
readonly stagePresets: Record<import("./game-kits").FightingStagePresetName, import("./game-kits").FightingStageOptions>;
|
|
1226
|
+
readonly stage: typeof import("./game-kits").createFightingStage;
|
|
1227
|
+
readonly validateStage: typeof import("./game-kits").validateFightingStage;
|
|
1228
|
+
readonly stageNodes: typeof import("./game-kits").fightingStageNodes;
|
|
1229
|
+
readonly createKit: typeof createFightingGameKit;
|
|
1230
|
+
};
|
|
1231
|
+
readonly createFightingGameKit: typeof createFightingGameKit;
|
|
1166
1232
|
readonly miniGolfScene: () => AuraSceneBuilder;
|
|
1167
1233
|
};
|
|
1234
|
+
export interface AuraGameLoopPlan {
|
|
1235
|
+
readonly kind: "aura-game-loop-plan";
|
|
1236
|
+
readonly fixedDt: number;
|
|
1237
|
+
readonly maxSubSteps: number;
|
|
1238
|
+
readonly timeScale: number;
|
|
1239
|
+
}
|
|
1240
|
+
export interface AuraGameInputPlan {
|
|
1241
|
+
readonly kind: "aura-game-input-plan";
|
|
1242
|
+
readonly actions: Record<string, readonly string[]>;
|
|
1243
|
+
readonly axes: Record<string, AuraGameInputAxisBinding>;
|
|
1244
|
+
readonly bufferMs: number;
|
|
1245
|
+
}
|
|
1246
|
+
export interface AuraGameInputAxisBinding {
|
|
1247
|
+
readonly negative?: string;
|
|
1248
|
+
readonly positive?: string;
|
|
1249
|
+
}
|
|
1250
|
+
export interface AuraGameInputActionState {
|
|
1251
|
+
readonly pressed: boolean;
|
|
1252
|
+
readonly held: boolean;
|
|
1253
|
+
readonly released: boolean;
|
|
1254
|
+
readonly buffered: boolean;
|
|
1255
|
+
readonly value: number;
|
|
1256
|
+
}
|
|
1257
|
+
export interface AuraGameInputReplayEvent {
|
|
1258
|
+
readonly frame: number;
|
|
1259
|
+
readonly time: number;
|
|
1260
|
+
readonly type: "press" | "release";
|
|
1261
|
+
readonly binding: string;
|
|
1262
|
+
}
|
|
1263
|
+
export interface AuraGameInputSnapshot {
|
|
1264
|
+
readonly kind: "aura-game-input-snapshot";
|
|
1265
|
+
readonly frame: number;
|
|
1266
|
+
readonly time: number;
|
|
1267
|
+
readonly activeBindings: readonly string[];
|
|
1268
|
+
readonly actions: Record<string, AuraGameInputActionState>;
|
|
1269
|
+
}
|
|
1270
|
+
export interface AuraGameInputController extends AuraGameInputPlan {
|
|
1271
|
+
update(dt?: number): AuraGameInputSnapshot;
|
|
1272
|
+
snapshot(): AuraGameInputSnapshot;
|
|
1273
|
+
pressed(action: string): boolean;
|
|
1274
|
+
held(action: string): boolean;
|
|
1275
|
+
released(action: string): boolean;
|
|
1276
|
+
buffered(action: string, windowMs?: number): boolean;
|
|
1277
|
+
axis(name: string, negativeAction?: string, positiveAction?: string): number;
|
|
1278
|
+
press(binding: string): void;
|
|
1279
|
+
release(binding: string): void;
|
|
1280
|
+
setAction(action: string, held: boolean): void;
|
|
1281
|
+
recorded(): readonly AuraGameInputReplayEvent[];
|
|
1282
|
+
replay(events: readonly AuraGameInputReplayEvent[]): AuraGameInputSnapshot;
|
|
1283
|
+
clearReplay(): void;
|
|
1284
|
+
dispose(): void;
|
|
1285
|
+
}
|
|
1286
|
+
export interface AuraGameRuntimeEvidence {
|
|
1287
|
+
readonly kind: "aura-game-runtime-evidence";
|
|
1288
|
+
readonly source?: GameRuntimeSourceEvidence;
|
|
1289
|
+
readonly ownership?: readonly GameRuntimeSubsystemOwnership[];
|
|
1290
|
+
readonly loop: {
|
|
1291
|
+
readonly frame: number;
|
|
1292
|
+
readonly time: number;
|
|
1293
|
+
readonly paused: boolean;
|
|
1294
|
+
};
|
|
1295
|
+
readonly runtimeNodes: {
|
|
1296
|
+
readonly count: number;
|
|
1297
|
+
readonly ids: readonly string[];
|
|
1298
|
+
};
|
|
1299
|
+
readonly systems: {
|
|
1300
|
+
readonly mutableNodes: boolean;
|
|
1301
|
+
readonly frameLoop: boolean;
|
|
1302
|
+
readonly inputPlan: boolean;
|
|
1303
|
+
readonly physicsPlan: boolean;
|
|
1304
|
+
readonly animationPlan: boolean;
|
|
1305
|
+
readonly effectsPlan: boolean;
|
|
1306
|
+
readonly cameraPlan: boolean;
|
|
1307
|
+
readonly collisionPlan?: boolean;
|
|
1308
|
+
readonly stagePlan?: boolean;
|
|
1309
|
+
};
|
|
1310
|
+
readonly input?: {
|
|
1311
|
+
readonly configured: boolean;
|
|
1312
|
+
readonly actions: readonly string[];
|
|
1313
|
+
readonly axes: readonly string[];
|
|
1314
|
+
readonly activeBindings: readonly string[];
|
|
1315
|
+
readonly frame: number;
|
|
1316
|
+
};
|
|
1317
|
+
readonly physics?: {
|
|
1318
|
+
readonly kinematicBodies: number;
|
|
1319
|
+
readonly groundedBodies: number;
|
|
1320
|
+
};
|
|
1321
|
+
readonly collision?: {
|
|
1322
|
+
readonly combatWorld: boolean;
|
|
1323
|
+
readonly actors: number;
|
|
1324
|
+
readonly activeAttacks: number;
|
|
1325
|
+
readonly events: number;
|
|
1326
|
+
};
|
|
1327
|
+
readonly animation?: {
|
|
1328
|
+
readonly controllers: number;
|
|
1329
|
+
readonly activeClips: readonly string[];
|
|
1330
|
+
readonly eventCount: number;
|
|
1331
|
+
};
|
|
1332
|
+
readonly effects?: {
|
|
1333
|
+
readonly active: number;
|
|
1334
|
+
readonly spawned: number;
|
|
1335
|
+
readonly pooled: number;
|
|
1336
|
+
};
|
|
1337
|
+
readonly camera?: {
|
|
1338
|
+
readonly active: boolean;
|
|
1339
|
+
readonly fov?: number;
|
|
1340
|
+
readonly zoom?: number;
|
|
1341
|
+
readonly shake?: number;
|
|
1342
|
+
readonly reducedMotion?: boolean;
|
|
1343
|
+
};
|
|
1344
|
+
readonly assets?: {
|
|
1345
|
+
readonly typedAssets: number;
|
|
1346
|
+
readonly missingAssets: readonly string[];
|
|
1347
|
+
};
|
|
1348
|
+
readonly stage?: {
|
|
1349
|
+
readonly id?: string;
|
|
1350
|
+
readonly safeZones: boolean;
|
|
1351
|
+
readonly bounds?: unknown;
|
|
1352
|
+
readonly warnings: readonly string[];
|
|
1353
|
+
};
|
|
1354
|
+
readonly hud?: {
|
|
1355
|
+
readonly bindings: number;
|
|
1356
|
+
readonly kinds: readonly GameHudBindingKind[];
|
|
1357
|
+
readonly targetIds: readonly string[];
|
|
1358
|
+
readonly debugToggles: number;
|
|
1359
|
+
readonly interactive: number;
|
|
1360
|
+
readonly warnings: readonly string[];
|
|
1361
|
+
};
|
|
1362
|
+
readonly accessibility?: {
|
|
1363
|
+
readonly sources: number;
|
|
1364
|
+
readonly labels: number;
|
|
1365
|
+
readonly focusScopes: number;
|
|
1366
|
+
readonly reducedMotion: boolean;
|
|
1367
|
+
readonly reducedFlash: boolean;
|
|
1368
|
+
readonly highContrast: boolean;
|
|
1369
|
+
readonly pauseControls: boolean;
|
|
1370
|
+
readonly warnings: readonly string[];
|
|
1371
|
+
};
|
|
1372
|
+
readonly warnings?: readonly string[];
|
|
1373
|
+
}
|
|
1374
|
+
export declare function collectGameRuntimeEvidence(app: Pick<AuraApp, "runtime" | "nodes">, options?: GameRuntimeEvidenceOptions): AuraGameRuntimeEvidence;
|
|
1375
|
+
export interface AuraGameRules {
|
|
1376
|
+
readonly kind: "aura-game-rules";
|
|
1377
|
+
readonly gravity: number;
|
|
1378
|
+
readonly roundSeconds: number;
|
|
1379
|
+
readonly maxHealth: number;
|
|
1380
|
+
readonly maxGuard: number;
|
|
1381
|
+
readonly maxMeter: number;
|
|
1382
|
+
readonly stageBounds: {
|
|
1383
|
+
readonly minX: number;
|
|
1384
|
+
readonly maxX: number;
|
|
1385
|
+
};
|
|
1386
|
+
}
|
|
1387
|
+
export interface AuraGameRuntimeOptions {
|
|
1388
|
+
readonly loop?: Partial<Omit<AuraGameLoopPlan, "kind">> | undefined;
|
|
1389
|
+
readonly input?: GameInputOptions | undefined;
|
|
1390
|
+
readonly rules?: Partial<Omit<AuraGameRules, "kind">> | undefined;
|
|
1391
|
+
readonly effectPoolSize?: number | undefined;
|
|
1392
|
+
}
|
|
1393
|
+
export interface AuraGameRuntime {
|
|
1394
|
+
readonly kind: "aura-game-runtime";
|
|
1395
|
+
readonly loop: AuraGameLoopPlan;
|
|
1396
|
+
readonly rules: AuraGameRules;
|
|
1397
|
+
readonly input?: ReturnType<typeof createGameInput> | undefined;
|
|
1398
|
+
readonly combat: ReturnType<typeof createCombatWorld>;
|
|
1399
|
+
readonly camera: ReturnType<typeof createGameCameraDirector>;
|
|
1400
|
+
readonly effects: ReturnType<typeof createGameEffects>;
|
|
1401
|
+
readonly bodies: readonly ReturnType<typeof createGameKinematicBody>[];
|
|
1402
|
+
}
|
|
1403
|
+
export declare function createAuraGameRules(options?: Partial<Omit<AuraGameRules, "kind">>): AuraGameRules;
|
|
1404
|
+
export declare const gameRules: typeof createAuraGameRules & {
|
|
1405
|
+
fighting2D: typeof createGameFighting2DRules;
|
|
1406
|
+
};
|
|
1407
|
+
export declare function createAuraGameRuntime(options?: AuraGameRuntimeOptions): AuraGameRuntime;
|
|
1408
|
+
export declare const game: {
|
|
1409
|
+
readonly createRuntime: typeof createAuraGameRuntime;
|
|
1410
|
+
readonly rules: typeof createAuraGameRules & {
|
|
1411
|
+
fighting2D: typeof createGameFighting2DRules;
|
|
1412
|
+
};
|
|
1413
|
+
readonly loop: (options?: Partial<Omit<AuraGameLoopPlan, "kind">>) => AuraGameLoopPlan;
|
|
1414
|
+
readonly frameLoop: typeof createFrameLoop;
|
|
1415
|
+
readonly runtimeNode: typeof createRuntimeNodeSpec;
|
|
1416
|
+
readonly input: typeof createGameInput;
|
|
1417
|
+
readonly inputReplay: typeof createGameInputReplay;
|
|
1418
|
+
readonly inputReplayDriver: typeof createGameInputReplayDriver;
|
|
1419
|
+
readonly inputReplayEventsAt: typeof gameInputReplayEventsAt;
|
|
1420
|
+
readonly touchControls: typeof createGameTouchControlLayout;
|
|
1421
|
+
readonly kinematicBody: typeof createGameKinematicBody;
|
|
1422
|
+
readonly jumpAssist: typeof createGameJumpAssist;
|
|
1423
|
+
readonly collider: {
|
|
1424
|
+
readonly box: typeof createGameBoxCollider;
|
|
1425
|
+
readonly sphere: typeof createGameSphereCollider;
|
|
1426
|
+
readonly capsule: typeof createGameCapsuleCollider;
|
|
1427
|
+
readonly rect: typeof createGameRectCollider;
|
|
1428
|
+
readonly aabb: typeof gameColliderAabb;
|
|
1429
|
+
readonly factories: {
|
|
1430
|
+
readonly box: typeof createGameBoxCollider;
|
|
1431
|
+
readonly sphere: typeof createGameSphereCollider;
|
|
1432
|
+
readonly capsule: typeof createGameCapsuleCollider;
|
|
1433
|
+
readonly rect: typeof createGameRectCollider;
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
readonly hitbox: {
|
|
1437
|
+
readonly rect: typeof import("./GameRuntime").createGameHitboxRect;
|
|
1438
|
+
readonly box: typeof import("./GameRuntime").createGameHitboxRect;
|
|
1439
|
+
};
|
|
1440
|
+
readonly hurtbox: {
|
|
1441
|
+
readonly rect: typeof import("./GameRuntime").createGameHurtboxRect;
|
|
1442
|
+
readonly box: typeof import("./GameRuntime").createGameHurtboxRect;
|
|
1443
|
+
};
|
|
1444
|
+
readonly guardbox: {
|
|
1445
|
+
readonly rect: typeof import("./GameRuntime").createGameGuardboxRect;
|
|
1446
|
+
readonly box: typeof import("./GameRuntime").createGameGuardboxRect;
|
|
1447
|
+
};
|
|
1448
|
+
readonly pushbox: {
|
|
1449
|
+
readonly rect: typeof import("./GameRuntime").createGamePushboxRect;
|
|
1450
|
+
readonly box: typeof import("./GameRuntime").createGamePushboxRect;
|
|
1451
|
+
};
|
|
1452
|
+
readonly trigger: {
|
|
1453
|
+
readonly box: (options?: import("./GameRuntime").GameBoxColliderOptions) => import("./GameRuntime").GameBoxCollider;
|
|
1454
|
+
readonly sphere: (options?: import("./GameRuntime").GameSphereColliderOptions) => import("./GameRuntime").GameSphereCollider;
|
|
1455
|
+
readonly capsule: (options?: import("./GameRuntime").GameCapsuleColliderOptions) => import("./GameRuntime").GameCapsuleCollider;
|
|
1456
|
+
readonly rect: (options?: import("./GameRuntime").GameRectColliderOptions) => import("./GameRuntime").GameRectCollider;
|
|
1457
|
+
};
|
|
1458
|
+
readonly combatWorld: typeof createCombatWorld;
|
|
1459
|
+
readonly combatEvents: typeof applyGameCombatEventsToRuntime;
|
|
1460
|
+
readonly cameraDirector: typeof createGameCameraDirector;
|
|
1461
|
+
readonly effects: typeof createGameEffects;
|
|
1462
|
+
readonly effectPresets: {
|
|
1463
|
+
readonly hitSpark: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
|
|
1464
|
+
readonly blockSpark: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
|
|
1465
|
+
readonly groundDust: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
|
|
1466
|
+
readonly dashTrail: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
|
|
1467
|
+
readonly slashTrail: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
|
|
1468
|
+
readonly shockwave: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
|
|
1469
|
+
readonly auraBurst: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
|
|
1470
|
+
readonly superBurst: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
|
|
1471
|
+
};
|
|
1472
|
+
readonly debug: {
|
|
1473
|
+
readonly colliders: typeof createGameColliderDebugGeometry;
|
|
1474
|
+
readonly hitboxes: typeof createGameHitboxDebugGeometry;
|
|
1475
|
+
readonly combat: typeof createGameCombatDebugGeometry;
|
|
1476
|
+
readonly overlay: typeof createGameDebugOverlayData;
|
|
1477
|
+
readonly sceneNodes: typeof createGameDebugSceneNodes;
|
|
1478
|
+
};
|
|
1479
|
+
readonly hud: {
|
|
1480
|
+
readonly health: typeof createGameHudHealthBinding;
|
|
1481
|
+
readonly meter: typeof createGameHudMeterBinding;
|
|
1482
|
+
readonly timer: typeof createGameHudTimerBinding;
|
|
1483
|
+
readonly combo: typeof createGameHudComboBinding;
|
|
1484
|
+
readonly round: typeof createGameHudRoundBinding;
|
|
1485
|
+
readonly debugToggle: typeof createGameHudDebugToggleBinding;
|
|
1486
|
+
readonly bindings: typeof createGameHudBindings;
|
|
1487
|
+
readonly snapshot: typeof createGameHudSnapshot;
|
|
1488
|
+
};
|
|
1489
|
+
readonly accessibility: {
|
|
1490
|
+
readonly label: typeof createGameAccessibilityLabel;
|
|
1491
|
+
readonly focus: typeof createGameAccessibilityFocus;
|
|
1492
|
+
readonly reducedMotion: typeof createGameReducedMotionSource;
|
|
1493
|
+
readonly reducedFlash: typeof createGameReducedFlashSource;
|
|
1494
|
+
readonly highContrast: typeof createGameHighContrastSource;
|
|
1495
|
+
readonly pauseControls: typeof createGamePauseControlsSource;
|
|
1496
|
+
readonly settings: typeof createGameAccessibilityRuntimeSettings;
|
|
1497
|
+
};
|
|
1498
|
+
readonly fighting: typeof createFightingGameKit;
|
|
1499
|
+
readonly evidence: typeof collectGameRuntimeEvidence;
|
|
1500
|
+
};
|
|
1501
|
+
export declare const cartoon: {
|
|
1502
|
+
readonly episodePlan: typeof createPromptAnimationEpisodePlan;
|
|
1503
|
+
readonly storyBible: typeof createPromptAnimationStoryBible;
|
|
1504
|
+
readonly storyboard: typeof definePromptAnimationStoryboard;
|
|
1505
|
+
readonly shotTimeline: typeof createShotTimeline;
|
|
1506
|
+
readonly shotPlaybackPlan: typeof createShotPlaybackPlan;
|
|
1507
|
+
readonly sampleShotPlaybackPlan: typeof sampleShotPlaybackPlan;
|
|
1508
|
+
readonly applyShotPlaybackFrame: typeof applyShotPlaybackFrame;
|
|
1509
|
+
readonly installShotPlayback: typeof installShotPlayback;
|
|
1510
|
+
readonly captionsFromDialogue: typeof deriveCaptionTrackFromDialogue;
|
|
1511
|
+
readonly captionCueAtTime: typeof captionCueAtTime;
|
|
1512
|
+
readonly captionTimingProof: typeof createCaptionTimingProof;
|
|
1513
|
+
readonly visemeTrack: typeof createAuraVoiceVisemeTrack;
|
|
1514
|
+
readonly primitiveMouthVisemes: typeof createPrimitiveMouthVisemeCues;
|
|
1515
|
+
readonly glbBlendshapeViseme: typeof createGlbBlendshapeVisemeCue;
|
|
1516
|
+
readonly sampleVisemeTrack: typeof sampleVisemeTrack;
|
|
1517
|
+
readonly auraVoiceBridgePackage: typeof createAuraVoiceBridgePackage;
|
|
1518
|
+
readonly sampleAuraVoiceBridgeAtTime: typeof sampleAuraVoiceBridgeAtTime;
|
|
1519
|
+
readonly auraVoiceRerenderPlan: typeof createAuraVoiceRerenderPlan;
|
|
1520
|
+
readonly auraVoiceDubRerenderProof: typeof createAuraVoiceDubRerenderProof;
|
|
1521
|
+
readonly director: typeof createCartoonDirectorPlan;
|
|
1522
|
+
readonly performance: typeof createCartoonPerformance;
|
|
1523
|
+
readonly renderQueue: typeof createCartoonRenderQueue;
|
|
1524
|
+
readonly renderOutputPackage: typeof createCartoonRenderOutputPackageMetadata;
|
|
1525
|
+
readonly evidence: typeof collectPromptAnimationEvidence;
|
|
1526
|
+
};
|
|
1527
|
+
export declare const animationStudio: {
|
|
1528
|
+
readonly episodePlan: typeof createPromptAnimationEpisodePlan;
|
|
1529
|
+
readonly storyBible: typeof createPromptAnimationStoryBible;
|
|
1530
|
+
readonly storyboard: typeof definePromptAnimationStoryboard;
|
|
1531
|
+
readonly shotTimeline: typeof createShotTimeline;
|
|
1532
|
+
readonly shotPlaybackPlan: typeof createShotPlaybackPlan;
|
|
1533
|
+
readonly sampleShotPlaybackPlan: typeof sampleShotPlaybackPlan;
|
|
1534
|
+
readonly applyShotPlaybackFrame: typeof applyShotPlaybackFrame;
|
|
1535
|
+
readonly installShotPlayback: typeof installShotPlayback;
|
|
1536
|
+
readonly captionsFromDialogue: typeof deriveCaptionTrackFromDialogue;
|
|
1537
|
+
readonly captionCueAtTime: typeof captionCueAtTime;
|
|
1538
|
+
readonly captionTimingProof: typeof createCaptionTimingProof;
|
|
1539
|
+
readonly visemeTrack: typeof createAuraVoiceVisemeTrack;
|
|
1540
|
+
readonly primitiveMouthVisemes: typeof createPrimitiveMouthVisemeCues;
|
|
1541
|
+
readonly glbBlendshapeViseme: typeof createGlbBlendshapeVisemeCue;
|
|
1542
|
+
readonly sampleVisemeTrack: typeof sampleVisemeTrack;
|
|
1543
|
+
readonly auraVoiceBridgePackage: typeof createAuraVoiceBridgePackage;
|
|
1544
|
+
readonly sampleAuraVoiceBridgeAtTime: typeof sampleAuraVoiceBridgeAtTime;
|
|
1545
|
+
readonly auraVoiceRerenderPlan: typeof createAuraVoiceRerenderPlan;
|
|
1546
|
+
readonly auraVoiceDubRerenderProof: typeof createAuraVoiceDubRerenderProof;
|
|
1547
|
+
readonly director: typeof createCartoonDirectorPlan;
|
|
1548
|
+
readonly performance: typeof createCartoonPerformance;
|
|
1549
|
+
readonly renderQueue: typeof createCartoonRenderQueue;
|
|
1550
|
+
readonly renderOutputPackage: typeof createCartoonRenderOutputPackageMetadata;
|
|
1551
|
+
readonly evidence: typeof collectPromptAnimationEvidence;
|
|
1552
|
+
};
|
|
1168
1553
|
declare function collectParticleBudgetDiagnostics(nodes: readonly AuraSceneNode[]): AuraParticleBudgetDiagnostics;
|
|
1169
1554
|
export declare const particles: {
|
|
1170
1555
|
readonly materialModes: () => readonly AuraParticleMaterialMode[];
|
|
@@ -1206,6 +1591,7 @@ export declare const character: {
|
|
|
1206
1591
|
readonly lowPolyHumanoid: (options?: AuraPrimitiveHumanoidPrefabOptions) => readonly AuraSceneNode[];
|
|
1207
1592
|
readonly authoredHumanoid: (options?: AuraPrimitiveHumanoidPrefabOptions) => readonly AuraSceneNode[];
|
|
1208
1593
|
readonly primitiveHumanoid: (options?: AuraPrimitiveHumanoidPrefabOptions) => readonly AuraSceneNode[];
|
|
1594
|
+
readonly performance: typeof createCartoonPerformance;
|
|
1209
1595
|
readonly importedRigRuntime: (options: GLTFSceneAnimationRuntimeOptions) => Promise<GLTFSceneAnimationRuntime>;
|
|
1210
1596
|
readonly visualQA: typeof validatePrimitiveHumanoidVisualQA;
|
|
1211
1597
|
readonly validatePrimitiveHumanoid: typeof validatePrimitiveHumanoidVisualQA;
|
|
@@ -1419,10 +1805,30 @@ export type AuraPromptEffectId = "rain" | "fog" | "bloom" | "particles" | "wet-r
|
|
|
1419
1805
|
export type AuraPromptCameraPreset = "product-orbit" | "cinematic-dolly" | "game-board" | "material-inspection";
|
|
1420
1806
|
export type AuraPromptLightingPreset = "studio-softbox" | "neon-practicals" | "game-readable" | "material-studio";
|
|
1421
1807
|
export type AuraPromptInteractionMode = "orbit" | "keyboard" | "pointer";
|
|
1422
|
-
export interface
|
|
1808
|
+
export interface AuraPromptResolvedSubject {
|
|
1423
1809
|
readonly asset: AuraAssetRef<"model">;
|
|
1424
1810
|
readonly label?: string;
|
|
1425
1811
|
}
|
|
1812
|
+
export interface AuraPromptIntentSubject {
|
|
1813
|
+
readonly intent: string;
|
|
1814
|
+
readonly constraints?: {
|
|
1815
|
+
readonly maxTriangles?: number;
|
|
1816
|
+
readonly license?: readonly ("CC0" | "CC-BY")[];
|
|
1817
|
+
readonly animated?: boolean;
|
|
1818
|
+
};
|
|
1819
|
+
readonly label?: string;
|
|
1820
|
+
}
|
|
1821
|
+
export type AuraPromptPlanSubject = AuraPromptResolvedSubject | AuraPromptIntentSubject;
|
|
1822
|
+
export declare function promptSubjectIsResolved(s: AuraPromptPlanSubject): s is AuraPromptResolvedSubject;
|
|
1823
|
+
export interface AuraPromptSubjectResolver {
|
|
1824
|
+
resolve(query: {
|
|
1825
|
+
text: string;
|
|
1826
|
+
constraints?: AuraPromptIntentSubject["constraints"];
|
|
1827
|
+
}): Promise<{
|
|
1828
|
+
asset: AuraAssetRef<"model">;
|
|
1829
|
+
} | null>;
|
|
1830
|
+
}
|
|
1831
|
+
export declare function resolvePromptPlanSubject(plan: AuraPromptPlan, resolver: AuraPromptSubjectResolver): Promise<AuraPromptPlan>;
|
|
1426
1832
|
export interface AuraPromptPlan {
|
|
1427
1833
|
readonly sceneType: AuraPromptSceneType;
|
|
1428
1834
|
readonly subject: AuraPromptPlanSubject;
|
|
@@ -1537,15 +1943,96 @@ export interface AuraSceneEvidence {
|
|
|
1537
1943
|
readonly helperCount: number;
|
|
1538
1944
|
readonly nodeBudgetExceeded: readonly AuraHelperBudgetId[];
|
|
1539
1945
|
};
|
|
1946
|
+
readonly gameRuntime: GameRuntimeEvidence;
|
|
1540
1947
|
readonly rendering: AuraRendererDiagnosticReport;
|
|
1541
1948
|
readonly assets: readonly AuraAssetProvenance[];
|
|
1542
1949
|
}
|
|
1950
|
+
export interface AuraFrameInfo {
|
|
1951
|
+
readonly dt: number;
|
|
1952
|
+
readonly fixedDt: number;
|
|
1953
|
+
readonly time: number;
|
|
1954
|
+
readonly frame: number;
|
|
1955
|
+
readonly alpha: number;
|
|
1956
|
+
readonly paused: boolean;
|
|
1957
|
+
readonly source: "raf" | "manual" | "fixed";
|
|
1958
|
+
readonly substep: number;
|
|
1959
|
+
readonly substeps: number;
|
|
1960
|
+
}
|
|
1961
|
+
export type AuraFrameCallback = (frame: AuraFrameInfo) => void;
|
|
1962
|
+
export interface AuraRuntimeNodeSnapshot {
|
|
1963
|
+
readonly id: string;
|
|
1964
|
+
readonly kind: AuraSceneNode["kind"];
|
|
1965
|
+
readonly name?: string;
|
|
1966
|
+
readonly tags: readonly string[];
|
|
1967
|
+
readonly position: AuraVec3;
|
|
1968
|
+
readonly rotation: AuraVec3;
|
|
1969
|
+
readonly scale: number | AuraVec3;
|
|
1970
|
+
readonly visible: boolean;
|
|
1971
|
+
readonly animation?: AuraAnimationSpec;
|
|
1972
|
+
readonly animationBinding?: AuraRuntimeNodeAnimationBindingMetadata;
|
|
1973
|
+
readonly animationPose?: AnimationPose;
|
|
1974
|
+
readonly animationPoseBinding?: AuraRuntimeNodeAnimationPoseBindingMetadata;
|
|
1975
|
+
readonly morphTargets?: RuntimeNodeMorphTargetWeights;
|
|
1976
|
+
readonly bounds?: AuraRuntimeNodeBounds;
|
|
1977
|
+
readonly effects?: readonly AuraRuntimeNodeEffectAttachment[];
|
|
1978
|
+
}
|
|
1979
|
+
export interface AuraRuntimeNodeHandle {
|
|
1980
|
+
readonly id: string;
|
|
1981
|
+
readonly kind: AuraSceneNode["kind"];
|
|
1982
|
+
readonly name?: string;
|
|
1983
|
+
readonly tags: readonly string[];
|
|
1984
|
+
position: AuraVec3;
|
|
1985
|
+
rotation: AuraVec3;
|
|
1986
|
+
scale: number | AuraVec3;
|
|
1987
|
+
visible: boolean;
|
|
1988
|
+
setPosition(x: number, y: number, z: number): this;
|
|
1989
|
+
translate(x: number, y: number, z: number): this;
|
|
1990
|
+
setRotation(x: number, y: number, z: number): this;
|
|
1991
|
+
setScale(scale: number | AuraVec3): this;
|
|
1992
|
+
setVisible(visible: boolean): this;
|
|
1993
|
+
setMaterial(material: AuraMaterialSpec): this;
|
|
1994
|
+
play(clip: string, options?: Omit<AuraAnimationSpec, "clip">): this;
|
|
1995
|
+
setAnimation(animation: AuraAnimationSpec | undefined): this;
|
|
1996
|
+
setAnimationBinding(binding: AuraRuntimeNodeAnimationBindingMetadata | undefined): this;
|
|
1997
|
+
setAnimationPose(pose: AnimationPose | undefined, metadata?: AuraRuntimeNodeAnimationPoseBindingMetadata): this;
|
|
1998
|
+
animationPose(): AnimationPose | undefined;
|
|
1999
|
+
setMorphTarget(name: string, weight: number): this;
|
|
2000
|
+
setMorphTargets(weights: RuntimeNodeMorphTargetWeights): this;
|
|
2001
|
+
morphTargets(): RuntimeNodeMorphTargetWeights;
|
|
2002
|
+
bounds(): AuraRuntimeNodeBounds;
|
|
2003
|
+
attachEffect(effect: AuraRuntimeNodeEffectAttachment): this;
|
|
2004
|
+
effects(): readonly AuraRuntimeNodeEffectAttachment[];
|
|
2005
|
+
snapshot(): AuraRuntimeNodeSnapshot;
|
|
2006
|
+
}
|
|
2007
|
+
export interface AuraRuntimeNodeRegistry {
|
|
2008
|
+
get(id: string): AuraRuntimeNodeHandle | undefined;
|
|
2009
|
+
require(id: string): AuraRuntimeNodeHandle;
|
|
2010
|
+
has(id: string): boolean;
|
|
2011
|
+
ids(): readonly string[];
|
|
2012
|
+
all(): readonly AuraRuntimeNodeHandle[];
|
|
2013
|
+
}
|
|
2014
|
+
export interface AuraRuntimeState {
|
|
2015
|
+
readonly paused: boolean;
|
|
2016
|
+
readonly frame: number;
|
|
2017
|
+
readonly time: number;
|
|
2018
|
+
readonly fixedDt: number;
|
|
2019
|
+
readonly alpha: number;
|
|
2020
|
+
}
|
|
1543
2021
|
export interface AuraApp {
|
|
1544
2022
|
readonly canvas?: HTMLCanvasElement;
|
|
1545
2023
|
readonly scene: AuraSceneSnapshot;
|
|
1546
2024
|
readonly backend: AuraBackend;
|
|
2025
|
+
readonly nodes: AuraRuntimeNodeRegistry;
|
|
2026
|
+
readonly runtime: AuraRuntimeState;
|
|
1547
2027
|
setScene(scene: AuraSceneBuilder | AuraSceneSnapshot): void;
|
|
2028
|
+
onFrame(callback: AuraFrameCallback): () => void;
|
|
2029
|
+
offFrame(callback: AuraFrameCallback): void;
|
|
2030
|
+
input(options: GameInputOptions): ReturnType<typeof createGameInput>;
|
|
2031
|
+
pause(): void;
|
|
2032
|
+
resume(): void;
|
|
2033
|
+
step(dt?: number): void;
|
|
1548
2034
|
diagnostics(): AuraDiagnostics;
|
|
2035
|
+
evidence(options?: GameRuntimeEvidenceOptions): ReturnType<typeof collectGameRuntimeEvidenceV105>;
|
|
1549
2036
|
screenshot(): AuraScreenshot;
|
|
1550
2037
|
dispose(): void;
|
|
1551
2038
|
}
|
|
@@ -1588,5 +2075,4 @@ export declare const performance: {
|
|
|
1588
2075
|
};
|
|
1589
2076
|
export declare function captureAuraScreenshot(target?: HTMLCanvasElement): AuraScreenshot;
|
|
1590
2077
|
export declare function createAuraAssetLoadError(asset: AuraAssetRef<"model">, reason: string): AuraRuntimeError;
|
|
1591
|
-
export {};
|
|
1592
2078
|
//# sourceMappingURL=index.d.ts.map
|