@carbonenginejs/runtime 0.1.0-alpha.3 → 0.1.0-alpha.4
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/NOTICE +5 -4
- package/dist/audio/generated/audio/AudEventKey.js +2 -2
- package/dist/audio/generated/audio/AudEventKey.js.map +1 -1
- package/dist/audio/generated/audio/AudSettings.js +2 -2
- package/dist/audio/generated/audio/AudSettings.js.map +1 -1
- package/dist/audio/index.js +1 -1
- package/dist/audio/trinity/audio/AudEmitter.js +4 -5
- package/dist/audio/trinity/audio/AudEmitter.js.map +1 -1
- package/dist/audio/trinity/audio/AudEventCurve.js +14 -14
- package/dist/audio/trinity/audio/AudEventCurve.js.map +1 -1
- package/dist/audio/trinity/audio/AudGameObjResource.js +13 -25
- package/dist/audio/trinity/audio/AudGameObjResource.js.map +1 -1
- package/dist/audio/trinity/audio/AudManager.js +2 -2
- package/dist/audio/trinity/audio/AudManager.js.map +1 -1
- package/dist/audio/trinity/audio/AudParameter.js +7 -11
- package/dist/audio/trinity/audio/AudParameter.js.map +1 -1
- package/dist/audio/trinity/audio/AudUIPlayer.js +2 -2
- package/dist/audio/trinity/audio/AudUIPlayer.js.map +1 -1
- package/dist/audio/trinity/audio/AudioCurveSetDriver.js +2 -2
- package/dist/audio/trinity/audio/AudioCurveSetDriver.js.map +1 -1
- package/dist/audio/trinity/audio/StretchAudio.js +2 -2
- package/dist/audio/trinity/audio/StretchAudio.js.map +1 -1
- package/dist/audio/trinity/index.js +1 -1
- package/dist/audio/trinity/trinityAudio/Tr2AudioStretchAuto.js +2 -2
- package/dist/audio/trinity/trinityAudio/Tr2AudioStretchAuto.js.map +1 -1
- package/dist/audio/trinity/trinityAudio/Tr2AudioStretchBase.js +2 -2
- package/dist/audio/trinity/trinityAudio/Tr2AudioStretchBase.js.map +1 -1
- package/dist/audio/trinity/trinityAudioApi/ITr2AudEmitter.js +1 -37
- package/dist/audio/trinity/trinityAudioApi/ITr2AudEmitter.js.map +1 -1
- package/dist/character/incarna/curves/Tr2ColorCurve.js +2 -2
- package/dist/character/incarna/curves/Tr2ColorCurve.js.map +1 -1
- package/dist/character/incarna/curves/Tr2ColorKey.js +2 -2
- package/dist/character/incarna/curves/Tr2ColorKey.js.map +1 -1
- package/dist/character/incarna/curves/Tr2ScalarCurve.js +2 -2
- package/dist/character/incarna/curves/Tr2ScalarCurve.js.map +1 -1
- package/dist/character/incarna/curves/Tr2ScalarKey.js +2 -2
- package/dist/character/incarna/curves/Tr2ScalarKey.js.map +1 -1
- package/dist/character/incarna/interior/Tr2InteriorCell.js +2 -2
- package/dist/character/incarna/interior/Tr2InteriorCell.js.map +1 -1
- package/dist/character/library/CjsCharacterLibrary.js +9 -16
- package/dist/character/library/CjsCharacterLibrary.js.map +1 -1
- package/dist/character/library/CjsCharacterLibraryDocuments.js +20 -4
- package/dist/character/library/CjsCharacterLibraryDocuments.js.map +1 -1
- package/dist/character/model/CjsCharacterRecord.js +2 -2
- package/dist/character/model/CjsCharacterRecord.js.map +1 -1
- package/dist/character/model/activity/CjsCharacterArchetype.js +2 -2
- package/dist/character/model/activity/CjsCharacterArchetype.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterColorLocation.js +2 -2
- package/dist/character/model/appearance/CjsCharacterColorLocation.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterColorName.js +2 -2
- package/dist/character/model/appearance/CjsCharacterColorName.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterColorSelection.js +2 -2
- package/dist/character/model/appearance/CjsCharacterColorSelection.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterSculptSelection.js +2 -2
- package/dist/character/model/appearance/CjsCharacterSculptSelection.js.map +1 -1
- package/dist/character/model/appearance/CjsCharacterSculptingLocation.js +2 -2
- package/dist/character/model/appearance/CjsCharacterSculptingLocation.js.map +1 -1
- package/dist/character/model/behavior/CjsCharacterAvatarBehavior.js +2 -2
- package/dist/character/model/behavior/CjsCharacterAvatarBehavior.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterColorValue.js +2 -2
- package/dist/character/model/catalog/CjsCharacterColorValue.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterDefinition.js +2 -2
- package/dist/character/model/catalog/CjsCharacterDefinition.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterMaterialProfile.js +2 -2
- package/dist/character/model/catalog/CjsCharacterMaterialProfile.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterModifierReference.js +2 -2
- package/dist/character/model/catalog/CjsCharacterModifierReference.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartMetadata.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartMetadata.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartModelBundle.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartModelBundle.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartSource.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartSource.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartSourceVersion.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartSourceVersion.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterPartType.js +2 -2
- package/dist/character/model/catalog/CjsCharacterPartType.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterProjectionProfile.js +2 -2
- package/dist/character/model/catalog/CjsCharacterProjectionProfile.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterRecipeEntry.js +2 -2
- package/dist/character/model/catalog/CjsCharacterRecipeEntry.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterRecipeProfile.js +2 -2
- package/dist/character/model/catalog/CjsCharacterRecipeProfile.js.map +1 -1
- package/dist/character/model/catalog/CjsCharacterTextureMetadata.js +2 -2
- package/dist/character/model/catalog/CjsCharacterTextureMetadata.js.map +1 -1
- package/dist/character/model/composition/CjsCharacterModifierLocation.js +2 -2
- package/dist/character/model/composition/CjsCharacterModifierLocation.js.map +1 -1
- package/dist/character/model/composition/CjsCharacterModifierSelection.js +2 -2
- package/dist/character/model/composition/CjsCharacterModifierSelection.js.map +1 -1
- package/dist/character/model/creation/CjsCharacterPaperdoll.js +2 -2
- package/dist/character/model/creation/CjsCharacterPaperdoll.js.map +1 -1
- package/dist/character/model/demographics/CjsCharacterAncestry.js +2 -2
- package/dist/character/model/demographics/CjsCharacterAncestry.js.map +1 -1
- package/dist/character/model/demographics/CjsCharacterBloodline.js +2 -2
- package/dist/character/model/demographics/CjsCharacterBloodline.js.map +1 -1
- package/dist/character/model/demographics/CjsCharacterRace.js +2 -2
- package/dist/character/model/demographics/CjsCharacterRace.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceBinding.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceBinding.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceColorSelection.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceColorSelection.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceDiagnostic.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceDiagnostic.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceLayer.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceLayer.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearancePlan.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearancePlan.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterAppearanceSelection.js +2 -2
- package/dist/character/model/planning/CjsCharacterAppearanceSelection.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterBindingAlpha.js +2 -2
- package/dist/character/model/planning/CjsCharacterBindingAlpha.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterCompositionInput.js +2 -2
- package/dist/character/model/planning/CjsCharacterCompositionInput.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterCompositionPass.js +2 -2
- package/dist/character/model/planning/CjsCharacterCompositionPass.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterCompositionTarget.js +2 -2
- package/dist/character/model/planning/CjsCharacterCompositionTarget.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterCoverage.js +2 -2
- package/dist/character/model/planning/CjsCharacterCoverage.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterMorphTargetWeight.js +2 -2
- package/dist/character/model/planning/CjsCharacterMorphTargetWeight.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterOrigin.js +2 -2
- package/dist/character/model/planning/CjsCharacterOrigin.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterResolvedPart.js +2 -2
- package/dist/character/model/planning/CjsCharacterResolvedPart.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterTextureAsset.js +2 -2
- package/dist/character/model/planning/CjsCharacterTextureAsset.js.map +1 -1
- package/dist/character/model/planning/CjsCharacterTextureChannel.js +2 -2
- package/dist/character/model/planning/CjsCharacterTextureChannel.js.map +1 -1
- package/dist/character/model/resources/CjsCharacterPortraitResource.js +2 -2
- package/dist/character/model/resources/CjsCharacterPortraitResource.js.map +1 -1
- package/dist/character/model/resources/CjsCharacterResource.js +2 -2
- package/dist/character/model/resources/CjsCharacterResource.js.map +1 -1
- package/dist/character/trinity/interior/Tr2IntSkinnedObject.js +6 -5
- package/dist/character/trinity/interior/Tr2IntSkinnedObject.js.map +1 -1
- package/dist/character/trinity/interior/Tr2InteriorLightSource.js +2 -2
- package/dist/character/trinity/interior/Tr2InteriorLightSource.js.map +1 -1
- package/dist/character/trinity/interior/Tr2InteriorPlaceable.js +4 -5
- package/dist/character/trinity/interior/Tr2InteriorPlaceable.js.map +1 -1
- package/dist/character/trinity/interior/Tr2InteriorScene.js +2 -2
- package/dist/character/trinity/interior/Tr2InteriorScene.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2GStateAnimation.js +2 -2
- package/dist/character/trinity/trinityCore/Tr2GStateAnimation.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2GStateParameter.js +2 -2
- package/dist/character/trinity/trinityCore/Tr2GStateParameter.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2Model.js +2 -2
- package/dist/character/trinity/trinityCore/Tr2Model.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2SkinnedModel.js +21 -10
- package/dist/character/trinity/trinityCore/Tr2SkinnedModel.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2SkinnedObject.js +64 -57
- package/dist/character/trinity/trinityCore/Tr2SkinnedObject.js.map +1 -1
- package/dist/character/trinity/trinityCore/Tr2SkinnedObjectLod.js +1 -1
- package/dist/character/trinity/trinityCore/Tr2SkinnedObjectLod.js.map +1 -1
- package/dist/character/trinity/wod/WodBakingScene.js +2 -2
- package/dist/character/trinity/wod/WodBakingScene.js.map +1 -1
- package/dist/core/CjsLibrary.js +32 -685
- package/dist/core/CjsLibrary.js.map +1 -1
- package/dist/core/index.js +1 -2
- package/dist/core/index.js.map +1 -1
- package/dist/global/blue/BeInfo.js +95 -0
- package/dist/global/blue/BeInfo.js.map +1 -0
- package/dist/global/blue/CcpDateTime.js +53 -0
- package/dist/global/blue/CcpDateTime.js.map +1 -0
- package/dist/global/blue/CcpTime.js +148 -0
- package/dist/global/blue/CcpTime.js.map +1 -0
- package/dist/global/blue/CjsBlueOS.js +301 -0
- package/dist/global/blue/CjsBlueOS.js.map +1 -0
- package/dist/global/blue/CjsBluePaths.js +97 -0
- package/dist/global/blue/CjsBluePaths.js.map +1 -0
- package/dist/global/blue/IBlueDynamicResourceConstructor.js +29 -0
- package/dist/global/blue/IBlueDynamicResourceConstructor.js.map +1 -0
- package/dist/global/blue/IBlueEvents.js +34 -0
- package/dist/global/blue/IBlueEvents.js.map +1 -0
- package/dist/global/blue/IBlueOS.js +132 -0
- package/dist/global/blue/IBlueOS.js.map +1 -0
- package/dist/global/blue/IBluePaths.js +72 -0
- package/dist/global/blue/IBluePaths.js.map +1 -0
- package/dist/global/blue/IBlueResMan.js +93 -0
- package/dist/global/blue/IBlueResMan.js.map +1 -0
- package/dist/global/blue/IBlueResManNotifications.js +51 -0
- package/dist/global/blue/IBlueResManNotifications.js.map +1 -0
- package/dist/global/blue/ICatchupTicks.js +25 -0
- package/dist/global/blue/ICatchupTicks.js.map +1 -0
- package/dist/global/blue/IInitialize.js +47 -0
- package/dist/global/blue/IInitialize.js.map +1 -0
- package/dist/global/blue/IListNotify.js +44 -0
- package/dist/global/blue/IListNotify.js.map +1 -0
- package/dist/global/blue/INotify.js +65 -0
- package/dist/global/blue/INotify.js.map +1 -0
- package/dist/global/blue/ISimTimeRebaseNotify.js +28 -0
- package/dist/global/blue/ISimTimeRebaseNotify.js.map +1 -0
- package/dist/global/blue/IVariableTicker.js +24 -0
- package/dist/global/blue/IVariableTicker.js.map +1 -0
- package/dist/global/blue/blue.js +61 -0
- package/dist/global/blue/blue.js.map +1 -0
- package/dist/global/blue/enums/CjsBlueEnumRegistry.js +173 -0
- package/dist/global/blue/enums/CjsBlueEnumRegistry.js.map +1 -0
- package/dist/global/blue/index.js +19 -0
- package/dist/global/blue/index.js.map +1 -1
- package/dist/global/blue/registerTrinityEnums.js +43 -0
- package/dist/global/blue/registerTrinityEnums.js.map +1 -0
- package/dist/global/compose/abstract.js +81 -0
- package/dist/global/compose/abstract.js.map +1 -0
- package/dist/global/compose/interface.js +131 -26
- package/dist/global/compose/interface.js.map +1 -1
- package/dist/global/compose/notify.js +10 -1
- package/dist/global/compose/notify.js.map +1 -1
- package/dist/global/compose/values.js +116 -53
- package/dist/global/compose/values.js.map +1 -1
- package/dist/global/consts/blue.js +73 -0
- package/dist/global/consts/blue.js.map +1 -0
- package/dist/global/consts/graphics/index.js +1 -1
- package/dist/global/consts/graphics/trinityEnums.js +19 -7
- package/dist/global/consts/graphics/trinityEnums.js.map +1 -1
- package/dist/global/consts/index.js +2 -1
- package/dist/global/consts/index.js.map +1 -1
- package/dist/global/consts/trinity.js.map +1 -1
- package/dist/global/contracts/ITr2BoundingBox.js +1 -34
- package/dist/global/contracts/ITr2BoundingBox.js.map +1 -1
- package/dist/global/contracts/ITr2RenderNode.js +1 -27
- package/dist/global/contracts/ITr2RenderNode.js.map +1 -1
- package/dist/global/contracts/index.js +2 -4
- package/dist/global/contracts/index.js.map +1 -1
- package/dist/global/index.js +23 -5
- package/dist/global/index.js.map +1 -1
- package/dist/global/model/CjsModel.js +79 -98
- package/dist/global/model/CjsModel.js.map +1 -1
- package/dist/global/model/CjsModelState.js +0 -15
- package/dist/global/model/CjsModelState.js.map +1 -1
- package/dist/global/model/index.js +1 -1
- package/dist/global/schema/CjsSchema.js +177 -51
- package/dist/global/schema/CjsSchema.js.map +1 -1
- package/dist/global/schema/index.js +4 -3
- package/dist/global/schema/index.js.map +1 -1
- package/dist/global/schema/types/carbonTypes.js +1 -1
- package/dist/global/schema/types/carbonTypes.js.map +1 -1
- package/dist/global/utils/bytes.js +2 -0
- package/dist/global/utils/bytes.js.map +1 -1
- package/dist/global/utils/path.js +30 -1
- package/dist/global/utils/path.js.map +1 -1
- package/dist/index.js +57 -24
- package/dist/index.js.map +1 -1
- package/dist/resource/CjsResMan.js +33 -43
- package/dist/resource/CjsResMan.js.map +1 -1
- package/dist/resource/CjsResource.js +4 -1
- package/dist/resource/CjsResource.js.map +1 -1
- package/dist/resource/format/CjsBlueReader.js +0 -1
- package/dist/resource/format/CjsBlueReader.js.map +1 -1
- package/dist/resource/format/CjsResourceProbe.js +15 -16
- package/dist/resource/format/CjsResourceProbe.js.map +1 -1
- package/dist/resource/format/carbonEffect/carbonEffectResourceTransform.js +132 -75
- package/dist/resource/format/carbonEffect/carbonEffectResourceTransform.js.map +1 -1
- package/dist/resource/formats/black/core/CjsBlackPropertyReaders.js +26 -0
- package/dist/resource/formats/black/core/CjsBlackPropertyReaders.js.map +1 -1
- package/dist/resource/formats/black/core/CjsBlackSchemaRegistry.js +2 -1
- package/dist/resource/formats/black/core/CjsBlackSchemaRegistry.js.map +1 -1
- package/dist/resource/formats/black/core/black-schema-v1-2026-09-19.json.js +4 -0
- package/dist/resource/formats/black/core/black-schema-v1-2026-09-19.json.js.map +1 -0
- package/dist/resource/formats/black/core/blackDefinitions.js +1 -1
- package/dist/resource/formats/black/core/blackDefinitions.js.map +1 -1
- package/dist/resource/formats/black/core/blackSchema.js +1 -1
- package/dist/resource/formats/dds/CjsDdsFormat.js +50 -1
- package/dist/resource/formats/dds/CjsDdsFormat.js.map +1 -1
- package/dist/resource/formats/dds/core/helpers.js +51 -5
- package/dist/resource/formats/dds/core/helpers.js.map +1 -1
- package/dist/resource/formats/fsd/64/readers/CjsFsd64SchemaFrontierGraphicIds.js +94 -0
- package/dist/resource/formats/fsd/64/readers/CjsFsd64SchemaFrontierGraphicIds.js.map +1 -0
- package/dist/resource/formats/fsd/64/readers/CjsFsd64SchemaFrontierTypes.js +189 -0
- package/dist/resource/formats/fsd/64/readers/CjsFsd64SchemaFrontierTypes.js.map +1 -0
- package/dist/resource/formats/fsd/64/readers/index.js +2 -0
- package/dist/resource/formats/fsd/64/readers/index.js.map +1 -1
- package/dist/resource/formats/hlsl/core/detailMapFamily.js +18 -92
- package/dist/resource/formats/hlsl/core/detailMapFamily.js.map +1 -1
- package/dist/resource/formats/hlsl/core/textureArrayFamilies.js +285 -0
- package/dist/resource/formats/hlsl/core/textureArrayFamilies.js.map +1 -0
- package/dist/resource/formats/pickle/CjsPickleFormat.js +34 -14
- package/dist/resource/formats/pickle/CjsPickleFormat.js.map +1 -1
- package/dist/resource/formats/pickle/core/CjsPickleProtocol0Reader.js +60 -451
- package/dist/resource/formats/pickle/core/CjsPickleProtocol0Reader.js.map +1 -1
- package/dist/resource/formats/pickle/core/CjsPickleProtocol4Reader.js +407 -0
- package/dist/resource/formats/pickle/core/CjsPickleProtocol4Reader.js.map +1 -0
- package/dist/resource/formats/pickle/core/pickleCommon.js +671 -0
- package/dist/resource/formats/pickle/core/pickleCommon.js.map +1 -0
- package/dist/resource/formats/red/core/blackDefinitions.js +1 -1
- package/dist/resource/formats/webgl/core/effectPackage.js +85 -7
- package/dist/resource/formats/webgl/core/effectPackage.js.map +1 -1
- package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js +659 -564
- package/dist/resource/formats/webgl/core/glsl/DxbcGlslEmitter.js.map +1 -1
- package/dist/resource/formats/webgl/core/glslBackendBodySet.js +4 -4
- package/dist/resource/formats/webgl/core/glslBackendBodySet.js.map +1 -1
- package/dist/resource/formats/webgl/core/helpers.js +2 -2
- package/dist/resource/formats/webgl/core/helpers.js.map +1 -1
- package/dist/resource/geometry/TriGeometryRes.js +61 -7
- package/dist/resource/geometry/TriGeometryRes.js.map +1 -1
- package/dist/resource/geometry/granny/Tr2GrannyIntersectionResult.js +11 -11
- package/dist/resource/geometry/granny/Tr2GrannyIntersectionResult.js.map +1 -1
- package/dist/resource/index.js +9 -0
- package/dist/resource/index.js.map +1 -1
- package/dist/resource/shader/Tr2EffectRes.js +2 -3
- package/dist/resource/shader/Tr2EffectRes.js.map +1 -1
- package/dist/resource/shader/Tr2MaterialArea.js +3 -3
- package/dist/resource/shader/Tr2MaterialArea.js.map +1 -1
- package/dist/resource/shader/Tr2MaterialMesh.js +2 -2
- package/dist/resource/shader/Tr2MaterialMesh.js.map +1 -1
- package/dist/resource/shader/Tr2MaterialRes.js +3 -3
- package/dist/resource/shader/Tr2MaterialRes.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectLibrary.js +2 -2
- package/dist/resource/shader/reflection/Tr2EffectLibrary.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2EffectStageInput.js +2 -2
- package/dist/resource/shader/reflection/Tr2EffectStageInput.js.map +1 -1
- package/dist/resource/shader/reflection/Tr2Pass.js +4 -4
- package/dist/resource/shader/reflection/Tr2Pass.js.map +1 -1
- package/dist/resource/texture/CjsTextureArrayRes.js.map +1 -1
- package/dist/resource/texture/Tr2ImageRes.js +3 -4
- package/dist/resource/texture/Tr2ImageRes.js.map +1 -1
- package/dist/resource/texture/Tr2TextureLodManager.js +0 -1
- package/dist/resource/texture/Tr2TextureLodManager.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePackChannel.js +4 -4
- package/dist/resource/texture/Tr2TexturePackChannel.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipeline.js +3 -4
- package/dist/resource/texture/Tr2TexturePipeline.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepCompress.js +5 -5
- package/dist/resource/texture/Tr2TexturePipelineStepCompress.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js +3 -3
- package/dist/resource/texture/Tr2TexturePipelineStepLimitSize.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepLoad.js +2 -2
- package/dist/resource/texture/Tr2TexturePipelineStepLoad.js.map +1 -1
- package/dist/resource/texture/Tr2TexturePipelineStepPack.js +6 -6
- package/dist/resource/texture/Tr2TexturePipelineStepPack.js.map +1 -1
- package/dist/resource/texture/TriTextureRes.js +23 -22
- package/dist/resource/texture/TriTextureRes.js.map +1 -1
- package/dist/resource/video/AudioMetadata.js +41 -0
- package/dist/resource/video/AudioMetadata.js.map +1 -0
- package/dist/resource/video/IAudioSink.js +51 -0
- package/dist/resource/video/IAudioSink.js.map +1 -0
- package/dist/resource/video/IEncodedFrame.js +52 -0
- package/dist/resource/video/IEncodedFrame.js.map +1 -0
- package/dist/resource/video/IVideoContainerParser.js +70 -0
- package/dist/resource/video/IVideoContainerParser.js.map +1 -0
- package/dist/resource/video/IVideoDecoder.js +36 -0
- package/dist/resource/video/IVideoDecoder.js.map +1 -0
- package/dist/resource/video/PcmFrame.js +33 -0
- package/dist/resource/video/PcmFrame.js.map +1 -0
- package/dist/resource/video/VideoFrame.js +45 -0
- package/dist/resource/video/VideoFrame.js.map +1 -0
- package/dist/resource/video/VideoMetadata.js +34 -0
- package/dist/resource/video/VideoMetadata.js.map +1 -0
- package/dist/resource/video/enums.js +30 -0
- package/dist/resource/video/enums.js.map +1 -0
- package/dist/sof/EveSOF.js +176 -176
- package/dist/sof/EveSOF.js.map +1 -1
- package/dist/sof/EveSOFDNA.js +5 -1
- package/dist/sof/EveSOFDNA.js.map +1 -1
- package/dist/sof/EveSOFData.js +2 -2
- package/dist/sof/EveSOFData.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFaction.js +2 -2
- package/dist/sof/faction/EveSOFDataFaction.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionChild.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionChild.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionColorSet.js +189 -3
- package/dist/sof/faction/EveSOFDataFactionColorSet.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionHullArea.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionHullArea.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionPlaneSet.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionPlaneSet.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionSpotlightSet.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionSpotlightSet.js.map +1 -1
- package/dist/sof/faction/EveSOFDataFactionVisibilityGroupSet.js +2 -2
- package/dist/sof/faction/EveSOFDataFactionVisibilityGroupSet.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGeneric.js +234 -230
- package/dist/sof/generic/EveSOFDataGeneric.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericDamage.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericDamage.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericDecalShader.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericDecalShader.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericHullCategory.js +27 -23
- package/dist/sof/generic/EveSOFDataGenericHullCategory.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericHullDamage.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericHullDamage.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericShader.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericShader.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericString.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericString.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericSwarm.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericSwarm.js.map +1 -1
- package/dist/sof/generic/EveSOFDataGenericVariant.js +2 -2
- package/dist/sof/generic/EveSOFDataGenericVariant.js.map +1 -1
- package/dist/sof/generic/EveSOFDataVisibilityGroup.js +2 -2
- package/dist/sof/generic/EveSOFDataVisibilityGroup.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHull.js +56 -3
- package/dist/sof/hull/EveSOFDataHull.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullAnimation.js +2 -2
- package/dist/sof/hull/EveSOFDataHullAnimation.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullArea.js +58 -54
- package/dist/sof/hull/EveSOFDataHullArea.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBanner.js +109 -3
- package/dist/sof/hull/EveSOFDataHullBanner.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBannerLight.js +2 -2
- package/dist/sof/hull/EveSOFDataHullBannerLight.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBannerSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullBannerSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBannerSetItem.js +109 -3
- package/dist/sof/hull/EveSOFDataHullBannerSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBooster.js +2 -2
- package/dist/sof/hull/EveSOFDataHullBooster.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullBoosterItem.js +2 -2
- package/dist/sof/hull/EveSOFDataHullBoosterItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullChild.js +55 -50
- package/dist/sof/hull/EveSOFDataHullChild.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullChildSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullChildSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullChildSetItem.js +51 -46
- package/dist/sof/hull/EveSOFDataHullChildSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullController.js +2 -2
- package/dist/sof/hull/EveSOFDataHullController.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullDecalSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullDecalSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullDecalSetItem.js +45 -3
- package/dist/sof/hull/EveSOFDataHullDecalSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullHazeSet.js +21 -3
- package/dist/sof/hull/EveSOFDataHullHazeSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullHazeSetItem.js +47 -43
- package/dist/sof/hull/EveSOFDataHullHazeSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLightSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLightSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLightSetItem.js +4 -2
- package/dist/sof/hull/EveSOFDataHullLightSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLightSetSpotLight.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLightSetSpotLight.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLightSetTexturedPointLight.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLightSetTexturedPointLight.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLocator.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLocator.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLocatorSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLocatorSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullLocatorSetGroup.js +2 -2
- package/dist/sof/hull/EveSOFDataHullLocatorSetGroup.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullPlaneSet.js +29 -3
- package/dist/sof/hull/EveSOFDataHullPlaneSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullPlaneSetItem.js +81 -75
- package/dist/sof/hull/EveSOFDataHullPlaneSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSoundEmitter.js +2 -2
- package/dist/sof/hull/EveSOFDataHullSoundEmitter.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpotlightSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullSpotlightSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpotlightSetItem.js +45 -41
- package/dist/sof/hull/EveSOFDataHullSpotlightSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpriteLineSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullSpriteLineSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpriteLineSetItem.js +70 -66
- package/dist/sof/hull/EveSOFDataHullSpriteLineSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpriteSet.js +2 -2
- package/dist/sof/hull/EveSOFDataHullSpriteSet.js.map +1 -1
- package/dist/sof/hull/EveSOFDataHullSpriteSetItem.js +45 -41
- package/dist/sof/hull/EveSOFDataHullSpriteSetItem.js.map +1 -1
- package/dist/sof/hull/EveSOFDataMultiHullDecalIndexBuffers.js +2 -2
- package/dist/sof/hull/EveSOFDataMultiHullDecalIndexBuffers.js.map +1 -1
- package/dist/sof/layout/EveSOFDataDistributionDepletionCounter.js +2 -2
- package/dist/sof/layout/EveSOFDataDistributionDepletionCounter.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionBucket.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionBucket.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacement.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacement.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionDepletionCounter.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionDepletionCounter.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionMapGraphicSettings.js +35 -3
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionMapGraphicSettings.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionParentMatch.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionParentMatch.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionPlacement.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionPlacement.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionRandomChance.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementDistributionRandomChance.js.map +1 -1
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementGroup.js +2 -2
- package/dist/sof/layout/EveSOFDataHullExtensionPlacementGroup.js.map +1 -1
- package/dist/sof/layout/EveSOFDataLayout.js +2 -2
- package/dist/sof/layout/EveSOFDataLayout.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPattern.js +2 -2
- package/dist/sof/pattern/EveSOFDataPattern.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternApplicationGroup.js +2 -2
- package/dist/sof/pattern/EveSOFDataPatternApplicationGroup.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternLayer.js +60 -3
- package/dist/sof/pattern/EveSOFDataPatternLayer.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternLayerProperties.js +23 -3
- package/dist/sof/pattern/EveSOFDataPatternLayerProperties.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternMaterialOverride.js +2 -2
- package/dist/sof/pattern/EveSOFDataPatternMaterialOverride.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternPerHull.js +2 -2
- package/dist/sof/pattern/EveSOFDataPatternPerHull.js.map +1 -1
- package/dist/sof/pattern/EveSOFDataPatternTransform.js +2 -2
- package/dist/sof/pattern/EveSOFDataPatternTransform.js.map +1 -1
- package/dist/sof/race/EveSOFDataRace.js +46 -42
- package/dist/sof/race/EveSOFDataRace.js.map +1 -1
- package/dist/sof/race/EveSOFDataRaceDamage.js +2 -2
- package/dist/sof/race/EveSOFDataRaceDamage.js.map +1 -1
- package/dist/sof/shared/CjsExternalRef.js +2 -2
- package/dist/sof/shared/CjsExternalRef.js.map +1 -1
- package/dist/sof/shared/EveSOFDNADescriptor.js +2 -2
- package/dist/sof/shared/EveSOFDNADescriptor.js.map +1 -1
- package/dist/sof/shared/EveSOFDataArea.js +61 -3
- package/dist/sof/shared/EveSOFDataArea.js.map +1 -1
- package/dist/sof/shared/EveSOFDataAreaMaterial.js +4 -2
- package/dist/sof/shared/EveSOFDataAreaMaterial.js.map +1 -1
- package/dist/sof/shared/EveSOFDataBlinkType.js +48 -8
- package/dist/sof/shared/EveSOFDataBlinkType.js.map +1 -1
- package/dist/sof/shared/EveSOFDataBooster.js +2 -2
- package/dist/sof/shared/EveSOFDataBooster.js.map +1 -1
- package/dist/sof/shared/EveSOFDataBoosterShape.js +2 -2
- package/dist/sof/shared/EveSOFDataBoosterShape.js.map +1 -1
- package/dist/sof/shared/EveSOFDataDecalIndexBuffer.js +2 -2
- package/dist/sof/shared/EveSOFDataDecalIndexBuffer.js.map +1 -1
- package/dist/sof/shared/EveSOFDataInstancedMesh.js +40 -3
- package/dist/sof/shared/EveSOFDataInstancedMesh.js.map +1 -1
- package/dist/sof/shared/EveSOFDataLogo.js +2 -2
- package/dist/sof/shared/EveSOFDataLogo.js.map +1 -1
- package/dist/sof/shared/EveSOFDataLogoSet.js +33 -3
- package/dist/sof/shared/EveSOFDataLogoSet.js.map +1 -1
- package/dist/sof/shared/EveSOFDataMaterial.js +2 -2
- package/dist/sof/shared/EveSOFDataMaterial.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameter.js +2 -2
- package/dist/sof/shared/EveSOFDataParameter.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterBool.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterBool.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterColor.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterColor.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterFloat.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterFloat.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterInt.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterInt.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterVector2.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterVector2.js.map +1 -1
- package/dist/sof/shared/EveSOFDataParameterVector3.js +2 -2
- package/dist/sof/shared/EveSOFDataParameterVector3.js.map +1 -1
- package/dist/sof/shared/EveSOFDataPointLightAttachment.js +2 -2
- package/dist/sof/shared/EveSOFDataPointLightAttachment.js.map +1 -1
- package/dist/sof/shared/EveSOFDataSpotLightAttachment.js +2 -2
- package/dist/sof/shared/EveSOFDataSpotLightAttachment.js.map +1 -1
- package/dist/sof/shared/EveSOFDataTexture.js +2 -2
- package/dist/sof/shared/EveSOFDataTexture.js.map +1 -1
- package/dist/sof/shared/EveSOFDataTransform.js +2 -2
- package/dist/sof/shared/EveSOFDataTransform.js.map +1 -1
- package/dist/sof/shared/EveSofDataMeshInstance.js +2 -2
- package/dist/sof/shared/EveSofDataMeshInstance.js.map +1 -1
- package/dist/sof/sofDocumentValues.js +9 -0
- package/dist/sof/sofDocumentValues.js.map +1 -1
- package/dist/trinity/controllers/ITr2Controller/ITr2ActionController.js +2 -25
- package/dist/trinity/controllers/ITr2Controller/ITr2ActionController.js.map +1 -1
- package/dist/trinity/controllers/ITr2Controller/ITr2Controller.js +2 -72
- package/dist/trinity/controllers/ITr2Controller/ITr2Controller.js.map +1 -1
- package/dist/trinity/controllers/ITr2ControllerOwner.js +1 -36
- package/dist/trinity/controllers/ITr2ControllerOwner.js.map +1 -1
- package/dist/trinity/controllers/Tr2Controller.js +4 -5
- package/dist/trinity/controllers/Tr2Controller.js.map +1 -1
- package/dist/trinity/controllers/Tr2ControllerEventHandler.js +2 -2
- package/dist/trinity/controllers/Tr2ControllerEventHandler.js.map +1 -1
- package/dist/trinity/controllers/Tr2ControllerReference.js +9 -17
- package/dist/trinity/controllers/Tr2ControllerReference.js.map +1 -1
- package/dist/trinity/controllers/Tr2SyncToAnimation.js +4 -5
- package/dist/trinity/controllers/Tr2SyncToAnimation.js.map +1 -1
- package/dist/trinity/controllers/action/ITr2ControllerAction.js +1 -28
- package/dist/trinity/controllers/action/ITr2ControllerAction.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionAnimateCurveSet.js +9 -7
- package/dist/trinity/controllers/action/Tr2ActionAnimateCurveSet.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionAnimateValue.js +11 -9
- package/dist/trinity/controllers/action/Tr2ActionAnimateValue.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionBindRTPC.js +9 -7
- package/dist/trinity/controllers/action/Tr2ActionBindRTPC.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionCallback.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionCallback.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionChildEffect.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionChildEffect.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionOverlay.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionOverlay.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionPlayCurveSet.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionPlayCurveSet.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionPlayMeshAnimation.js +13 -9
- package/dist/trinity/controllers/action/Tr2ActionPlayMeshAnimation.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionPlaySound.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionPlaySound.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionPython.js +6 -6
- package/dist/trinity/controllers/action/Tr2ActionPython.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionResetClipSphereCenter.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionResetClipSphereCenter.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetAttenuationScaling.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSetAttenuationScaling.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetAudioEmitterPrefix.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSetAudioEmitterPrefix.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetAudioSwitch.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSetAudioSwitch.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetExternalControllerVariable.js +8 -17
- package/dist/trinity/controllers/action/Tr2ActionSetExternalControllerVariable.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetShaderOption.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSetShaderOption.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSetValue.js +11 -9
- package/dist/trinity/controllers/action/Tr2ActionSetValue.js.map +1 -1
- package/dist/trinity/controllers/action/Tr2ActionSpawnParticles.js +4 -5
- package/dist/trinity/controllers/action/Tr2ActionSpawnParticles.js.map +1 -1
- package/dist/trinity/controllers/contracts.js +27 -19
- package/dist/trinity/controllers/contracts.js.map +1 -1
- package/dist/trinity/controllers/expression/Tr2BindingPoint.js +6 -15
- package/dist/trinity/controllers/expression/Tr2BindingPoint.js.map +1 -1
- package/dist/trinity/controllers/expression/Tr2ControllerFloatVariable.js +2 -2
- package/dist/trinity/controllers/expression/Tr2ControllerFloatVariable.js.map +1 -1
- package/dist/trinity/controllers/expression/expressionRuntime.js +136 -0
- package/dist/trinity/controllers/expression/expressionRuntime.js.map +1 -1
- package/dist/trinity/controllers/index.js +6 -6
- package/dist/trinity/controllers/state/ITr2StateMachineStateFinalizer.js +1 -24
- package/dist/trinity/controllers/state/ITr2StateMachineStateFinalizer.js.map +1 -1
- package/dist/trinity/controllers/state/Tr2StateMachine.js +4 -6
- package/dist/trinity/controllers/state/Tr2StateMachine.js.map +1 -1
- package/dist/trinity/controllers/state/Tr2StateMachineState.js +6 -6
- package/dist/trinity/controllers/state/Tr2StateMachineState.js.map +1 -1
- package/dist/trinity/controllers/state/Tr2StateMachineTransition.js +12 -9
- package/dist/trinity/controllers/state/Tr2StateMachineTransition.js.map +1 -1
- package/dist/trinity/controllers/timeline/Tr2TimelineController.js +5 -6
- package/dist/trinity/controllers/timeline/Tr2TimelineController.js.map +1 -1
- package/dist/trinity/core/ITr2Renderable.js +1 -49
- package/dist/trinity/core/ITr2Renderable.js.map +1 -1
- package/dist/trinity/core/ITr2Updateable.js +1 -22
- package/dist/trinity/core/ITr2Updateable.js.map +1 -1
- package/dist/trinity/core/ITriReroutable.js +56 -0
- package/dist/trinity/core/ITriReroutable.js.map +1 -0
- package/dist/trinity/core/Tr2Denoiser.js +2 -2
- package/dist/trinity/core/Tr2Denoiser.js.map +1 -1
- package/dist/trinity/core/Tr2MaterialParameterStore.js +2 -2
- package/dist/trinity/core/Tr2MaterialParameterStore.js.map +1 -1
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRenderer.js +2 -2
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRenderer.js.map +1 -1
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js +1 -1
- package/dist/trinity/core/Tr2QuadRenderer/Tr2QuadRendererEffectRecord.js.map +1 -1
- package/dist/trinity/core/Tr2Renderer.js +161 -4
- package/dist/trinity/core/Tr2Renderer.js.map +1 -1
- package/dist/trinity/core/Tr2ShadowMap.js +3 -3
- package/dist/trinity/core/Tr2ShadowMap.js.map +1 -1
- package/dist/trinity/core/Tr2StreamingBitmapSaver.js +2 -2
- package/dist/trinity/core/Tr2StreamingBitmapSaver.js.map +1 -1
- package/dist/trinity/core/Tr2Transform.js +4 -5
- package/dist/trinity/core/Tr2Transform.js.map +1 -1
- package/dist/trinity/core/animation/Tr2GrannyAnimation.js +2 -2
- package/dist/trinity/core/animation/Tr2GrannyAnimation.js.map +1 -1
- package/dist/trinity/core/animation/Tr2TextureAnimation.js +2 -2
- package/dist/trinity/core/animation/Tr2TextureAnimation.js.map +1 -1
- package/dist/trinity/core/animation/TriRigidOrientation.js +2 -2
- package/dist/trinity/core/animation/TriRigidOrientation.js.map +1 -1
- package/dist/trinity/core/animation/TriTorque.js +2 -2
- package/dist/trinity/core/animation/TriTorque.js.map +1 -1
- package/dist/trinity/core/batch/CjsBatchManager.js +15 -50
- package/dist/trinity/core/batch/CjsBatchManager.js.map +1 -1
- package/dist/trinity/core/batch/TriRenderBatch/ITriRenderBatchAccumulator.js.map +1 -1
- package/dist/trinity/core/batch/TriRenderBatch/Tr2RenderBatch.js +12 -14
- package/dist/trinity/core/batch/TriRenderBatch/Tr2RenderBatch.js.map +1 -1
- package/dist/trinity/core/binding/Tr2BindingVector3.js +2 -2
- package/dist/trinity/core/binding/Tr2BindingVector3.js.map +1 -1
- package/dist/trinity/core/binding/Tr2DynamicBinding.js +6 -20
- package/dist/trinity/core/binding/Tr2DynamicBinding.js.map +1 -1
- package/dist/trinity/core/binding/Tr2ExternalParameter.js +3 -6
- package/dist/trinity/core/binding/Tr2ExternalParameter.js.map +1 -1
- package/dist/trinity/core/binding/Tr2PyValueBinding.js +2 -2
- package/dist/trinity/core/binding/Tr2PyValueBinding.js.map +1 -1
- package/dist/trinity/core/binding/TriValueBinding.js +50 -24
- package/dist/trinity/core/binding/TriValueBinding.js.map +1 -1
- package/dist/trinity/core/context/CjsDirectTrinityStepExecutor.js +0 -6
- package/dist/trinity/core/context/CjsDirectTrinityStepExecutor.js.map +1 -1
- package/dist/trinity/core/context/CjsTrinityStepExecutor.js +7 -10
- package/dist/trinity/core/context/CjsTrinityStepExecutor.js.map +1 -1
- package/dist/trinity/core/context/Tr2RenderContext.js +74 -116
- package/dist/trinity/core/context/Tr2RenderContext.js.map +1 -1
- package/dist/trinity/core/device/Tr2DepthStencil.js +2 -2
- package/dist/trinity/core/device/Tr2DepthStencil.js.map +1 -1
- package/dist/trinity/core/device/Tr2GpuBuffer.js +2 -2
- package/dist/trinity/core/device/Tr2GpuBuffer.js.map +1 -1
- package/dist/trinity/core/device/Tr2RenderTarget.js +2 -2
- package/dist/trinity/core/device/Tr2RenderTarget.js.map +1 -1
- package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js +2 -2
- package/dist/trinity/core/device/Tr2RingBuffer/Tr2RingBuffer.js.map +1 -1
- package/dist/trinity/core/device/Tr2SwapChain.js +2 -2
- package/dist/trinity/core/device/Tr2SwapChain.js.map +1 -1
- package/dist/trinity/core/device/TriDevice.js +576 -37
- package/dist/trinity/core/device/TriDevice.js.map +1 -1
- package/dist/trinity/core/device/gTriDev.js +49 -0
- package/dist/trinity/core/device/gTriDev.js.map +1 -0
- package/dist/trinity/core/index.js +9 -5
- package/dist/trinity/core/index.js.map +1 -1
- package/dist/trinity/core/lighting/Tr2KelvinColor.js +2 -2
- package/dist/trinity/core/lighting/Tr2KelvinColor.js.map +1 -1
- package/dist/trinity/core/lighting/Tr2LightManager.js +7 -17
- package/dist/trinity/core/lighting/Tr2LightManager.js.map +1 -1
- package/dist/trinity/core/lighting/Tr2ShLightingManager.js +2 -2
- package/dist/trinity/core/lighting/Tr2ShLightingManager.js.map +1 -1
- package/dist/trinity/core/line/Tr2BoundingLineSet.js +2 -2
- package/dist/trinity/core/line/Tr2BoundingLineSet.js.map +1 -1
- package/dist/trinity/core/line/Tr2CurveLineSet.js +10 -7
- package/dist/trinity/core/line/Tr2CurveLineSet.js.map +1 -1
- package/dist/trinity/core/line/Tr2LineGraph.js +2 -2
- package/dist/trinity/core/line/Tr2LineGraph.js.map +1 -1
- package/dist/trinity/core/line/Tr2PrimitiveSet.js +4 -5
- package/dist/trinity/core/line/Tr2PrimitiveSet.js.map +1 -1
- package/dist/trinity/core/line/TriLineSet.js +2 -2
- package/dist/trinity/core/line/TriLineSet.js.map +1 -1
- package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSource.js +1 -37
- package/dist/trinity/core/mesh/ITr2ImpostorSource/ITr2ImpostorSource.js.map +1 -1
- package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceData.js +1 -34
- package/dist/trinity/core/mesh/ITr2InstanceData/ITr2InstanceData.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2DirectInstanceData.js +5 -6
- package/dist/trinity/core/mesh/Tr2DirectInstanceData.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2InstancedMesh.js +2 -2
- package/dist/trinity/core/mesh/Tr2InstancedMesh.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2Mesh.js +288 -183
- package/dist/trinity/core/mesh/Tr2Mesh.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2MeshArea.js +32 -3
- package/dist/trinity/core/mesh/Tr2MeshArea.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2MeshBase.js +58 -8
- package/dist/trinity/core/mesh/Tr2MeshBase.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2RuntimeInstanceData.js +141 -142
- package/dist/trinity/core/mesh/Tr2RuntimeInstanceData.js.map +1 -1
- package/dist/trinity/core/mesh/Tr2SerializedMorphAnimation.js +2 -2
- package/dist/trinity/core/mesh/Tr2SerializedMorphAnimation.js.map +1 -1
- package/dist/trinity/core/procedural/GradientTextureConstructor.js +62 -0
- package/dist/trinity/core/procedural/GradientTextureConstructor.js.map +1 -0
- package/dist/trinity/core/procedural/gradientTexture.js +196 -0
- package/dist/trinity/core/procedural/gradientTexture.js.map +1 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectData.js.map +1 -1
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js +5 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataPSBuffer.js.map +1 -1
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js +2 -0
- package/dist/trinity/core/rawData/perObjectData/Tr2PerObjectDataStandard.js.map +1 -1
- package/dist/trinity/core/tool/Tr2ManipulationTool.js +2 -2
- package/dist/trinity/core/tool/Tr2ManipulationTool.js.map +1 -1
- package/dist/trinity/core/tool/Tr2RotationTool.js +2 -2
- package/dist/trinity/core/tool/Tr2RotationTool.js.map +1 -1
- package/dist/trinity/core/tool/Tr2ScalingTool.js +2 -2
- package/dist/trinity/core/tool/Tr2ScalingTool.js.map +1 -1
- package/dist/trinity/core/tool/Tr2TranslationTool.js +2 -2
- package/dist/trinity/core/tool/Tr2TranslationTool.js.map +1 -1
- package/dist/trinity/core/variable/Tr2ExpressionTermInfo.js +2 -2
- package/dist/trinity/core/variable/Tr2ExpressionTermInfo.js.map +1 -1
- package/dist/trinity/core/variable/TriFloat.js +2 -2
- package/dist/trinity/core/variable/TriFloat.js.map +1 -1
- package/dist/trinity/core/variable/TriObserverLocal.js +2 -2
- package/dist/trinity/core/variable/TriObserverLocal.js.map +1 -1
- package/dist/trinity/core/variable/TriVariable.js +2 -2
- package/dist/trinity/core/variable/TriVariable.js.map +1 -1
- package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinition.js +2 -0
- package/dist/trinity/core/vertex/Tr2VertexDefinition/Tr2VertexDefinition.js.map +1 -1
- package/dist/trinity/core/view/TriProjection.js +2 -2
- package/dist/trinity/core/view/TriProjection.js.map +1 -1
- package/dist/trinity/core/view/TriRect.js +2 -2
- package/dist/trinity/core/view/TriRect.js.map +1 -1
- package/dist/trinity/core/view/TriView.js +2 -2
- package/dist/trinity/core/view/TriView.js.map +1 -1
- package/dist/trinity/core/view/TriViewport.js +2 -2
- package/dist/trinity/core/view/TriViewport.js.map +1 -1
- package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js +3 -3
- package/dist/trinity/core/volumetrics/Tr2VolumetricsRenderer.js.map +1 -1
- package/dist/trinity/curves/Tr2CurveSetRange.js +2 -2
- package/dist/trinity/curves/Tr2CurveSetRange.js.map +1 -1
- package/dist/trinity/curves/TriCurveSet.js +2 -2
- package/dist/trinity/curves/TriCurveSet.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2BoneMatrixCurve.js +2 -2
- package/dist/trinity/curves/curve/Tr2BoneMatrixCurve.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveColor.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveColor.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveColorMixer.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveColorMixer.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveCombiner.js +3 -3
- package/dist/trinity/curves/curve/Tr2CurveCombiner.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveConstant.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveConstant.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveEulerRotation.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveEulerRotation.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveEulerRotationExpression.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveEulerRotationExpression.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveQuaternion.js +3 -3
- package/dist/trinity/curves/curve/Tr2CurveQuaternion.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveRandomAxisRotation.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveRandomAxisRotation.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveScalar.js +3 -3
- package/dist/trinity/curves/curve/Tr2CurveScalar.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveScalarExpression.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveScalarExpression.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveVector2.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveVector2.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveVector3.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveVector3.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveVector3Expression.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveVector3Expression.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2CurveVector3Lerp.js +2 -2
- package/dist/trinity/curves/curve/Tr2CurveVector3Lerp.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2DistanceTracker.js +5 -5
- package/dist/trinity/curves/curve/Tr2DistanceTracker.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2FollowCurve.js +2 -2
- package/dist/trinity/curves/curve/Tr2FollowCurve.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2QuaternionLerpCurve.js +2 -2
- package/dist/trinity/curves/curve/Tr2QuaternionLerpCurve.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2RotationAdapter.js +2 -2
- package/dist/trinity/curves/curve/Tr2RotationAdapter.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2ScalarExprKeyCurve.js +2 -2
- package/dist/trinity/curves/curve/Tr2ScalarExprKeyCurve.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2ScalarFader.js +2 -2
- package/dist/trinity/curves/curve/Tr2ScalarFader.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2TranslationAdapter.js +2 -2
- package/dist/trinity/curves/curve/Tr2TranslationAdapter.js.map +1 -1
- package/dist/trinity/curves/curve/Tr2VectorFunctionModifier.js +2 -2
- package/dist/trinity/curves/curve/Tr2VectorFunctionModifier.js.map +1 -1
- package/dist/trinity/curves/curve/TriColorSequencer.js +18 -18
- package/dist/trinity/curves/curve/TriColorSequencer.js.map +1 -1
- package/dist/trinity/curves/curve/TriEventCurve.js +51 -51
- package/dist/trinity/curves/curve/TriEventCurve.js.map +1 -1
- package/dist/trinity/curves/curve/TriPerlinCurve.js +2 -2
- package/dist/trinity/curves/curve/TriPerlinCurve.js.map +1 -1
- package/dist/trinity/curves/curve/TriVectorSequencer.js +36 -36
- package/dist/trinity/curves/curve/TriVectorSequencer.js.map +1 -1
- package/dist/trinity/curves/key/Tr2CameraFollowCurveKey.js +2 -2
- package/dist/trinity/curves/key/Tr2CameraFollowCurveKey.js.map +1 -1
- package/dist/trinity/curves/key/Tr2MatrixKey.js +2 -2
- package/dist/trinity/curves/key/Tr2MatrixKey.js.map +1 -1
- package/dist/trinity/curves/key/Tr2ObjectFollowCurveKey.js +2 -2
- package/dist/trinity/curves/key/Tr2ObjectFollowCurveKey.js.map +1 -1
- package/dist/trinity/curves/key/Tr2ScalarExprKey.js +28 -24
- package/dist/trinity/curves/key/Tr2ScalarExprKey.js.map +1 -1
- package/dist/trinity/curves/key/TriEventKey.js +2 -2
- package/dist/trinity/curves/key/TriEventKey.js.map +1 -1
- package/dist/trinity/curves/track/Tr2GrannyEventTrack.js +2 -2
- package/dist/trinity/curves/track/Tr2GrannyEventTrack.js.map +1 -1
- package/dist/trinity/curves/track/Tr2GrannyTrack.js +9 -4
- package/dist/trinity/curves/track/Tr2GrannyTrack.js.map +1 -1
- package/dist/trinity/curves/track/Tr2GrannyTransformTrack.js +2 -2
- package/dist/trinity/curves/track/Tr2GrannyTransformTrack.js.map +1 -1
- package/dist/trinity/curves/track/Tr2GrannyVectorTrack.js +2 -2
- package/dist/trinity/curves/track/Tr2GrannyVectorTrack.js.map +1 -1
- package/dist/trinity/eve/AudioGameObject.js +6 -8
- package/dist/trinity/eve/AudioGameObject.js.map +1 -1
- package/dist/trinity/eve/EveCustomMask.js +2 -2
- package/dist/trinity/eve/EveCustomMask.js.map +1 -1
- package/dist/trinity/eve/EveDistanceField.js +6 -4
- package/dist/trinity/eve/EveDistanceField.js.map +1 -1
- package/dist/trinity/eve/EveImpactOverlay.js +2 -2
- package/dist/trinity/eve/EveImpactOverlay.js.map +1 -1
- package/dist/trinity/eve/EveThrottleable.js +2 -2
- package/dist/trinity/eve/EveThrottleable.js.map +1 -1
- package/dist/trinity/eve/EveTriggerVolume.js +4 -5
- package/dist/trinity/eve/EveTriggerVolume.js.map +1 -1
- package/dist/trinity/eve/IEveInheritPropertiesOwner.js +1 -23
- package/dist/trinity/eve/IEveInheritPropertiesOwner.js.map +1 -1
- package/dist/trinity/eve/IEveSpaceObject2.js +1 -24
- package/dist/trinity/eve/IEveSpaceObject2.js.map +1 -1
- package/dist/trinity/eve/IEveTransform.js +1 -22
- package/dist/trinity/eve/IEveTransform.js.map +1 -1
- package/dist/trinity/eve/attachment/banner/EveBannerItem.js +2 -2
- package/dist/trinity/eve/attachment/banner/EveBannerItem.js.map +1 -1
- package/dist/trinity/eve/attachment/banner/EveBannerLight.js +2 -2
- package/dist/trinity/eve/attachment/banner/EveBannerLight.js.map +1 -1
- package/dist/trinity/eve/attachment/banner/EveBannerSet.js +20 -3
- package/dist/trinity/eve/attachment/banner/EveBannerSet.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2.js +127 -122
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Item.js +5 -5
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Item.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Renderable.js +4 -5
- package/dist/trinity/eve/attachment/booster/EveBoosterSet2Renderable.js.map +1 -1
- package/dist/trinity/eve/attachment/booster/EveTrailsSet.js +4 -2
- package/dist/trinity/eve/attachment/booster/EveTrailsSet.js.map +1 -1
- package/dist/trinity/eve/attachment/decal/EveSpaceObjectDecal.js +151 -148
- package/dist/trinity/eve/attachment/decal/EveSpaceObjectDecal.js.map +1 -1
- package/dist/trinity/eve/attachment/haze/EveHazeSet.js +3 -3
- package/dist/trinity/eve/attachment/haze/EveHazeSet.js.map +1 -1
- package/dist/trinity/eve/attachment/haze/EveHazeSetItem.js +2 -2
- package/dist/trinity/eve/attachment/haze/EveHazeSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/haze/EveHazeSetLight.js +2 -2
- package/dist/trinity/eve/attachment/haze/EveHazeSetLight.js.map +1 -1
- package/dist/trinity/eve/attachment/plane/EvePlaneLight.js +2 -2
- package/dist/trinity/eve/attachment/plane/EvePlaneLight.js.map +1 -1
- package/dist/trinity/eve/attachment/plane/EvePlaneSet.js +10 -4
- package/dist/trinity/eve/attachment/plane/EvePlaneSet.js.map +1 -1
- package/dist/trinity/eve/attachment/plane/EvePlaneSetItem.js +3 -2
- package/dist/trinity/eve/attachment/plane/EvePlaneSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightLight.js +2 -2
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightLight.js.map +1 -1
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSet.js +3 -3
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSet.js.map +1 -1
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSetItem.js +2 -2
- package/dist/trinity/eve/attachment/spotlight/EveSpotlightSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteLight.js +2 -2
- package/dist/trinity/eve/attachment/sprite/EveSpriteLight.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSet.js +4 -4
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSet.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSetItem.js +2 -2
- package/dist/trinity/eve/attachment/sprite/EveSpriteLineSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteSet.js +5 -5
- package/dist/trinity/eve/attachment/sprite/EveSpriteSet.js.map +1 -1
- package/dist/trinity/eve/attachment/sprite/EveSpriteSetItem.js +2 -2
- package/dist/trinity/eve/attachment/sprite/EveSpriteSetItem.js.map +1 -1
- package/dist/trinity/eve/attachment/turrets/EveTurretFiringFX.js +7 -4
- package/dist/trinity/eve/attachment/turrets/EveTurretFiringFX.js.map +1 -1
- package/dist/trinity/eve/attachment/turrets/EveTurretSet.js +177 -144
- package/dist/trinity/eve/attachment/turrets/EveTurretSet.js.map +1 -1
- package/dist/trinity/eve/attachment/turrets/EveTurretTarget.js +2 -2
- package/dist/trinity/eve/attachment/turrets/EveTurretTarget.js.map +1 -1
- package/dist/trinity/eve/camera/EveCamera.js +5 -11
- package/dist/trinity/eve/camera/EveCamera.js.map +1 -1
- package/dist/trinity/eve/child/EveChildAudio.js +4 -5
- package/dist/trinity/eve/child/EveChildAudio.js.map +1 -1
- package/dist/trinity/eve/child/EveChildBehaviorSystem.js +5 -6
- package/dist/trinity/eve/child/EveChildBehaviorSystem.js.map +1 -1
- package/dist/trinity/eve/child/EveChildBoosterSet.js +6 -6
- package/dist/trinity/eve/child/EveChildBoosterSet.js.map +1 -1
- package/dist/trinity/eve/child/EveChildBulletStorm.js +4 -5
- package/dist/trinity/eve/child/EveChildBulletStorm.js.map +1 -1
- package/dist/trinity/eve/child/EveChildCloud.js +5 -6
- package/dist/trinity/eve/child/EveChildCloud.js.map +1 -1
- package/dist/trinity/eve/child/EveChildCloud2.js +166 -166
- package/dist/trinity/eve/child/EveChildCloud2.js.map +1 -1
- package/dist/trinity/eve/child/EveChildContainer.js +235 -169
- package/dist/trinity/eve/child/EveChildContainer.js.map +1 -1
- package/dist/trinity/eve/child/EveChildEffectPropagator.js +9 -9
- package/dist/trinity/eve/child/EveChildEffectPropagator.js.map +1 -1
- package/dist/trinity/eve/child/EveChildExplosion.js +11 -7
- package/dist/trinity/eve/child/EveChildExplosion.js.map +1 -1
- package/dist/trinity/eve/child/EveChildFogVolume.js +2 -2
- package/dist/trinity/eve/child/EveChildFogVolume.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInheritProperties.js +2 -2
- package/dist/trinity/eve/child/EveChildInheritProperties.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstanceContainer.js +2 -2
- package/dist/trinity/eve/child/EveChildInstanceContainer.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstanceMeshRenderer.js +11 -7
- package/dist/trinity/eve/child/EveChildInstanceMeshRenderer.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js +2 -2
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMesh.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshArea.js +2 -2
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshArea.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshInstance.js +2 -2
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshInstance.js.map +1 -1
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshes.js +4 -5
- package/dist/trinity/eve/child/EveChildInstancedMeshes/EveChildInstancedMeshes.js.map +1 -1
- package/dist/trinity/eve/child/EveChildLightingOverride.js +4 -5
- package/dist/trinity/eve/child/EveChildLightingOverride.js.map +1 -1
- package/dist/trinity/eve/child/EveChildLineSet.js +4 -5
- package/dist/trinity/eve/child/EveChildLineSet.js.map +1 -1
- package/dist/trinity/eve/child/EveChildLink.js +2 -2
- package/dist/trinity/eve/child/EveChildLink.js.map +1 -1
- package/dist/trinity/eve/child/EveChildMesh.js +299 -227
- package/dist/trinity/eve/child/EveChildMesh.js.map +1 -1
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartData.js +2 -2
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartData.js.map +1 -1
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartDataPartData.js +2 -2
- package/dist/trinity/eve/child/EveChildPartData/EveChildPartDataPartData.js.map +1 -1
- package/dist/trinity/eve/child/EveChildParticleSphere.js +4 -5
- package/dist/trinity/eve/child/EveChildParticleSphere.js.map +1 -1
- package/dist/trinity/eve/child/EveChildParticleSystem.js +36 -36
- package/dist/trinity/eve/child/EveChildParticleSystem.js.map +1 -1
- package/dist/trinity/eve/child/EveChildPlug.js +60 -14
- package/dist/trinity/eve/child/EveChildPlug.js.map +1 -1
- package/dist/trinity/eve/child/EveChildPostProcessVolume.js +2 -2
- package/dist/trinity/eve/child/EveChildPostProcessVolume.js.map +1 -1
- package/dist/trinity/eve/child/EveChildQuad.js +4 -5
- package/dist/trinity/eve/child/EveChildQuad.js.map +1 -1
- package/dist/trinity/eve/child/EveChildRef.js +2 -2
- package/dist/trinity/eve/child/EveChildRef.js.map +1 -1
- package/dist/trinity/eve/child/EveChildSocket.js +2 -2
- package/dist/trinity/eve/child/EveChildSocket.js.map +1 -1
- package/dist/trinity/eve/child/EveChildSpherePin.js +4 -4
- package/dist/trinity/eve/child/EveChildSpherePin.js.map +1 -1
- package/dist/trinity/eve/child/EveChildTurret.js +4 -4
- package/dist/trinity/eve/child/EveChildTurret.js.map +1 -1
- package/dist/trinity/eve/child/EveCloudVolumeBall.js +2 -2
- package/dist/trinity/eve/child/EveCloudVolumeBall.js.map +1 -1
- package/dist/trinity/eve/child/EveCloudVolumeTextureParameter.js +6 -6
- package/dist/trinity/eve/child/EveCloudVolumeTextureParameter.js.map +1 -1
- package/dist/trinity/eve/child/EveSpaceObjectChild.js +2 -2
- package/dist/trinity/eve/child/EveSpaceObjectChild.js.map +1 -1
- package/dist/trinity/eve/child/IEveLightingOverride.js +1 -23
- package/dist/trinity/eve/child/IEveLightingOverride.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/Allign.js +2 -2
- package/dist/trinity/eve/child/behaviors/Allign.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/ApproachGroup.js +2 -2
- package/dist/trinity/eve/child/behaviors/ApproachGroup.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/BackAndForth.js +2 -2
- package/dist/trinity/eve/child/behaviors/BackAndForth.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/BehaviorGroup.js +4 -4
- package/dist/trinity/eve/child/behaviors/BehaviorGroup.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/BehaviorGroupBooster.js +2 -2
- package/dist/trinity/eve/child/behaviors/BehaviorGroupBooster.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/CollisionAvoidance.js +2 -2
- package/dist/trinity/eve/child/behaviors/CollisionAvoidance.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/DroneAvoidance.js +2 -2
- package/dist/trinity/eve/child/behaviors/DroneAvoidance.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/FollowASpline.js +2 -2
- package/dist/trinity/eve/child/behaviors/FollowASpline.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/Formation.js +2 -2
- package/dist/trinity/eve/child/behaviors/Formation.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/InclusionVolume.js +2 -2
- package/dist/trinity/eve/child/behaviors/InclusionVolume.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/Inertia.js +2 -2
- package/dist/trinity/eve/child/behaviors/Inertia.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/PlayFX.js +2 -2
- package/dist/trinity/eve/child/behaviors/PlayFX.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/SeekTarget.js +2 -2
- package/dist/trinity/eve/child/behaviors/SeekTarget.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/SpawnDrones.js +2 -2
- package/dist/trinity/eve/child/behaviors/SpawnDrones.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/Wander.js +2 -2
- package/dist/trinity/eve/child/behaviors/Wander.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/lifecycle/ProcessLifetime.js +2 -2
- package/dist/trinity/eve/child/behaviors/lifecycle/ProcessLifetime.js.map +1 -1
- package/dist/trinity/eve/child/behaviors/tunnels/SplineTunnelGroup.js +2 -2
- package/dist/trinity/eve/child/behaviors/tunnels/SplineTunnelGroup.js.map +1 -1
- package/dist/trinity/eve/child/lineSetPaths/EveBezierCurve.js +8 -8
- package/dist/trinity/eve/child/lineSetPaths/EveBezierCurve.js.map +1 -1
- package/dist/trinity/eve/child/lineSetPaths/EveCircle.js +8 -8
- package/dist/trinity/eve/child/lineSetPaths/EveCircle.js.map +1 -1
- package/dist/trinity/eve/child/lineSetPaths/EveLineChildContainer.js +2 -2
- package/dist/trinity/eve/child/lineSetPaths/EveLineChildContainer.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierAttachToBone.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierAttachToBone.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierBillboard3D.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierBillboard3D.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierSRT.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierSRT.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierStretch.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierStretch.js.map +1 -1
- package/dist/trinity/eve/child/modifiers/EveChildModifierTranslateWithCamera.js +2 -2
- package/dist/trinity/eve/child/modifiers/EveChildModifierTranslateWithCamera.js.map +1 -1
- package/dist/trinity/eve/child/procedural/EveChildProceduralContainer.js +5 -6
- package/dist/trinity/eve/child/procedural/EveChildProceduralContainer.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodAttributeMap.js +3 -3
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodAttributeMap.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodAttributeMapParameter.js +3 -3
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodAttributeMapParameter.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodCycling.js +2 -2
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodCycling.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodCyclingParameter.js +3 -3
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodCyclingParameter.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodRandom.js +4 -4
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodRandom.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodRandomParameter.js +4 -4
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodRandomParameter.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodThresholdParameter.js +4 -4
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodThresholdParameter.js.map +1 -1
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodThresholds.js +4 -4
- package/dist/trinity/eve/child/procedural/selection/EveProceduralMethodThresholds.js.map +1 -1
- package/dist/trinity/eve/distribution/EveBaseDistributionMethod.js +2 -2
- package/dist/trinity/eve/distribution/EveBaseDistributionMethod.js.map +1 -1
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierProcessLifetime.js +2 -2
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierProcessLifetime.js.map +1 -1
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierScaleBySpaceObjectParent.js +2 -2
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierScaleBySpaceObjectParent.js.map +1 -1
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierTransformOffset.js +2 -2
- package/dist/trinity/eve/distribution/attributeModifiers/EveDistributionModifierTransformOffset.js.map +1 -1
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorLocators.js +2 -2
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorLocators.js.map +1 -1
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorParentLocators.js +4 -4
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorParentLocators.js.map +1 -1
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorVolume.js +2 -2
- package/dist/trinity/eve/distribution/placement/EveDistributionPlacementGeneratorVolume.js.map +1 -1
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierLifeTimeOffset.js +2 -2
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierLifeTimeOffset.js.map +1 -1
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomOffset.js +2 -2
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomOffset.js.map +1 -1
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomRotation.js +2 -2
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomRotation.js.map +1 -1
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomScale.js +2 -2
- package/dist/trinity/eve/distribution/spawnModifiers/EveDistributionSpawnModifierRandomScale.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerBurst.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerBurst.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerControllerTrigger.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerControllerTrigger.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerInterval.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerInterval.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerPlane.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerPlane.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerSnake.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerSnake.js.map +1 -1
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerSphere.js +2 -2
- package/dist/trinity/eve/distribution/spawners/EveDistributionSpawnerTriggerSphere.js.map +1 -1
- package/dist/trinity/eve/effect/lensflare/EveLensflare.js +4 -5
- package/dist/trinity/eve/effect/lensflare/EveLensflare.js.map +1 -1
- package/dist/trinity/eve/effect/multiEffect/EveMultiEffect.js +4 -5
- package/dist/trinity/eve/effect/multiEffect/EveMultiEffect.js.map +1 -1
- package/dist/trinity/eve/effect/multiEffect/EveMultiEffectParameter.js +4 -4
- package/dist/trinity/eve/effect/multiEffect/EveMultiEffectParameter.js.map +1 -1
- package/dist/trinity/eve/index.js +4 -4
- package/dist/trinity/eve/lights/Tr2FactionLight.js +5 -6
- package/dist/trinity/eve/lights/Tr2FactionLight.js.map +1 -1
- package/dist/trinity/eve/lights/Tr2Light.js +37 -9
- package/dist/trinity/eve/lights/Tr2Light.js.map +1 -1
- package/dist/trinity/eve/lights/Tr2PointLight.js +2 -2
- package/dist/trinity/eve/lights/Tr2PointLight.js.map +1 -1
- package/dist/trinity/eve/lights/Tr2SpotLight.js +2 -2
- package/dist/trinity/eve/lights/Tr2SpotLight.js.map +1 -1
- package/dist/trinity/eve/lights/Tr2TexturedPointLight.js +29 -31
- package/dist/trinity/eve/lights/Tr2TexturedPointLight.js.map +1 -1
- package/dist/trinity/eve/locator/EveLocator2.js +2 -2
- package/dist/trinity/eve/locator/EveLocator2.js.map +1 -1
- package/dist/trinity/eve/locator/EveLocatorSets.js +2 -2
- package/dist/trinity/eve/locator/EveLocatorSets.js.map +1 -1
- package/dist/trinity/eve/locator/Locator.js +2 -2
- package/dist/trinity/eve/locator/Locator.js.map +1 -1
- package/dist/trinity/eve/overlays/EveDamageOverlay.js +2 -2
- package/dist/trinity/eve/overlays/EveDamageOverlay.js.map +1 -1
- package/dist/trinity/eve/overlays/EveMeshOverlayEffect.js +2 -2
- package/dist/trinity/eve/overlays/EveMeshOverlayEffect.js.map +1 -1
- package/dist/trinity/eve/particles/static/EveSceneStaticParticles.js +5 -6
- package/dist/trinity/eve/particles/static/EveSceneStaticParticles.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveFiringEffectElementContainer.js +4 -5
- package/dist/trinity/eve/renderable/stretch/EveFiringEffectElementContainer.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveLocalPositionCurve.js +2 -2
- package/dist/trinity/eve/renderable/stretch/EveLocalPositionCurve.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveRemotePositionCurve.js +2 -2
- package/dist/trinity/eve/renderable/stretch/EveRemotePositionCurve.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveStretch.js +6 -6
- package/dist/trinity/eve/renderable/stretch/EveStretch.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveStretch2.js +10 -8
- package/dist/trinity/eve/renderable/stretch/EveStretch2.js.map +1 -1
- package/dist/trinity/eve/renderable/stretch/EveStretch3.js +4 -5
- package/dist/trinity/eve/renderable/stretch/EveStretch3.js.map +1 -1
- package/dist/trinity/eve/scene/EveSpaceScene.js +2 -2
- package/dist/trinity/eve/scene/EveSpaceScene.js.map +1 -1
- package/dist/trinity/eve/scene/EveSpaceSceneRenderDriver.js +2 -2
- package/dist/trinity/eve/scene/EveSpaceSceneRenderDriver.js.map +1 -1
- package/dist/trinity/eve/scene/components/EveComponentRegistry.js +3 -3
- package/dist/trinity/eve/scene/components/EveComponentRegistry.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveChildSmartLightSet.js +6 -7
- package/dist/trinity/eve/smartLights/EveChildSmartLightSet.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightBaseGroup.js +2 -2
- package/dist/trinity/eve/smartLights/EveSmartLightBaseGroup.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightColorShareGroup.js +4 -8
- package/dist/trinity/eve/smartLights/EveSmartLightColorShareGroup.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightMesh.js +7 -4
- package/dist/trinity/eve/smartLights/EveSmartLightMesh.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightPointLight.js +25 -15
- package/dist/trinity/eve/smartLights/EveSmartLightPointLight.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightQuad.js +4 -9
- package/dist/trinity/eve/smartLights/EveSmartLightQuad.js.map +1 -1
- package/dist/trinity/eve/smartLights/EveSmartLightSpotLight.js +2 -2
- package/dist/trinity/eve/smartLights/EveSmartLightSpotLight.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierBucket.js +2 -3
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierBucket.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierCameraDependency.js +2 -2
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierCameraDependency.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierColor.js +2 -2
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierColor.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierControllerVariableListener.js +10 -18
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierControllerVariableListener.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierExpressionBucket.js +2 -2
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierExpressionBucket.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierNoise.js +2 -2
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightAttributeModifierNoise.js.map +1 -1
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightBaseAttributeModifier.js +4 -9
- package/dist/trinity/eve/smartLights/attributeModifiers/EveSmartLightBaseAttributeModifier.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterBool.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterBool.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterColor.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterColor.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterFloat.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterFloat.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterInt.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterInt.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterString.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterString.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterVector2.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterVector2.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterVector3.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterVector3.js.map +1 -1
- package/dist/trinity/eve/socket/EveSocketParameterVector4.js +2 -2
- package/dist/trinity/eve/socket/EveSocketParameterVector4.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveEffectRoot2.js +20 -17
- package/dist/trinity/eve/spaceObject/EveEffectRoot2.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveMissile.js +2 -2
- package/dist/trinity/eve/spaceObject/EveMissile.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveMissileWarhead.js +2 -2
- package/dist/trinity/eve/spaceObject/EveMissileWarhead.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveMobile.js +2 -2
- package/dist/trinity/eve/spaceObject/EveMobile.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveRootTransform.js +2 -2
- package/dist/trinity/eve/spaceObject/EveRootTransform.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveShip2.js +2 -2
- package/dist/trinity/eve/spaceObject/EveShip2.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveSpaceObject2.js +525 -431
- package/dist/trinity/eve/spaceObject/EveSpaceObject2.js.map +1 -1
- package/dist/trinity/eve/spaceObject/EveTransform.js +7 -7
- package/dist/trinity/eve/spaceObject/EveTransform.js.map +1 -1
- package/dist/trinity/eve/spaceObject/fxAttributes/EveCameraFxAttributes.js +2 -2
- package/dist/trinity/eve/spaceObject/fxAttributes/EveCameraFxAttributes.js.map +1 -1
- package/dist/trinity/eve/spaceObject/fxAttributes/EveSpaceObjectFxAttributes.js +2 -2
- package/dist/trinity/eve/spaceObject/fxAttributes/EveSpaceObjectFxAttributes.js.map +1 -1
- package/dist/trinity/eve/spaceObject/planet/EvePlanet.js +2 -2
- package/dist/trinity/eve/spaceObject/planet/EvePlanet.js.map +1 -1
- package/dist/trinity/eve/spaceObject/swarm/EveSwarm.js +2 -2
- package/dist/trinity/eve/spaceObject/swarm/EveSwarm.js.map +1 -1
- package/dist/trinity/eve/spaceObject/swarm/EveSwarmRenderable.js +7 -8
- package/dist/trinity/eve/spaceObject/swarm/EveSwarmRenderable.js.map +1 -1
- package/dist/trinity/eve/ui/EveConnector.js +2 -2
- package/dist/trinity/eve/ui/EveConnector.js.map +1 -1
- package/dist/trinity/eve/ui/EveEllipseDefinition.js +2 -2
- package/dist/trinity/eve/ui/EveEllipseDefinition.js.map +1 -1
- package/dist/trinity/eve/ui/EveEllipseSet.js +36 -6
- package/dist/trinity/eve/ui/EveEllipseSet.js.map +1 -1
- package/dist/trinity/eve/ui/EveLineContainer.js +4 -5
- package/dist/trinity/eve/ui/EveLineContainer.js.map +1 -1
- package/dist/trinity/eve/ui/EveProjectBracket.js +11 -3
- package/dist/trinity/eve/ui/EveProjectBracket.js.map +1 -1
- package/dist/trinity/eve/ui/EveSpherePin.js +6 -7
- package/dist/trinity/eve/ui/EveSpherePin.js.map +1 -1
- package/dist/trinity/eve/ui/EveSprite2dBracket.js +2 -2
- package/dist/trinity/eve/ui/EveSprite2dBracket.js.map +1 -1
- package/dist/trinity/eve/ui/EveSprite2dBracketRenderer.js +2 -2
- package/dist/trinity/eve/ui/EveSprite2dBracketRenderer.js.map +1 -1
- package/dist/trinity/eve/ui/EveTacticalOverlay.js +6 -24
- package/dist/trinity/eve/ui/EveTacticalOverlay.js.map +1 -1
- package/dist/trinity/eve/ui/EveUiObject.js +2 -2
- package/dist/trinity/eve/ui/EveUiObject.js.map +1 -1
- package/dist/trinity/eve/ui/lines/EveCurveLineSet.js +4 -5
- package/dist/trinity/eve/ui/lines/EveCurveLineSet.js.map +1 -1
- package/dist/trinity/eve/ui/lines/EveLineSet.js +6 -7
- package/dist/trinity/eve/ui/lines/EveLineSet.js.map +1 -1
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalOverlayTrackObject.js +2 -2
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalOverlayTrackObject.js.map +1 -1
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalTrails.js +8 -9
- package/dist/trinity/eve/ui/tacticalOverlay/EveTacticalTrails.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/EveVirtualCamera.js +2 -2
- package/dist/trinity/eve/virtualCamera/EveVirtualCamera.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/EveVirtualCameraSystem.js +2 -2
- package/dist/trinity/eve/virtualCamera/EveVirtualCameraSystem.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatAdd.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatAdd.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatBase.js +4 -4
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatBase.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatDamping.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatDamping.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatNoise.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatNoise.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatSet.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourFloatSet.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Base.js +4 -4
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Base.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Damping.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Damping.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Inertia.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Inertia.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3MoveBetween.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3MoveBetween.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3MoveForward.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3MoveForward.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Offset.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Offset.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Orbit.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Orbit.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Shake.js +2 -2
- package/dist/trinity/eve/virtualCamera/behaviour/EveVirtualCameraBehaviourVector3Shake.js.map +1 -1
- package/dist/trinity/eve/virtualCamera/transition/EveVirtualCameraTransitionLerp.js +2 -2
- package/dist/trinity/eve/virtualCamera/transition/EveVirtualCameraTransitionLerp.js.map +1 -1
- package/dist/trinity/eve/volume/EveBoxVolume.js +44 -44
- package/dist/trinity/eve/volume/EveBoxVolume.js.map +1 -1
- package/dist/trinity/eve/volume/EveEllipsoidVolume.js +2 -2
- package/dist/trinity/eve/volume/EveEllipsoidVolume.js.map +1 -1
- package/dist/trinity/eve/volume/EveSphereVolume.js +5 -6
- package/dist/trinity/eve/volume/EveSphereVolume.js.map +1 -1
- package/dist/trinity/generated/eve/child/EveCloudEditableVolume.js +2 -2
- package/dist/trinity/generated/eve/child/EveCloudEditableVolume.js.map +1 -1
- package/dist/trinity/generated/eve/effect/EveOccluder.js +2 -2
- package/dist/trinity/generated/eve/effect/EveOccluder.js.map +1 -1
- package/dist/trinity/generated/eve/effect/EveStarfield.js +2 -2
- package/dist/trinity/generated/eve/effect/EveStarfield.js.map +1 -1
- package/dist/trinity/generated/font/Tr2FontManager.js +2 -2
- package/dist/trinity/generated/font/Tr2FontManager.js.map +1 -1
- package/dist/trinity/generated/font/Tr2FontMeasurer.js +2 -2
- package/dist/trinity/generated/font/Tr2FontMeasurer.js.map +1 -1
- package/dist/trinity/generated/font/Tr2SBitWrapper.js +2 -2
- package/dist/trinity/generated/font/Tr2SBitWrapper.js.map +1 -1
- package/dist/trinity/generated/particle/Tr2GpuParticleSystem.js +2 -2
- package/dist/trinity/generated/particle/Tr2GpuParticleSystem.js.map +1 -1
- package/dist/trinity/generated/raytracing/Tr2RaytracingManager.js +2 -2
- package/dist/trinity/generated/raytracing/Tr2RaytracingManager.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2d.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2d.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dArc.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dArc.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dContainer.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dContainer.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dFrame.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dFrame.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dLayer.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dLayer.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dLine.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dLine.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dStretch.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dStretch.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dStretchVertical.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dStretchVertical.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dTextObject.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dTextObject.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dTexture.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2Sprite2dTexture.js.map +1 -1
- package/dist/trinity/generated/sprite2d/Tr2SpriteObject.js +2 -2
- package/dist/trinity/generated/sprite2d/Tr2SpriteObject.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2AtlasTexture.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2AtlasTexture.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2GpuStructuredBuffer.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2GpuStructuredBuffer.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2GrannyPrimitiveSet.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2GrannyPrimitiveSet.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2HostBitmap.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2HostBitmap.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2ImpostorManager.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2ImpostorManager.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2PrimitiveScene.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2PrimitiveScene.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2PrimitiveText.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2PrimitiveText.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2ReflectionProbe.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2ReflectionProbe.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2SSSSS.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2SSSSS.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2TextureAtlas.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2TextureAtlas.js.map +1 -1
- package/dist/trinity/generated/trinityCore/Tr2TextureAtlasMan.js +2 -2
- package/dist/trinity/generated/trinityCore/Tr2TextureAtlasMan.js.map +1 -1
- package/dist/trinity/index.js +23 -16
- package/dist/trinity/index.js.map +1 -1
- package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitter.js +1 -31
- package/dist/trinity/particle/ITr2GenericEmitter/ITr2GenericEmitter.js.map +1 -1
- package/dist/trinity/particle/Tr2ParticleSystem.js +51 -52
- package/dist/trinity/particle/Tr2ParticleSystem.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2CapsuleShapeAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2CapsuleShapeAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2ConsecutiveIntegerAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2ConsecutiveIntegerAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2RandomDirectionAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2RandomDirectionAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2RandomIntegerAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2RandomIntegerAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2RandomUniformAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2RandomUniformAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/attribute/Tr2SphereShapeAttributeGenerator.js +2 -2
- package/dist/trinity/particle/attribute/Tr2SphereShapeAttributeGenerator.js.map +1 -1
- package/dist/trinity/particle/constraint/Tr2ElementBlendConstraint.js +2 -2
- package/dist/trinity/particle/constraint/Tr2ElementBlendConstraint.js.map +1 -1
- package/dist/trinity/particle/constraint/Tr2PlaneConstraint.js +13 -3
- package/dist/trinity/particle/constraint/Tr2PlaneConstraint.js.map +1 -1
- package/dist/trinity/particle/constraint/Tr2SphereConstraint.js +2 -2
- package/dist/trinity/particle/constraint/Tr2SphereConstraint.js.map +1 -1
- package/dist/trinity/particle/element/Tr2ParticleElementData.js +22 -8
- package/dist/trinity/particle/element/Tr2ParticleElementData.js.map +1 -1
- package/dist/trinity/particle/element/Tr2ParticleElementDeclaration.js +13 -25
- package/dist/trinity/particle/element/Tr2ParticleElementDeclaration.js.map +1 -1
- package/dist/trinity/particle/element/Tr2ParticleElementDeclarationName.js +38 -3
- package/dist/trinity/particle/element/Tr2ParticleElementDeclarationName.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2DynamicEmitter.js +26 -27
- package/dist/trinity/particle/emitter/Tr2DynamicEmitter.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js +4 -5
- package/dist/trinity/particle/emitter/Tr2GpuSharedEmitter.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2GpuUniqueEmitter.js +2 -2
- package/dist/trinity/particle/emitter/Tr2GpuUniqueEmitter.js.map +1 -1
- package/dist/trinity/particle/emitter/Tr2StaticEmitter.js +17 -18
- package/dist/trinity/particle/emitter/Tr2StaticEmitter.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ForceSphereVolume.js +2 -2
- package/dist/trinity/particle/force/Tr2ForceSphereVolume.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleAttractorForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleAttractorForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleDirectForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleDirectForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleDragForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleDragForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleFluidDragForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleFluidDragForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleSpring.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleSpring.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleTurbulenceForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleTurbulenceForce.js.map +1 -1
- package/dist/trinity/particle/force/Tr2ParticleVortexForce.js +2 -2
- package/dist/trinity/particle/force/Tr2ParticleVortexForce.js.map +1 -1
- package/dist/trinity/particle/index.js +1 -1
- package/dist/trinity/postProcess/Tr2PostProcess.js +2 -2
- package/dist/trinity/postProcess/Tr2PostProcess.js.map +1 -1
- package/dist/trinity/postProcess/Tr2PostProcess2.js +2 -2
- package/dist/trinity/postProcess/Tr2PostProcess2.js.map +1 -1
- package/dist/trinity/postProcess/Tr2PostProcessAttributes.js +2 -2
- package/dist/trinity/postProcess/Tr2PostProcessAttributes.js.map +1 -1
- package/dist/trinity/postProcess/Tr2PostProcessRenderer.js +4 -4
- package/dist/trinity/postProcess/Tr2PostProcessRenderer.js.map +1 -1
- package/dist/trinity/postProcess/Tr2SSAO.js +4 -4
- package/dist/trinity/postProcess/Tr2SSAO.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPBloomEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPBloomEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPColorCorrectionEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPColorCorrectionEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPDepthOfFieldEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPDepthOfFieldEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPDesaturateEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPDesaturateEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPDynamicExposureEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPDynamicExposureEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPFadeEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPFadeEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPFilmGrainEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPFilmGrainEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPFogEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPFogEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPGenericEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPGenericEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPGodRaysEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPGodRaysEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPLutEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPLutEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPSignalLossEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPSignalLossEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPTaaEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPTaaEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPTonemappingEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPTonemappingEffect.js.map +1 -1
- package/dist/trinity/postProcess/effect/Tr2PPVignetteEffect.js +2 -2
- package/dist/trinity/postProcess/effect/Tr2PPVignetteEffect.js.map +1 -1
- package/dist/trinity/renderJob/Tr2RenderJobs.js +5 -5
- package/dist/trinity/renderJob/Tr2RenderJobs.js.map +1 -1
- package/dist/trinity/renderJob/TriRenderJob.js +4 -4
- package/dist/trinity/renderJob/TriRenderJob.js.map +1 -1
- package/dist/trinity/renderJob/node/Tr2RenderNodeEffect.js +4 -5
- package/dist/trinity/renderJob/node/Tr2RenderNodeEffect.js.map +1 -1
- package/dist/trinity/renderJob/node/Tr2RenderNodeSprite2dScene.js +4 -5
- package/dist/trinity/renderJob/node/Tr2RenderNodeSprite2dScene.js.map +1 -1
- package/dist/trinity/renderJob/step/Tr2StepExecuteRenderNode.js +2 -2
- package/dist/trinity/renderJob/step/Tr2StepExecuteRenderNode.js.map +1 -1
- package/dist/trinity/renderJob/step/TriRenderStep.js +2 -2
- package/dist/trinity/renderJob/step/TriRenderStep.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepClear.js +2 -2
- package/dist/trinity/renderJob/step/TriStepClear.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepClearUav.js +2 -2
- package/dist/trinity/renderJob/step/TriStepClearUav.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepCopyRenderTarget.js +2 -2
- package/dist/trinity/renderJob/step/TriStepCopyRenderTarget.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepEnableWireframeMode.js +2 -2
- package/dist/trinity/renderJob/step/TriStepEnableWireframeMode.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepFilterVisibilityResults.js +2 -2
- package/dist/trinity/renderJob/step/TriStepFilterVisibilityResults.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepGenerateMipMaps.js +2 -2
- package/dist/trinity/renderJob/step/TriStepGenerateMipMaps.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepPopRenderTarget.js +2 -2
- package/dist/trinity/renderJob/step/TriStepPopRenderTarget.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepPresentSwapChain.js +2 -2
- package/dist/trinity/renderJob/step/TriStepPresentSwapChain.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepPushDepthStencil.js +2 -2
- package/dist/trinity/renderJob/step/TriStepPushDepthStencil.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepPushRenderTarget.js +2 -2
- package/dist/trinity/renderJob/step/TriStepPushRenderTarget.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderAtlas.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderAtlas.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderDebug.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderDebug.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderEffect.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderEffect.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderFps.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderFps.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderLineGraph.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderLineGraph.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderObject.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderObject.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderPass.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderPass.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderScene.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderScene.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderSceneDebug.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderSceneDebug.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRenderTexture.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRenderTexture.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepResolve.js +2 -2
- package/dist/trinity/renderJob/step/TriStepResolve.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRunComputeShader.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRunComputeShader.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepRunJob.js +2 -2
- package/dist/trinity/renderJob/step/TriStepRunJob.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetDebugRenderer.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetDebugRenderer.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetDepthStencil.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetDepthStencil.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetProjection.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetProjection.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetRenderState.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetRenderState.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetRenderTarget.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetRenderTarget.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetStdRndStates.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetStdRndStates.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetUpscalingContextID.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetUpscalingContextID.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetVariableStore.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetVariableStore.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetView.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetView.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetViewport.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetViewport.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepSetVisualizationMode.js +2 -2
- package/dist/trinity/renderJob/step/TriStepSetVisualizationMode.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepTestBlocking.js +2 -2
- package/dist/trinity/renderJob/step/TriStepTestBlocking.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepToggleCubemap.js +2 -2
- package/dist/trinity/renderJob/step/TriStepToggleCubemap.js.map +1 -1
- package/dist/trinity/renderJob/step/TriStepUpdate.js +2 -2
- package/dist/trinity/renderJob/step/TriStepUpdate.js.map +1 -1
- package/dist/trinity/shader/Tr2DataTextureManager.js +9 -9
- package/dist/trinity/shader/Tr2DataTextureManager.js.map +1 -1
- package/dist/trinity/shader/Tr2Effect.js +370 -347
- package/dist/trinity/shader/Tr2Effect.js.map +1 -1
- package/dist/trinity/shader/Tr2Material.js +5 -5
- package/dist/trinity/shader/Tr2Material.js.map +1 -1
- package/dist/trinity/shader/Tr2ShaderBuffer.js +3 -4
- package/dist/trinity/shader/Tr2ShaderBuffer.js.map +1 -1
- package/dist/trinity/shader/index.js +3 -0
- package/dist/trinity/shader/index.js.map +1 -1
- package/dist/trinity/shader/parameter/CjsParameter.js +202 -185
- package/dist/trinity/shader/parameter/CjsParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/CjsVectorParameter.js +2 -2
- package/dist/trinity/shader/parameter/CjsVectorParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/ITriEffectParameter.js +56 -0
- package/dist/trinity/shader/parameter/ITriEffectParameter.js.map +1 -0
- package/dist/trinity/shader/parameter/ITriEffectResourceParameter.js +31 -0
- package/dist/trinity/shader/parameter/ITriEffectResourceParameter.js.map +1 -0
- package/dist/trinity/shader/parameter/ITriEffectTextureParameter.js +43 -0
- package/dist/trinity/shader/parameter/ITriEffectTextureParameter.js.map +1 -0
- package/dist/trinity/shader/parameter/Tr2ConstantEffectParameter.js +17 -5
- package/dist/trinity/shader/parameter/Tr2ConstantEffectParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2FloatParameter.js +46 -45
- package/dist/trinity/shader/parameter/Tr2FloatParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2GeometryBufferParameter.js +14 -12
- package/dist/trinity/shader/parameter/Tr2GeometryBufferParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2Matrix4Parameter.js +33 -32
- package/dist/trinity/shader/parameter/Tr2Matrix4Parameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2RuntimeTextureParameter.js +11 -10
- package/dist/trinity/shader/parameter/Tr2RuntimeTextureParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2TextureAnimationParameter.js +55 -53
- package/dist/trinity/shader/parameter/Tr2TextureAnimationParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2Vector2Parameter.js +49 -48
- package/dist/trinity/shader/parameter/Tr2Vector2Parameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2Vector3Parameter.js +52 -51
- package/dist/trinity/shader/parameter/Tr2Vector3Parameter.js.map +1 -1
- package/dist/trinity/shader/parameter/Tr2Vector4Parameter.js +56 -55
- package/dist/trinity/shader/parameter/Tr2Vector4Parameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriFloatArrayParameter.js +8 -8
- package/dist/trinity/shader/parameter/TriFloatArrayParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriTextureParameter.js +27 -22
- package/dist/trinity/shader/parameter/TriTextureParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriTransformParameter.js +27 -27
- package/dist/trinity/shader/parameter/TriTransformParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriVariableParameter.js +53 -54
- package/dist/trinity/shader/parameter/TriVariableParameter.js.map +1 -1
- package/dist/trinity/shader/parameter/TriVector4.js +2 -2
- package/dist/trinity/shader/parameter/TriVector4.js.map +1 -1
- package/dist/trinity/shader/reflection/Tr2ShaderOption.js +4 -2
- package/dist/trinity/shader/reflection/Tr2ShaderOption.js.map +1 -1
- package/dist/trinity/shader/sampler/Tr2SamplerOverride.js +11 -2
- package/dist/trinity/shader/sampler/Tr2SamplerOverride.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dContainerBase.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dContainerBase.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dLineTrace.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dLineTrace.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dLineTraceVertex.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dLineTraceVertex.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dPickingMask.js +8 -9
- package/dist/trinity/sprite2d/Tr2Sprite2dPickingMask.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dPolygon.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dPolygon.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dRenderJob.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dRenderJob.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dScene.js +4 -4
- package/dist/trinity/sprite2d/Tr2Sprite2dScene.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dTransform.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dTransform.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2Sprite2dTriangle.js +2 -2
- package/dist/trinity/sprite2d/Tr2Sprite2dTriangle.js.map +1 -1
- package/dist/trinity/sprite2d/Tr2SpriteObjectBase.js +2 -2
- package/dist/trinity/sprite2d/Tr2SpriteObjectBase.js.map +1 -1
- package/dist/trinity/ui/Tr2PresentParameters.js +2 -2
- package/dist/trinity/ui/Tr2PresentParameters.js.map +1 -1
- package/dist/trinity/ui/Tr2ProjectBoundingBoxBracket.js +3 -3
- package/dist/trinity/ui/Tr2ProjectBoundingBoxBracket.js.map +1 -1
- package/dist/trinityal/Tr2ResourceSetAL/Tr2ResourceSetALStub.js.map +1 -1
- package/dist/trinityal/stub/Tr2RenderContextALStub/Tr2RenderContextALStub.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuRenderContextAL.js.map +1 -1
- package/dist/trinityal/webgpu/CjsWebgpuResourceSetAL.js.map +1 -1
- package/docs/core/README.md +38 -38
- package/docs/core/architecture.md +6 -5
- package/docs/core/reference/api.md +0 -10
- package/docs/core/reference/classes/README.md +57 -67
- package/docs/global/architecture.md +1 -3
- package/docs/global/blue-enums.md +115 -0
- package/docs/global/concepts/model-lifecycle.md +177 -182
- package/docs/global/core-types/README.md +394 -317
- package/docs/global/reference/api.md +2 -2
- package/docs/global/reference/classes/README.md +355 -205
- package/docs/global/reference/classes/dropped.md +40 -0
- package/docs/resource/architecture.md +152 -112
- package/docs/resource/concepts/resource-lifecycle.md +14 -10
- package/docs/resource/formats/pickle.md +126 -100
- package/docs/resource/formats/provenance.md +15 -9
- package/docs/resource/formats/webgl/carbon-constant-layouts.md +98 -232
- package/docs/resource/formats/webgpu/reference/wgsl-compatibility.md +278 -530
- package/docs/resource/reference/classes/README.md +3 -1
- package/docs/resource/reference/classes/dropped.md +21 -1
- package/docs/resource/reference/classes/formats.md +33 -0
- package/docs/resource/reference/classes/video.md +92 -0
- package/docs/resource/reference/events.md +10 -9
- package/docs/resource/reference/queues.md +8 -1
- package/docs/trinity/README.md +5 -5
- package/docs/trinity/architecture.md +355 -344
- package/docs/trinity/concepts/eve-runtime-behavior.md +1 -1
- package/docs/trinity/reference/api.md +19 -7
- package/docs/trinity/reference/classes/dropped.md +2 -11
- package/docs/trinity/reference/classes/eve-runtime.md +1 -1
- package/docs/trinity/reference/classes/trinity-core.md +1672 -1622
- package/docs/trinity/reference/implementation-status.md +92 -92
- package/package.json +2 -1
- package/dist/core/CjsFrameDriver.js +0 -109
- package/dist/core/CjsFrameDriver.js.map +0 -1
- package/dist/global/contracts/CjsFrameLifecycle.js +0 -49
- package/dist/global/contracts/CjsFrameLifecycle.js.map +0 -1
- package/dist/global/contracts/CjsInstancedMeshManager.js +0 -58
- package/dist/global/contracts/CjsInstancedMeshManager.js.map +0 -1
- package/dist/resource/formats/black/core/black-schema-v1-2026-07-23.json.js +0 -4
- package/dist/resource/formats/black/core/black-schema-v1-2026-07-23.json.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { identity as _identity, applyDecs2311 as _applyDecs2311 } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import {
|
|
2
|
+
import { edit, type, carbon, impl, CjsSchema } from '#schema';
|
|
3
3
|
import { CjsModel } from '#model';
|
|
4
4
|
import { vec4 } from '#math/vec4';
|
|
5
5
|
|
|
6
|
-
let _initProto, _initClass, _init_destinationAttribute, _init_extra_destinationAttribute, _init_sourceAttribute, _init_extra_sourceAttribute,
|
|
6
|
+
let _initProto, _initClass, _init_destinationAttribute, _init_extra_destinationAttribute, _init_sourceAttribute, _init_extra_sourceAttribute, _init_isEnabled, _init_extra_isEnabled, _init_name, _init_extra_name, _init_offset, _init_extra_offset, _init_copyValueCallable, _init_extra_copyValueCallable, _init_scale, _init_extra_scale, _init_isWeak, _init_extra_isWeak, _init_isValid, _init_extra_isValid;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Copies one attribute of a source object onto an attribute of a destination
|
|
@@ -15,12 +15,16 @@ new class extends _identity {
|
|
|
15
15
|
static [class TriValueBinding extends CjsModel {
|
|
16
16
|
static {
|
|
17
17
|
({
|
|
18
|
-
e: [_init_destinationAttribute, _init_extra_destinationAttribute, _init_sourceAttribute, _init_extra_sourceAttribute,
|
|
18
|
+
e: [_init_destinationAttribute, _init_extra_destinationAttribute, _init_sourceAttribute, _init_extra_sourceAttribute, _init_isEnabled, _init_extra_isEnabled, _init_name, _init_extra_name, _init_offset, _init_extra_offset, _init_copyValueCallable, _init_extra_copyValueCallable, _init_scale, _init_extra_scale, _init_isWeak, _init_extra_isWeak, _init_isValid, _init_extra_isValid, _initProto],
|
|
19
19
|
c: [_TriValueBinding, _initClass]
|
|
20
20
|
} = _applyDecs2311(this, [type.define({
|
|
21
21
|
className: "TriValueBinding",
|
|
22
|
-
family: "trinityCore"
|
|
23
|
-
|
|
22
|
+
family: "trinityCore",
|
|
23
|
+
fields: {
|
|
24
|
+
sourceObject: [type.model("IRoot"), edit.persistOnly],
|
|
25
|
+
destinationObject: [type.model("IRoot"), edit.persistOnly]
|
|
26
|
+
}
|
|
27
|
+
})], [[[edit, edit.notify, edit, edit.persist, type, type.string], 16, "destinationAttribute"], [[edit, edit.notify, edit, edit.persist, type, type.string], 16, "sourceAttribute"], [[edit, edit.readwrite, type, type.boolean], 16, "isEnabled"], [[edit, edit.persist, type, type.string], 16, "name"], [[edit, edit.persist, type, type.vec4], 16, "offset"], [[edit, edit.notify, edit, edit.readwrite, void 0, type.rawStruct("BlueScriptCallback")], 16, "copyValueCallable"], [[edit, edit.persist, type, type.float32], 16, "scale"], [[edit, edit.read, type, type.boolean], 16, "isWeak"], [[edit, edit.read, type, type.boolean], 16, "isValid"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Resolves Blue field metadata through JavaScript properties and supports the portable runtime's numeric, vector, boolean, and callback value families.")], 18, "Initialize"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Copies portable JavaScript values and emits CjsModel notifications instead of invoking Carbon's native typed copy-function table.")], 18, "CopyValue"], [[carbon, carbon.method, impl, impl.implemented], 18, "OnModified"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetDestinationAttributeName"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetSource"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetDestination"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetScale"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Uses WeakRef for Carbon's BlueWeakRef endpoints and returns validity as a JavaScript convenience.")], 18, "CreateWeakBinding"], [[carbon, carbon.method, impl, impl.implemented], 18, "IsValid"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetCurrentSourceObject"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetCurrentDestinationObject"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetSourceObject"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetSourceObject"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetDestinationObject"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetDestinationObject"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Swaps the portable array or scalar-holder destination supplied by ITriReroutable instead of Carbon's raw byte pointer.")], 18, "RerouteDestination"]], 0, void 0, CjsModel));
|
|
24
28
|
}
|
|
25
29
|
constructor(...args) {
|
|
26
30
|
super(...args);
|
|
@@ -43,21 +47,46 @@ new class extends _identity {
|
|
|
43
47
|
|
|
44
48
|
/** m_sourceAttribute (std::string) [READWRITE, PERSIST, NOTIFY] */
|
|
45
49
|
sourceAttribute = (_init_extra_destinationAttribute(this), _init_sourceAttribute(this, ""));
|
|
50
|
+
#destinationObject = (_init_extra_sourceAttribute(this), null);
|
|
51
|
+
|
|
52
|
+
// Carbon exposes persisted storage and a script MAP_PROPERTY under this
|
|
53
|
+
// name. JS uses one accessor for both, so hydration also invokes the setter.
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Reads the current destination endpoint, resolving a weak reference when
|
|
57
|
+
* used.
|
|
58
|
+
*/
|
|
59
|
+
get destinationObject() {
|
|
60
|
+
return this.GetCurrentDestinationObject();
|
|
61
|
+
}
|
|
46
62
|
|
|
47
|
-
/**
|
|
48
|
-
destinationObject
|
|
63
|
+
/** Replaces the destination endpoint through its binding setter. */
|
|
64
|
+
set destinationObject(value) {
|
|
65
|
+
this.SetDestinationObject(value);
|
|
66
|
+
}
|
|
49
67
|
|
|
50
68
|
/** m_isEnabled (bool) [READWRITE] */
|
|
51
|
-
isEnabled =
|
|
69
|
+
isEnabled = _init_isEnabled(this, true);
|
|
52
70
|
|
|
53
71
|
/** m_name (std::string) [READWRITE, PERSIST] */
|
|
54
72
|
name = (_init_extra_isEnabled(this), _init_name(this, ""));
|
|
73
|
+
#sourceObject = (_init_extra_name(this), null);
|
|
55
74
|
|
|
56
|
-
|
|
57
|
-
|
|
75
|
+
// Carbon exposes persisted storage and a script MAP_PROPERTY under this
|
|
76
|
+
// name. JS uses one accessor for both, so hydration also invokes the setter.
|
|
77
|
+
|
|
78
|
+
/** Reads the current source endpoint, resolving a weak reference when used. */
|
|
79
|
+
get sourceObject() {
|
|
80
|
+
return this.GetCurrentSourceObject();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/** Replaces the source endpoint through its binding setter. */
|
|
84
|
+
set sourceObject(value) {
|
|
85
|
+
this.SetSourceObject(value);
|
|
86
|
+
}
|
|
58
87
|
|
|
59
88
|
/** m_offset (Vector4) [READWRITE, PERSIST] */
|
|
60
|
-
offset =
|
|
89
|
+
offset = _init_offset(this, vec4.create());
|
|
61
90
|
|
|
62
91
|
/** m_copyValueCallable (BlueScriptCallback) [READWRITE, NOTIFY] */
|
|
63
92
|
copyValueCallable = (_init_extra_offset(this), _init_copyValueCallable(this, null));
|
|
@@ -113,7 +142,7 @@ new class extends _identity {
|
|
|
113
142
|
this.#sourceOffset = source.offset;
|
|
114
143
|
this.#destinationOffset = destination.offset;
|
|
115
144
|
this.#copyPlan = copyPlan;
|
|
116
|
-
this.#notifyDestination = destinationField ? destinationField.
|
|
145
|
+
this.#notifyDestination = destinationField ? destinationField.edit?.notify === true : true;
|
|
117
146
|
this.isValid = true;
|
|
118
147
|
if (typeof destinationObject.RegisterBinding === "function" && typeof destinationObject.GetDestination === "function") {
|
|
119
148
|
destinationObject.RegisterBinding(this);
|
|
@@ -177,7 +206,7 @@ new class extends _identity {
|
|
|
177
206
|
this.isWeak = false;
|
|
178
207
|
this.#sourceObjectWeak = null;
|
|
179
208
|
this.sourceAttribute = String(sourceAttribute ?? "");
|
|
180
|
-
this
|
|
209
|
+
this.#sourceObject = sourceObject ?? null;
|
|
181
210
|
this.isValid = false;
|
|
182
211
|
}
|
|
183
212
|
|
|
@@ -192,7 +221,7 @@ new class extends _identity {
|
|
|
192
221
|
this.isWeak = false;
|
|
193
222
|
this.#destinationObjectWeak = null;
|
|
194
223
|
this.destinationAttribute = String(destinationAttribute ?? "");
|
|
195
|
-
this
|
|
224
|
+
this.#destinationObject = destinationObject ?? null;
|
|
196
225
|
this.isValid = false;
|
|
197
226
|
}
|
|
198
227
|
|
|
@@ -214,8 +243,8 @@ new class extends _identity {
|
|
|
214
243
|
return false;
|
|
215
244
|
}
|
|
216
245
|
this.isWeak = true;
|
|
217
|
-
this
|
|
218
|
-
this
|
|
246
|
+
this.#sourceObject = null;
|
|
247
|
+
this.#destinationObject = null;
|
|
219
248
|
this.#sourceObjectWeak = source && typeof WeakRef === "function" ? new WeakRef(source) : {
|
|
220
249
|
deref: () => source
|
|
221
250
|
};
|
|
@@ -240,7 +269,7 @@ new class extends _identity {
|
|
|
240
269
|
* held source has been collected.
|
|
241
270
|
*/
|
|
242
271
|
GetCurrentSourceObject() {
|
|
243
|
-
return this.isWeak ? this.#sourceObjectWeak?.deref?.() ?? null : this
|
|
272
|
+
return this.isWeak ? this.#sourceObjectWeak?.deref?.() ?? null : this.#sourceObject;
|
|
244
273
|
}
|
|
245
274
|
|
|
246
275
|
/**
|
|
@@ -248,7 +277,7 @@ new class extends _identity {
|
|
|
248
277
|
* weakly held destination has been collected.
|
|
249
278
|
*/
|
|
250
279
|
GetCurrentDestinationObject() {
|
|
251
|
-
return this.isWeak ? this.#destinationObjectWeak?.deref?.() ?? null : this
|
|
280
|
+
return this.isWeak ? this.#destinationObjectWeak?.deref?.() ?? null : this.#destinationObject;
|
|
252
281
|
}
|
|
253
282
|
|
|
254
283
|
/** Carbon's second name for GetCurrentSourceObject. */
|
|
@@ -266,7 +295,7 @@ new class extends _identity {
|
|
|
266
295
|
deref: () => sourceObject ?? null
|
|
267
296
|
};
|
|
268
297
|
} else {
|
|
269
|
-
this
|
|
298
|
+
this.#sourceObject = sourceObject ?? null;
|
|
270
299
|
}
|
|
271
300
|
this.Initialize();
|
|
272
301
|
}
|
|
@@ -288,7 +317,7 @@ new class extends _identity {
|
|
|
288
317
|
deref: () => destinationObject ?? null
|
|
289
318
|
};
|
|
290
319
|
} else {
|
|
291
|
-
this
|
|
320
|
+
this.#destinationObject = destinationObject ?? null;
|
|
292
321
|
}
|
|
293
322
|
this.Initialize();
|
|
294
323
|
}
|
|
@@ -628,10 +657,7 @@ new class extends _identity {
|
|
|
628
657
|
if (typeof object.UpdateValues === "function") object.UpdateValues({
|
|
629
658
|
property: name,
|
|
630
659
|
source
|
|
631
|
-
});else if (typeof object.OnValueChanged === "function") object.OnValueChanged(name, object[name], source);else object.OnModified?.(
|
|
632
|
-
property: name,
|
|
633
|
-
source
|
|
634
|
-
});
|
|
660
|
+
});else if (typeof object.OnValueChanged === "function") object.OnValueChanged(name, object[name], source);else object.OnModified?.(name);
|
|
635
661
|
}
|
|
636
662
|
#IsArrayLike(value) {
|
|
637
663
|
return Array.isArray(value) || ArrayBuffer.isView(value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriValueBinding.js","sources":["../../../../../src/trinity/core/binding/TriValueBinding.js"],"sourcesContent":["// Source: trinity/trinity/TriValueBinding.h\r\n// Source: trinity/trinity/TriValueBinding.cpp\r\n// Source: trinity/trinity/TriValueBinding_Blue.cpp\r\nimport { carbon, CjsSchema, impl, io, type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\nimport { vec4 } from \"#math/vec4\";\r\n\r\n/**\r\n * Copies one attribute of a source object onto an attribute of a destination\r\n * object, applying a scale and per-component offset through a type-checked copy\r\n * plan built when the endpoints resolve.\r\n */\r\n@type.define({ className: \"TriValueBinding\", family: \"trinityCore\" })\r\nexport class TriValueBinding extends CjsModel\r\n{\r\n\r\n #source = null;\r\n\r\n #destination = null;\r\n\r\n #sourceOffset = -1;\r\n\r\n #destinationOffset = -1;\r\n\r\n #sourceObjectWeak = null;\r\n\r\n #destinationObjectWeak = null;\r\n\r\n #copyPlan = null;\r\n\r\n #callbackReady = false;\r\n\r\n #notifyDestination = false;\r\n\r\n #reroutableDestination = null;\r\n\r\n #reroutedDestination = null;\r\n\r\n /** m_destinationAttribute (std::string) [READWRITE, PERSIST, NOTIFY] */\r\n @io.notify\r\n @io.persist\r\n @type.string\r\n destinationAttribute = \"\";\r\n\r\n /** m_sourceAttribute (std::string) [READWRITE, PERSIST, NOTIFY] */\r\n @io.notify\r\n @io.persist\r\n @type.string\r\n sourceAttribute = \"\";\r\n\r\n /** Carbon's persisted-only destination endpoint storage. */\r\n @io.persistOnly\r\n @type.model(\"IRoot\")\r\n destinationObject = null;\r\n\r\n /** m_isEnabled (bool) [READWRITE] */\r\n @io.readwrite\r\n @type.boolean\r\n isEnabled = true;\r\n\r\n /** m_name (std::string) [READWRITE, PERSIST] */\r\n @io.persist\r\n @type.string\r\n name = \"\";\r\n\r\n /** Carbon's persisted-only source endpoint storage. */\r\n @io.persistOnly\r\n @type.model(\"IRoot\")\r\n sourceObject = null;\r\n\r\n /** m_offset (Vector4) [READWRITE, PERSIST] */\r\n @io.persist\r\n @type.vec4\r\n offset = vec4.create();\r\n\r\n /** m_copyValueCallable (BlueScriptCallback) [READWRITE, NOTIFY] */\r\n @io.notify\r\n @io.readwrite\r\n @type.rawStruct(\"BlueScriptCallback\")\r\n copyValueCallable = null;\r\n\r\n /** m_scale (float) [READWRITE, PERSIST] */\r\n @io.persist\r\n @type.float32\r\n scale = 1;\r\n\r\n /** m_isWeak (bool) [READ] */\r\n @io.read\r\n @type.boolean\r\n isWeak = false;\r\n\r\n @io.read\r\n @type.boolean\r\n isValid = false;\r\n\r\n /**\r\n * Resolves both endpoints, builds the copy plan and sets isValid; a callable\r\n * copyValueCallable short-circuits the whole plan, and an ITriReroutable\r\n * destination is registered with and its rerouted buffer cached when it is\r\n * large enough for the plan.\r\n */\r\n @carbon.method\r\n @impl.adapted\r\n @impl.reason(\"Resolves Blue field metadata through JavaScript properties and supports the portable runtime's numeric, vector, boolean, and callback value families.\")\r\n Initialize()\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n this.#reroutedDestination = null;\r\n this.#source = null;\r\n this.#destination = null;\r\n this.#sourceOffset = -1;\r\n this.#destinationOffset = -1;\r\n this.#copyPlan = null;\r\n this.#callbackReady = false;\r\n this.#notifyDestination = false;\r\n this.isValid = false;\r\n\r\n const sourceObject = this.GetCurrentSourceObject();\r\n const destinationObject = this.GetCurrentDestinationObject();\r\n if (!sourceObject || !destinationObject) return;\r\n if (typeof this.copyValueCallable === \"function\")\r\n {\r\n this.#callbackReady = true;\r\n return;\r\n }\r\n\r\n const source = TriValueBinding.#ParseAttribute(this.sourceAttribute);\r\n const destination = TriValueBinding.#ParseAttribute(this.destinationAttribute);\r\n if (!source || !destination || !(source.name in sourceObject) || !(destination.name in destinationObject)) return;\r\n const sourceValue = sourceObject[source.name];\r\n const destinationValue = destinationObject[destination.name];\r\n if (!TriValueBinding.#CanUseOffset(sourceValue, source.offset) || !TriValueBinding.#CanUseOffset(destinationValue, destination.offset)) return;\r\n const sourceField = CjsSchema.getField(sourceObject.constructor, source.name);\r\n const destinationField = CjsSchema.getField(destinationObject.constructor, destination.name);\r\n const copyPlan = TriValueBinding.#CreateCopyPlan(\r\n TriValueBinding.#DescribeValue(sourceValue, sourceField),\r\n source.offset,\r\n TriValueBinding.#DescribeValue(destinationValue, destinationField),\r\n destination.offset\r\n );\r\n if (!copyPlan) return;\r\n\r\n this.#source = { name: source.name };\r\n this.#destination = { name: destination.name };\r\n this.#sourceOffset = source.offset;\r\n this.#destinationOffset = destination.offset;\r\n this.#copyPlan = copyPlan;\r\n this.#notifyDestination = destinationField ? destinationField.io?.notify === true : true;\r\n this.isValid = true;\r\n\r\n if (\r\n typeof destinationObject.RegisterBinding === \"function\" &&\r\n typeof destinationObject.GetDestination === \"function\"\r\n )\r\n {\r\n destinationObject.RegisterBinding(this);\r\n this.#reroutableDestination = this.isWeak && typeof WeakRef === \"function\"\r\n ? new WeakRef(destinationObject)\r\n : destinationObject;\r\n const rerouted = destinationObject.GetDestination();\r\n const destinationSize = Number(rerouted?.size ?? Number.POSITIVE_INFINITY);\r\n if (destinationSize >= copyPlan.requiredBytes)\r\n {\r\n this.#reroutedDestination = rerouted?.dest ?? rerouted;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Runs the callback or the planned copy once, writing through the rerouted\r\n * buffer when one is installed and notifying the destination when its field\r\n * declares notify; returns whether any value actually changed.\r\n */\r\n @carbon.method\r\n @impl.adapted\r\n @impl.reason(\"Copies portable JavaScript values and emits CjsModel notifications instead of invoking Carbon's native typed copy-function table.\")\r\n CopyValue()\r\n {\r\n if (!this.isEnabled) return false;\r\n if (!this.isValid && !this.#callbackReady) this.Initialize();\r\n if (!this.isValid && !this.#callbackReady) return false;\r\n\r\n const sourceObject = this.GetCurrentSourceObject();\r\n const destinationObject = this.GetCurrentDestinationObject();\r\n if (!sourceObject || !destinationObject) return false;\r\n if (typeof this.copyValueCallable === \"function\")\r\n {\r\n this.copyValueCallable(sourceObject, destinationObject);\r\n return true;\r\n }\r\n\r\n const sourceValue = sourceObject[this.#source.name];\r\n const logicalDestination = destinationObject[this.#destination.name];\r\n const destinationValue = this.#reroutedDestination ?? logicalDestination;\r\n const changed = TriValueBinding.#ApplyCopyPlan(\r\n this.#copyPlan,\r\n destinationObject,\r\n this.#destination.name,\r\n sourceValue,\r\n destinationValue,\r\n this.scale,\r\n this.offset\r\n );\r\n if (\r\n changed &&\r\n this.#reroutedDestination !== null &&\r\n typeof destinationObject.IsRerouted === \"function\" &&\r\n !destinationObject.IsRerouted() &&\r\n this.#reroutedDestination !== logicalDestination &&\r\n this.#reroutedDestination &&\r\n typeof this.#reroutedDestination === \"object\" &&\r\n \"value\" in this.#reroutedDestination\r\n )\r\n {\r\n destinationObject[this.#destination.name] = this.#reroutedDestination.value;\r\n }\r\n if (changed && this.#notifyDestination)\r\n {\r\n TriValueBinding.#Notify(destinationObject, this.#destination.name, this);\r\n }\r\n return changed;\r\n }\r\n\r\n /** Re-resolves the endpoints and copy plan after any field change. */\r\n @carbon.method\r\n @impl.implemented\r\n OnModified(_value = null)\r\n {\r\n this.Initialize();\r\n return true;\r\n }\r\n\r\n /** The destination attribute string, including any .x/.r component suffix. */\r\n @carbon.method\r\n @impl.implemented\r\n GetDestinationAttributeName()\r\n {\r\n return this.destinationAttribute;\r\n }\r\n\r\n /**\r\n * Rebinds the source endpoint, drops weak and reroute state, and leaves the\r\n * binding invalid until the next Initialize.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n SetSource(sourceAttribute, sourceObject)\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n this.#reroutedDestination = null;\r\n this.isWeak = false;\r\n this.#sourceObjectWeak = null;\r\n this.sourceAttribute = String(sourceAttribute ?? \"\");\r\n this.sourceObject = sourceObject ?? null;\r\n this.isValid = false;\r\n }\r\n\r\n /**\r\n * Rebinds the destination endpoint, unregistering from any reroutable\r\n * destination, and leaves the binding invalid until the next Initialize.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n SetDestination(destinationAttribute, destinationObject)\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n this.#reroutedDestination = null;\r\n this.isWeak = false;\r\n this.#destinationObjectWeak = null;\r\n this.destinationAttribute = String(destinationAttribute ?? \"\");\r\n this.destinationObject = destinationObject ?? null;\r\n this.isValid = false;\r\n }\r\n\r\n /** Sets the multiplier applied to the source value before the offset is added. */\r\n @carbon.method\r\n @impl.implemented\r\n SetScale(scale)\r\n {\r\n this.scale = Number(scale);\r\n }\r\n\r\n /**\r\n * Binds both endpoints through WeakRef so the binding keeps neither object\r\n * alive, sets the scale and four-component offset, then initializes and\r\n * returns whether the result is valid.\r\n */\r\n @carbon.method\r\n @impl.adapted\r\n @impl.reason(\"Uses WeakRef for Carbon's BlueWeakRef endpoints and returns validity as a JavaScript convenience.\")\r\n CreateWeakBinding(source, sourceAttribute, destination, destinationAttribute, scale = 1, offset = [0, 0, 0, 0])\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n if (\r\n !TriValueBinding.#IsReference(source) ||\r\n !TriValueBinding.#IsReference(destination)\r\n )\r\n {\r\n this.isValid = false;\r\n return false;\r\n }\r\n this.isWeak = true;\r\n this.sourceObject = null;\r\n this.destinationObject = null;\r\n this.#sourceObjectWeak = source && typeof WeakRef === \"function\" ? new WeakRef(source) : { deref: () => source };\r\n this.#destinationObjectWeak = destination && typeof WeakRef === \"function\" ? new WeakRef(destination) : { deref: () => destination };\r\n this.sourceAttribute = String(sourceAttribute ?? \"\");\r\n this.destinationAttribute = String(destinationAttribute ?? \"\");\r\n this.scale = Number(scale);\r\n for (let index = 0; index < 4; index++) this.offset[index] = Number(offset?.[index] ?? 0);\r\n this.Initialize();\r\n return this.isValid;\r\n }\r\n\r\n /** Whether the last Initialize produced a usable copy plan. */\r\n @carbon.method\r\n @impl.implemented\r\n IsValid()\r\n {\r\n return this.isValid;\r\n }\r\n\r\n /**\r\n * Dereferences the source endpoint, honouring weak mode; null once a weakly\r\n * held source has been collected.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n GetCurrentSourceObject()\r\n {\r\n return this.isWeak ? this.#sourceObjectWeak?.deref?.() ?? null : this.sourceObject;\r\n }\r\n\r\n /**\r\n * Dereferences the destination endpoint, honouring weak mode; null once a\r\n * weakly held destination has been collected.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n GetCurrentDestinationObject()\r\n {\r\n return this.isWeak ? this.#destinationObjectWeak?.deref?.() ?? null : this.destinationObject;\r\n }\r\n\r\n /** Carbon's second name for GetCurrentSourceObject. */\r\n @carbon.method\r\n @impl.implemented\r\n GetSourceObject()\r\n {\r\n return this.GetCurrentSourceObject();\r\n }\r\n\r\n /**\r\n * Rebinds the source object in place - weakly when the binding is weak - and\r\n * re-initializes, keeping the attribute names.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n SetSourceObject(sourceObject)\r\n {\r\n if (this.isWeak)\r\n {\r\n this.#sourceObjectWeak = sourceObject && typeof WeakRef === \"function\"\r\n ? new WeakRef(sourceObject)\r\n : { deref: () => sourceObject ?? null };\r\n }\r\n else\r\n {\r\n this.sourceObject = sourceObject ?? null;\r\n }\r\n this.Initialize();\r\n }\r\n\r\n /** Carbon's second name for GetCurrentDestinationObject. */\r\n @carbon.method\r\n @impl.implemented\r\n GetDestinationObject()\r\n {\r\n return this.GetCurrentDestinationObject();\r\n }\r\n\r\n /**\r\n * Rebinds the destination object in place - weakly when the binding is weak -\r\n * unregistering from any previous reroutable destination, and re-initializes.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n SetDestinationObject(destinationObject)\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n if (this.isWeak)\r\n {\r\n this.#destinationObjectWeak = destinationObject && typeof WeakRef === \"function\"\r\n ? new WeakRef(destinationObject)\r\n : { deref: () => destinationObject ?? null };\r\n }\r\n else\r\n {\r\n this.destinationObject = destinationObject ?? null;\r\n }\r\n this.Initialize();\r\n }\r\n\r\n /**\r\n * Installs the buffer an ITriReroutable destination wants written instead of\r\n * its own field; null restores direct field writes.\r\n */\r\n @carbon.method\r\n @impl.adapted\r\n @impl.reason(\"Swaps the portable array or scalar-holder destination supplied by ITriReroutable instead of Carbon's raw byte pointer.\")\r\n RerouteDestination(destination)\r\n {\r\n this.#reroutedDestination = destination ?? null;\r\n }\r\n\r\n /**\r\n * Dereferences the registered reroutable destination, which is held weakly for\r\n * weak bindings.\r\n */\r\n #GetReroutableDestination()\r\n {\r\n return this.#reroutableDestination instanceof WeakRef\r\n ? this.#reroutableDestination.deref() ?? null\r\n : this.#reroutableDestination;\r\n }\r\n\r\n /**\r\n * Splits `field` or `field.x` into a name plus a component index (x/r zero\r\n * through w/a three); null for an empty name or an unrecognized suffix.\r\n */\r\n static #ParseAttribute(attribute)\r\n {\r\n const value = String(attribute ?? \"\");\r\n const dot = value.indexOf(\".\");\r\n if (dot === -1) return value ? { name: value, offset: -1 } : null;\r\n const offsets = { x: 0, r: 0, y: 1, g: 1, z: 2, b: 2, w: 3, a: 3 };\r\n const component = value.slice(dot + 1);\r\n return component.length === 1 && offsets[component] !== undefined ? { name: value.slice(0, dot), offset: offsets[component] } : null;\r\n }\r\n\r\n /**\r\n * Whether a component index is usable: either absent, or the value is\r\n * array-like and long enough to hold it.\r\n */\r\n static #CanUseOffset(value, offset)\r\n {\r\n return offset === -1 || (TriValueBinding.#IsArrayLike(value) && value.length > offset);\r\n }\r\n\r\n /**\r\n * Classifies a value as a scalar or a fixed-length float array from its schema\r\n * field kind, falling back to the runtime value's shape when the field is\r\n * unknown; null when neither applies.\r\n */\r\n static #DescribeValue(value, field)\r\n {\r\n const kind = field?.type?.kind ?? null;\r\n if (kind === \"boolean\" || typeof value === \"boolean\")\r\n {\r\n return { category: \"scalar\", kind: \"boolean\" };\r\n }\r\n\r\n const scalarKinds = new Set([\r\n \"int8\", \"uint8\", \"int16\", \"uint16\", \"int32\", \"uint32\",\r\n \"int64\", \"uint64\", \"float32\", \"float64\"\r\n ]);\r\n if (scalarKinds.has(kind) || (kind === null && typeof value === \"number\"))\r\n {\r\n return { category: \"scalar\", kind: kind ?? \"float32\" };\r\n }\r\n\r\n const floatArrayLengths = {\r\n vec2: 2,\r\n vec3: 3,\r\n vec4: 4,\r\n quat: 4,\r\n color: 4,\r\n mat4: 16\r\n };\r\n const length = floatArrayLengths[kind] ?? (\r\n kind === null && TriValueBinding.#IsArrayLike(value) ? Number(value.length) : 0\r\n );\r\n if (length)\r\n {\r\n return { category: \"floatArray\", kind: kind ?? \"floatArray\", length };\r\n }\r\n return null;\r\n }\r\n\r\n /**\r\n * Chooses the copy strategy for a source/destination category pair, or null\r\n * when the types are incompatible; the plan also records the byte size a\r\n * rerouted destination buffer must provide.\r\n */\r\n static #CreateCopyPlan(source, sourceOffset, destination, destinationOffset)\r\n {\r\n if (!source || !destination) return null;\r\n if (sourceOffset !== -1 && source.category !== \"floatArray\") return null;\r\n if (destinationOffset !== -1 && destination.category !== \"floatArray\") return null;\r\n\r\n if (source.category === \"scalar\" && destination.category === \"scalar\")\r\n {\r\n const same = source.kind === destination.kind;\r\n const floatPair = (\r\n (source.kind === \"float32\" && destination.kind === \"float64\") ||\r\n (source.kind === \"float64\" && destination.kind === \"float32\")\r\n );\r\n const floatToBoolean = source.kind === \"float32\" && destination.kind === \"boolean\";\r\n if (!same && !floatPair && !floatToBoolean) return null;\r\n return {\r\n kind: floatToBoolean\r\n ? \"floatToBoolean\"\r\n : (same && [\"int64\", \"uint64\"].includes(source.kind) ? \"rawScalar\" : \"scalar\"),\r\n destinationKind: destination.kind,\r\n requiredBytes: floatPair ? 1 : TriValueBinding.#ScalarBytes(destination.kind)\r\n };\r\n }\r\n\r\n if (source.category === \"floatArray\" && sourceOffset !== -1)\r\n {\r\n if (destination.category === \"scalar\" && [\"float32\", \"float64\"].includes(destination.kind))\r\n {\r\n return {\r\n kind: \"componentToScalar\",\r\n sourceOffset,\r\n destinationKind: destination.kind,\r\n requiredBytes: TriValueBinding.#ScalarBytes(destination.kind)\r\n };\r\n }\r\n if (destination.category === \"floatArray\" && destinationOffset !== -1)\r\n {\r\n return { kind: \"componentToComponent\", sourceOffset, destinationOffset, requiredBytes: 4 };\r\n }\r\n if (destination.category === \"floatArray\" && [3, 4].includes(destination.length))\r\n {\r\n return {\r\n kind: \"broadcast\",\r\n sourceOffset,\r\n count: destination.length,\r\n requiredBytes: destination.length * 4\r\n };\r\n }\r\n return null;\r\n }\r\n\r\n if (\r\n source.category === \"scalar\" &&\r\n source.kind === \"float32\" &&\r\n destination.category === \"floatArray\"\r\n )\r\n {\r\n if (destinationOffset !== -1)\r\n {\r\n return { kind: \"scalarToComponent\", destinationOffset, requiredBytes: 4 };\r\n }\r\n if ([3, 4].includes(destination.length))\r\n {\r\n return { kind: \"broadcast\", sourceOffset: -1, count: destination.length, requiredBytes: destination.length * 4 };\r\n }\r\n return null;\r\n }\r\n\r\n if (\r\n source.category === \"floatArray\" &&\r\n destination.category === \"floatArray\" &&\r\n destinationOffset === -1\r\n )\r\n {\r\n if (source.length === 16 && [3, 4].includes(destination.length))\r\n {\r\n return {\r\n kind: \"matrixTranslation\",\r\n count: destination.length,\r\n requiredBytes: destination.length * 4\r\n };\r\n }\r\n if ([2, 3, 4].includes(source.length) && [2, 3, 4].includes(destination.length))\r\n {\r\n const count = Math.min(source.length, destination.length);\r\n const requiredBytes = source.length <= destination.length\r\n ? ({ 2: 12, 3: 12, 4: 16 })[source.length]\r\n : destination.length * 4;\r\n return { kind: \"vector\", count, requiredBytes };\r\n }\r\n if (source.length === 16 && destination.length >= 16)\r\n {\r\n return { kind: \"matrix\", count: 16, requiredBytes: 64 };\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n /**\r\n * Executes a copy plan, applying the scale and per-component offset, and\r\n * returns whether any component actually changed.\r\n */\r\n static #ApplyCopyPlan(plan, object, name, source, destination, scale, offset)\r\n {\r\n switch (plan.kind)\r\n {\r\n case \"scalar\":\r\n {\r\n const next = TriValueBinding.#CastScalar(\r\n plan.destinationKind,\r\n Number(source) * scale + Number(offset[0] ?? 0)\r\n );\r\n return TriValueBinding.#WriteScalar(object, name, destination, next);\r\n }\r\n case \"rawScalar\":\r\n return TriValueBinding.#WriteScalar(object, name, destination, source);\r\n case \"floatToBoolean\":\r\n return TriValueBinding.#WriteScalar(object, name, destination, Boolean(source));\r\n case \"componentToScalar\":\r\n {\r\n const next = TriValueBinding.#CastScalar(\r\n plan.destinationKind,\r\n Number(source[plan.sourceOffset]) * scale + Number(offset[0] ?? 0)\r\n );\r\n return TriValueBinding.#WriteScalar(object, name, destination, next);\r\n }\r\n case \"componentToComponent\":\r\n return TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n plan.destinationOffset,\r\n Number(source[plan.sourceOffset]) * scale + Number(offset[0] ?? 0)\r\n );\r\n case \"scalarToComponent\":\r\n return TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n plan.destinationOffset,\r\n Number(source) * scale + Number(offset[0] ?? 0)\r\n );\r\n case \"broadcast\":\r\n {\r\n const value = plan.sourceOffset === -1 ? Number(source) : Number(source[plan.sourceOffset]);\r\n let changed = false;\r\n for (let index = 0; index < plan.count; index++)\r\n {\r\n changed = TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n index,\r\n value * scale + Number(offset[index] ?? 0)\r\n ) || changed;\r\n }\r\n return changed;\r\n }\r\n case \"matrixTranslation\":\r\n {\r\n let changed = false;\r\n for (let index = 0; index < plan.count; index++)\r\n {\r\n changed = TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n index,\r\n Number(source[12 + index]) * scale + Number(offset[index] ?? 0)\r\n ) || changed;\r\n }\r\n return changed;\r\n }\r\n case \"vector\":\r\n {\r\n let changed = false;\r\n for (let index = 0; index < plan.count; index++)\r\n {\r\n changed = TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n index,\r\n Number(source[index]) * scale + Number(offset[index] ?? 0)\r\n ) || changed;\r\n }\r\n return changed;\r\n }\r\n case \"matrix\":\r\n {\r\n let changed = false;\r\n for (let index = 0; index < 16; index++)\r\n {\r\n changed = TriValueBinding.#WriteArrayComponent(destination, index, Number(source[index])) || changed;\r\n }\r\n return changed;\r\n }\r\n default:\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * Writes a scalar through whichever destination shape applies - a setter\r\n * function, an array's first slot, a { value } holder, or the object's own\r\n * field - returning false when the value is already equal.\r\n */\r\n static #WriteScalar(object, name, destination, value)\r\n {\r\n if (typeof destination === \"function\")\r\n {\r\n destination(value);\r\n return true;\r\n }\r\n if (TriValueBinding.#IsArrayLike(destination) && destination.length)\r\n {\r\n if (Object.is(destination[0], value)) return false;\r\n destination[0] = value;\r\n return true;\r\n }\r\n if (\r\n destination &&\r\n typeof destination === \"object\" &&\r\n \"value\" in destination &&\r\n typeof destination.value === \"number\"\r\n )\r\n {\r\n if (Object.is(destination.value, value)) return false;\r\n destination.value = value;\r\n return true;\r\n }\r\n if (Object.is(destination, value)) return false;\r\n object[name] = value;\r\n return true;\r\n }\r\n\r\n /**\r\n * Writes one array component, returning false when the index is out of range\r\n * or the value is unchanged.\r\n */\r\n static #WriteArrayComponent(destination, index, value)\r\n {\r\n if (!TriValueBinding.#IsArrayLike(destination) || destination.length <= index) return false;\r\n if (Object.is(destination[index], value)) return false;\r\n destination[index] = value;\r\n return true;\r\n }\r\n\r\n /**\r\n * Truncates a number to the destination's integer or boolean kind; float kinds\r\n * pass through unchanged.\r\n */\r\n static #CastScalar(kind, value)\r\n {\r\n switch (kind)\r\n {\r\n case \"boolean\": return Boolean(value);\r\n case \"int8\": return value << 24 >> 24;\r\n case \"uint8\": return value & 0xff;\r\n case \"int16\": return value << 16 >> 16;\r\n case \"uint16\": return value & 0xffff;\r\n case \"int32\": return value | 0;\r\n case \"uint32\": return value >>> 0;\r\n default: return Number(value);\r\n }\r\n }\r\n\r\n /**\r\n * Byte size of a scalar kind, used to size the rerouted-buffer requirement\r\n * recorded in the copy plan.\r\n */\r\n static #ScalarBytes(kind)\r\n {\r\n if ([\"int8\", \"uint8\", \"boolean\"].includes(kind)) return 1;\r\n if ([\"int16\", \"uint16\"].includes(kind)) return 2;\r\n if ([\"float64\", \"int64\", \"uint64\"].includes(kind)) return 8;\r\n return 4;\r\n }\r\n\r\n /**\r\n * Notifies the destination of the changed field through UpdateValues,\r\n * OnValueChanged or OnModified, whichever it implements.\r\n */\r\n static #Notify(object, name, source)\r\n {\r\n if (typeof object.UpdateValues === \"function\") object.UpdateValues({ property: name, source });\r\n else if (typeof object.OnValueChanged === \"function\") object.OnValueChanged(name, object[name], source);\r\n else object.OnModified?.({ property: name, source });\r\n }\r\n\r\n /** Whether the value is an array or a typed-array view. */\r\n static #IsArrayLike(value)\r\n {\r\n return Array.isArray(value) || ArrayBuffer.isView(value);\r\n }\r\n\r\n /** Whether a value can be held by WeakRef, i.e. an object or a function. */\r\n static #IsReference(value)\r\n {\r\n return value !== null && (typeof value === \"object\" || typeof value === \"function\");\r\n }\r\n\r\n}\r\n"],"names":["_TriValueBinding","_identity","TriValueBinding","CjsModel","e","_init_destinationAttribute","_init_extra_destinationAttribute","_init_sourceAttribute","_init_extra_sourceAttribute","_init_destinationObject","_init_extra_destinationObject","_init_isEnabled","_init_extra_isEnabled","_init_name","_init_extra_name","_init_sourceObject","_init_extra_sourceObject","_init_offset","_init_extra_offset","_init_copyValueCallable","_init_extra_copyValueCallable","_init_scale","_init_extra_scale","_init_isWeak","_init_extra_isWeak","_init_isValid","_init_extra_isValid","_initProto","c","_initClass","_applyDecs","type","define","className","family","io","notify","persist","string","persistOnly","model","readwrite","boolean","vec4","rawStruct","float32","read","carbon","method","impl","adapted","reason","implemented","constructor","args","destinationAttribute","sourceAttribute","destinationObject","isEnabled","name","sourceObject","offset","create","copyValueCallable","scale","isWeak","isValid","Initialize","UnregisterBinding","GetCurrentSourceObject","GetCurrentDestinationObject","source","destination","sourceValue","destinationValue","sourceField","CjsSchema","getField","destinationField","copyPlan","RegisterBinding","GetDestination","WeakRef","rerouted","destinationSize","Number","size","POSITIVE_INFINITY","requiredBytes","dest","CopyValue","logicalDestination","changed","IsRerouted","value","OnModified","_value","GetDestinationAttributeName","SetSource","String","SetDestination","SetScale","CreateWeakBinding","deref","index","IsValid","GetSourceObject","SetSourceObject","GetDestinationObject","SetDestinationObject","RerouteDestination","#GetReroutableDestination","#ParseAttribute","attribute","dot","indexOf","offsets","x","r","y","g","z","b","w","a","component","slice","length","undefined","#CanUseOffset","#DescribeValue","field","kind","category","scalarKinds","Set","has","floatArrayLengths","vec2","vec3","quat","color","mat4","#CreateCopyPlan","sourceOffset","destinationOffset","same","floatPair","floatToBoolean","includes","destinationKind","count","Math","min","#ApplyCopyPlan","plan","object","next","Boolean","#WriteScalar","Object","is","#WriteArrayComponent","#CastScalar","#ScalarBytes","#Notify","UpdateValues","property","OnValueChanged","#IsArrayLike","Array","isArray","ArrayBuffer","isView","#IsReference"],"mappings":";;;;;;;AAOA;AACA;AACA;AACA;AACA;AAJA,IAAAA;AAAA,IAAA,cAAAC,SAAA,CAAA;AAAA,EAAA,QAKA,MAAAC,eAAA,SACqCC,QAAQ,CAC7C;AAAA,IAAA;AAAA,MAAA,CAAA;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AAA,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,CAACiB,QAAQ,CAACjB,IAAI,CAAC,EAAE,OAAO,CAAC;AAC3D,IAAA,OAAO,CAAC;AACV,EAAA;AAMO,EAAA,OAAOiC,CAACT,MAAM,EAAEjG,IAAI,EAAEY,MAAM,EACnC;IACE,IAAI,OAAOqF,MAAM,CAACU,YAAY,KAAK,UAAU,EAAEV,MAAM,CAACU,YAAY,CAAC;AAAEC,MAAAA,QAAQ,EAAE5G,IAAI;AAAEY,MAAAA;AAAO,KAAC,CAAC,CAAC,KAC1F,IAAI,OAAOqF,MAAM,CAACY,cAAc,KAAK,UAAU,EAAEZ,MAAM,CAACY,cAAc,CAAC7G,IAAI,EAAEiG,MAAM,CAACjG,IAAI,CAAC,EAAEY,MAAM,CAAC,CAAC,KACnGqF,MAAM,CAAC7D,UAAU,GAAG;AAAEwE,MAAAA,QAAQ,EAAE5G,IAAI;AAAEY,MAAAA;AAAO,KAAC,CAAC;AACtD,EAAA;EAGO,YAAYkG,CAAC3E,KAAK,EACzB;AACE,IAAA,OAAO4E,KAAK,CAACC,OAAO,CAAC7E,KAAK,CAAC,IAAI8E,WAAW,CAACC,MAAM,CAAC/E,KAAK,CAAC;AAC1D,EAAA;EAGO,YAAYgF,CAAChF,KAAK,EACzB;AACE,IAAA,OAAOA,KAAK,KAAK,IAAI,KAAK,OAAOA,KAAK,KAAK,QAAQ,IAAI,OAAOA,KAAK,KAAK,UAAU,CAAC;AACrF,EAAA;EAACzC,WAAAA,GAAA;IAAA,KAAA,CAAArD,gBAAA,GAAA6B,UAAA,EAAA;AAAA,EAAA;AAAA,CAAA,EAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"TriValueBinding.js","sources":["../../../../../src/trinity/core/binding/TriValueBinding.js"],"sourcesContent":["// Source: trinity/trinity/TriValueBinding.h\r\n// Source: trinity/trinity/TriValueBinding.cpp\r\n// Source: trinity/trinity/TriValueBinding_Blue.cpp\r\nimport { carbon, CjsSchema, impl, edit, type } from \"#schema\";\r\nimport { CjsModel } from \"#model\";\r\nimport { vec4 } from \"#math/vec4\";\r\n\r\n/**\r\n * Copies one attribute of a source object onto an attribute of a destination\r\n * object, applying a scale and per-component offset through a type-checked copy\r\n * plan built when the endpoints resolve.\r\n */\r\n@type.define({\r\n className: \"TriValueBinding\", family: \"trinityCore\",\r\n fields: {\r\n sourceObject: [type.model(\"IRoot\"), edit.persistOnly],\r\n destinationObject: [type.model(\"IRoot\"), edit.persistOnly]\r\n }\r\n})\r\nexport class TriValueBinding extends CjsModel\r\n{\r\n\r\n #source = null;\r\n\r\n #destination = null;\r\n\r\n #sourceOffset = -1;\r\n\r\n #destinationOffset = -1;\r\n\r\n #sourceObjectWeak = null;\r\n\r\n #destinationObjectWeak = null;\r\n\r\n #copyPlan = null;\r\n\r\n #callbackReady = false;\r\n\r\n #notifyDestination = false;\r\n\r\n #reroutableDestination = null;\r\n\r\n #reroutedDestination = null;\r\n\r\n /** m_destinationAttribute (std::string) [READWRITE, PERSIST, NOTIFY] */\r\n @edit.notify\r\n @edit.persist\r\n @type.string\r\n destinationAttribute = \"\";\r\n\r\n /** m_sourceAttribute (std::string) [READWRITE, PERSIST, NOTIFY] */\r\n @edit.notify\r\n @edit.persist\r\n @type.string\r\n sourceAttribute = \"\";\r\n\r\n #destinationObject = null;\r\n\r\n // Carbon exposes persisted storage and a script MAP_PROPERTY under this\r\n // name. JS uses one accessor for both, so hydration also invokes the setter.\r\n\r\n /**\r\n * Reads the current destination endpoint, resolving a weak reference when\r\n * used.\r\n */\r\n get destinationObject()\r\n {\r\n return this.GetCurrentDestinationObject();\r\n }\r\n\r\n /** Replaces the destination endpoint through its binding setter. */\r\n set destinationObject(value)\r\n {\r\n this.SetDestinationObject(value);\r\n }\r\n\r\n /** m_isEnabled (bool) [READWRITE] */\r\n @edit.readwrite\r\n @type.boolean\r\n isEnabled = true;\r\n\r\n /** m_name (std::string) [READWRITE, PERSIST] */\r\n @edit.persist\r\n @type.string\r\n name = \"\";\r\n\r\n #sourceObject = null;\r\n\r\n // Carbon exposes persisted storage and a script MAP_PROPERTY under this\r\n // name. JS uses one accessor for both, so hydration also invokes the setter.\r\n\r\n /** Reads the current source endpoint, resolving a weak reference when used. */\r\n get sourceObject()\r\n {\r\n return this.GetCurrentSourceObject();\r\n }\r\n\r\n /** Replaces the source endpoint through its binding setter. */\r\n set sourceObject(value)\r\n {\r\n this.SetSourceObject(value);\r\n }\r\n\r\n /** m_offset (Vector4) [READWRITE, PERSIST] */\r\n @edit.persist\r\n @type.vec4\r\n offset = vec4.create();\r\n\r\n /** m_copyValueCallable (BlueScriptCallback) [READWRITE, NOTIFY] */\r\n @edit.notify\r\n @edit.readwrite\r\n @type.rawStruct(\"BlueScriptCallback\")\r\n copyValueCallable = null;\r\n\r\n /** m_scale (float) [READWRITE, PERSIST] */\r\n @edit.persist\r\n @type.float32\r\n scale = 1;\r\n\r\n /** m_isWeak (bool) [READ] */\r\n @edit.read\r\n @type.boolean\r\n isWeak = false;\r\n\r\n @edit.read\r\n @type.boolean\r\n isValid = false;\r\n\r\n /**\r\n * Resolves both endpoints, builds the copy plan and sets isValid; a callable\r\n * copyValueCallable short-circuits the whole plan, and an ITriReroutable\r\n * destination is registered with and its rerouted buffer cached when it is\r\n * large enough for the plan.\r\n */\r\n @carbon.method\r\n @impl.adapted\r\n @impl.reason(\"Resolves Blue field metadata through JavaScript properties and supports the portable runtime's numeric, vector, boolean, and callback value families.\")\r\n Initialize()\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n this.#reroutedDestination = null;\r\n this.#source = null;\r\n this.#destination = null;\r\n this.#sourceOffset = -1;\r\n this.#destinationOffset = -1;\r\n this.#copyPlan = null;\r\n this.#callbackReady = false;\r\n this.#notifyDestination = false;\r\n this.isValid = false;\r\n\r\n const sourceObject = this.GetCurrentSourceObject();\r\n const destinationObject = this.GetCurrentDestinationObject();\r\n if (!sourceObject || !destinationObject) return;\r\n if (typeof this.copyValueCallable === \"function\")\r\n {\r\n this.#callbackReady = true;\r\n return;\r\n }\r\n\r\n const source = TriValueBinding.#ParseAttribute(this.sourceAttribute);\r\n const destination = TriValueBinding.#ParseAttribute(this.destinationAttribute);\r\n if (!source || !destination || !(source.name in sourceObject) || !(destination.name in destinationObject)) return;\r\n const sourceValue = sourceObject[source.name];\r\n const destinationValue = destinationObject[destination.name];\r\n if (!TriValueBinding.#CanUseOffset(sourceValue, source.offset) || !TriValueBinding.#CanUseOffset(destinationValue, destination.offset)) return;\r\n const sourceField = CjsSchema.getField(sourceObject.constructor, source.name);\r\n const destinationField = CjsSchema.getField(destinationObject.constructor, destination.name);\r\n const copyPlan = TriValueBinding.#CreateCopyPlan(\r\n TriValueBinding.#DescribeValue(sourceValue, sourceField),\r\n source.offset,\r\n TriValueBinding.#DescribeValue(destinationValue, destinationField),\r\n destination.offset\r\n );\r\n if (!copyPlan) return;\r\n\r\n this.#source = { name: source.name };\r\n this.#destination = { name: destination.name };\r\n this.#sourceOffset = source.offset;\r\n this.#destinationOffset = destination.offset;\r\n this.#copyPlan = copyPlan;\r\n this.#notifyDestination = destinationField ? destinationField.edit?.notify === true : true;\r\n this.isValid = true;\r\n\r\n if (\r\n typeof destinationObject.RegisterBinding === \"function\" &&\r\n typeof destinationObject.GetDestination === \"function\"\r\n )\r\n {\r\n destinationObject.RegisterBinding(this);\r\n this.#reroutableDestination = this.isWeak && typeof WeakRef === \"function\"\r\n ? new WeakRef(destinationObject)\r\n : destinationObject;\r\n const rerouted = destinationObject.GetDestination();\r\n const destinationSize = Number(rerouted?.size ?? Number.POSITIVE_INFINITY);\r\n if (destinationSize >= copyPlan.requiredBytes)\r\n {\r\n this.#reroutedDestination = rerouted?.dest ?? rerouted;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Runs the callback or the planned copy once, writing through the rerouted\r\n * buffer when one is installed and notifying the destination when its field\r\n * declares notify; returns whether any value actually changed.\r\n */\r\n @carbon.method\r\n @impl.adapted\r\n @impl.reason(\"Copies portable JavaScript values and emits CjsModel notifications instead of invoking Carbon's native typed copy-function table.\")\r\n CopyValue()\r\n {\r\n if (!this.isEnabled) return false;\r\n if (!this.isValid && !this.#callbackReady) this.Initialize();\r\n if (!this.isValid && !this.#callbackReady) return false;\r\n\r\n const sourceObject = this.GetCurrentSourceObject();\r\n const destinationObject = this.GetCurrentDestinationObject();\r\n if (!sourceObject || !destinationObject) return false;\r\n if (typeof this.copyValueCallable === \"function\")\r\n {\r\n this.copyValueCallable(sourceObject, destinationObject);\r\n return true;\r\n }\r\n\r\n const sourceValue = sourceObject[this.#source.name];\r\n const logicalDestination = destinationObject[this.#destination.name];\r\n const destinationValue = this.#reroutedDestination ?? logicalDestination;\r\n const changed = TriValueBinding.#ApplyCopyPlan(\r\n this.#copyPlan,\r\n destinationObject,\r\n this.#destination.name,\r\n sourceValue,\r\n destinationValue,\r\n this.scale,\r\n this.offset\r\n );\r\n if (\r\n changed &&\r\n this.#reroutedDestination !== null &&\r\n typeof destinationObject.IsRerouted === \"function\" &&\r\n !destinationObject.IsRerouted() &&\r\n this.#reroutedDestination !== logicalDestination &&\r\n this.#reroutedDestination &&\r\n typeof this.#reroutedDestination === \"object\" &&\r\n \"value\" in this.#reroutedDestination\r\n )\r\n {\r\n destinationObject[this.#destination.name] = this.#reroutedDestination.value;\r\n }\r\n if (changed && this.#notifyDestination)\r\n {\r\n TriValueBinding.#Notify(destinationObject, this.#destination.name, this);\r\n }\r\n return changed;\r\n }\r\n\r\n /** Re-resolves the endpoints and copy plan after any field change. */\r\n @carbon.method\r\n @impl.implemented\r\n OnModified(_value = null)\r\n {\r\n this.Initialize();\r\n return true;\r\n }\r\n\r\n /** The destination attribute string, including any .x/.r component suffix. */\r\n @carbon.method\r\n @impl.implemented\r\n GetDestinationAttributeName()\r\n {\r\n return this.destinationAttribute;\r\n }\r\n\r\n /**\r\n * Rebinds the source endpoint, drops weak and reroute state, and leaves the\r\n * binding invalid until the next Initialize.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n SetSource(sourceAttribute, sourceObject)\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n this.#reroutedDestination = null;\r\n this.isWeak = false;\r\n this.#sourceObjectWeak = null;\r\n this.sourceAttribute = String(sourceAttribute ?? \"\");\r\n this.#sourceObject = sourceObject ?? null;\r\n this.isValid = false;\r\n }\r\n\r\n /**\r\n * Rebinds the destination endpoint, unregistering from any reroutable\r\n * destination, and leaves the binding invalid until the next Initialize.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n SetDestination(destinationAttribute, destinationObject)\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n this.#reroutedDestination = null;\r\n this.isWeak = false;\r\n this.#destinationObjectWeak = null;\r\n this.destinationAttribute = String(destinationAttribute ?? \"\");\r\n this.#destinationObject = destinationObject ?? null;\r\n this.isValid = false;\r\n }\r\n\r\n /** Sets the multiplier applied to the source value before the offset is added. */\r\n @carbon.method\r\n @impl.implemented\r\n SetScale(scale)\r\n {\r\n this.scale = Number(scale);\r\n }\r\n\r\n /**\r\n * Binds both endpoints through WeakRef so the binding keeps neither object\r\n * alive, sets the scale and four-component offset, then initializes and\r\n * returns whether the result is valid.\r\n */\r\n @carbon.method\r\n @impl.adapted\r\n @impl.reason(\"Uses WeakRef for Carbon's BlueWeakRef endpoints and returns validity as a JavaScript convenience.\")\r\n CreateWeakBinding(source, sourceAttribute, destination, destinationAttribute, scale = 1, offset = [0, 0, 0, 0])\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n if (\r\n !TriValueBinding.#IsReference(source) ||\r\n !TriValueBinding.#IsReference(destination)\r\n )\r\n {\r\n this.isValid = false;\r\n return false;\r\n }\r\n this.isWeak = true;\r\n this.#sourceObject = null;\r\n this.#destinationObject = null;\r\n this.#sourceObjectWeak = source && typeof WeakRef === \"function\" ? new WeakRef(source) : { deref: () => source };\r\n this.#destinationObjectWeak = destination && typeof WeakRef === \"function\" ? new WeakRef(destination) : { deref: () => destination };\r\n this.sourceAttribute = String(sourceAttribute ?? \"\");\r\n this.destinationAttribute = String(destinationAttribute ?? \"\");\r\n this.scale = Number(scale);\r\n for (let index = 0; index < 4; index++) this.offset[index] = Number(offset?.[index] ?? 0);\r\n this.Initialize();\r\n return this.isValid;\r\n }\r\n\r\n /** Whether the last Initialize produced a usable copy plan. */\r\n @carbon.method\r\n @impl.implemented\r\n IsValid()\r\n {\r\n return this.isValid;\r\n }\r\n\r\n /**\r\n * Dereferences the source endpoint, honouring weak mode; null once a weakly\r\n * held source has been collected.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n GetCurrentSourceObject()\r\n {\r\n return this.isWeak ? this.#sourceObjectWeak?.deref?.() ?? null : this.#sourceObject;\r\n }\r\n\r\n /**\r\n * Dereferences the destination endpoint, honouring weak mode; null once a\r\n * weakly held destination has been collected.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n GetCurrentDestinationObject()\r\n {\r\n return this.isWeak ? this.#destinationObjectWeak?.deref?.() ?? null : this.#destinationObject;\r\n }\r\n\r\n /** Carbon's second name for GetCurrentSourceObject. */\r\n @carbon.method\r\n @impl.implemented\r\n GetSourceObject()\r\n {\r\n return this.GetCurrentSourceObject();\r\n }\r\n\r\n /**\r\n * Rebinds the source object in place - weakly when the binding is weak - and\r\n * re-initializes, keeping the attribute names.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n SetSourceObject(sourceObject)\r\n {\r\n if (this.isWeak)\r\n {\r\n this.#sourceObjectWeak = sourceObject && typeof WeakRef === \"function\"\r\n ? new WeakRef(sourceObject)\r\n : { deref: () => sourceObject ?? null };\r\n }\r\n else\r\n {\r\n this.#sourceObject = sourceObject ?? null;\r\n }\r\n this.Initialize();\r\n }\r\n\r\n /** Carbon's second name for GetCurrentDestinationObject. */\r\n @carbon.method\r\n @impl.implemented\r\n GetDestinationObject()\r\n {\r\n return this.GetCurrentDestinationObject();\r\n }\r\n\r\n /**\r\n * Rebinds the destination object in place - weakly when the binding is weak -\r\n * unregistering from any previous reroutable destination, and re-initializes.\r\n */\r\n @carbon.method\r\n @impl.implemented\r\n SetDestinationObject(destinationObject)\r\n {\r\n this.#GetReroutableDestination()?.UnregisterBinding?.(this);\r\n this.#reroutableDestination = null;\r\n if (this.isWeak)\r\n {\r\n this.#destinationObjectWeak = destinationObject && typeof WeakRef === \"function\"\r\n ? new WeakRef(destinationObject)\r\n : { deref: () => destinationObject ?? null };\r\n }\r\n else\r\n {\r\n this.#destinationObject = destinationObject ?? null;\r\n }\r\n this.Initialize();\r\n }\r\n\r\n /**\r\n * Installs the buffer an ITriReroutable destination wants written instead of\r\n * its own field; null restores direct field writes.\r\n */\r\n @carbon.method\r\n @impl.adapted\r\n @impl.reason(\"Swaps the portable array or scalar-holder destination supplied by ITriReroutable instead of Carbon's raw byte pointer.\")\r\n RerouteDestination(destination)\r\n {\r\n this.#reroutedDestination = destination ?? null;\r\n }\r\n\r\n /**\r\n * Dereferences the registered reroutable destination, which is held weakly for\r\n * weak bindings.\r\n */\r\n #GetReroutableDestination()\r\n {\r\n return this.#reroutableDestination instanceof WeakRef\r\n ? this.#reroutableDestination.deref() ?? null\r\n : this.#reroutableDestination;\r\n }\r\n\r\n /**\r\n * Splits `field` or `field.x` into a name plus a component index (x/r zero\r\n * through w/a three); null for an empty name or an unrecognized suffix.\r\n */\r\n static #ParseAttribute(attribute)\r\n {\r\n const value = String(attribute ?? \"\");\r\n const dot = value.indexOf(\".\");\r\n if (dot === -1) return value ? { name: value, offset: -1 } : null;\r\n const offsets = { x: 0, r: 0, y: 1, g: 1, z: 2, b: 2, w: 3, a: 3 };\r\n const component = value.slice(dot + 1);\r\n return component.length === 1 && offsets[component] !== undefined ? { name: value.slice(0, dot), offset: offsets[component] } : null;\r\n }\r\n\r\n /**\r\n * Whether a component index is usable: either absent, or the value is\r\n * array-like and long enough to hold it.\r\n */\r\n static #CanUseOffset(value, offset)\r\n {\r\n return offset === -1 || (TriValueBinding.#IsArrayLike(value) && value.length > offset);\r\n }\r\n\r\n /**\r\n * Classifies a value as a scalar or a fixed-length float array from its schema\r\n * field kind, falling back to the runtime value's shape when the field is\r\n * unknown; null when neither applies.\r\n */\r\n static #DescribeValue(value, field)\r\n {\r\n const kind = field?.type?.kind ?? null;\r\n if (kind === \"boolean\" || typeof value === \"boolean\")\r\n {\r\n return { category: \"scalar\", kind: \"boolean\" };\r\n }\r\n\r\n const scalarKinds = new Set([\r\n \"int8\", \"uint8\", \"int16\", \"uint16\", \"int32\", \"uint32\",\r\n \"int64\", \"uint64\", \"float32\", \"float64\"\r\n ]);\r\n if (scalarKinds.has(kind) || (kind === null && typeof value === \"number\"))\r\n {\r\n return { category: \"scalar\", kind: kind ?? \"float32\" };\r\n }\r\n\r\n const floatArrayLengths = {\r\n vec2: 2,\r\n vec3: 3,\r\n vec4: 4,\r\n quat: 4,\r\n color: 4,\r\n mat4: 16\r\n };\r\n const length = floatArrayLengths[kind] ?? (\r\n kind === null && TriValueBinding.#IsArrayLike(value) ? Number(value.length) : 0\r\n );\r\n if (length)\r\n {\r\n return { category: \"floatArray\", kind: kind ?? \"floatArray\", length };\r\n }\r\n return null;\r\n }\r\n\r\n /**\r\n * Chooses the copy strategy for a source/destination category pair, or null\r\n * when the types are incompatible; the plan also records the byte size a\r\n * rerouted destination buffer must provide.\r\n */\r\n static #CreateCopyPlan(source, sourceOffset, destination, destinationOffset)\r\n {\r\n if (!source || !destination) return null;\r\n if (sourceOffset !== -1 && source.category !== \"floatArray\") return null;\r\n if (destinationOffset !== -1 && destination.category !== \"floatArray\") return null;\r\n\r\n if (source.category === \"scalar\" && destination.category === \"scalar\")\r\n {\r\n const same = source.kind === destination.kind;\r\n const floatPair = (\r\n (source.kind === \"float32\" && destination.kind === \"float64\") ||\r\n (source.kind === \"float64\" && destination.kind === \"float32\")\r\n );\r\n const floatToBoolean = source.kind === \"float32\" && destination.kind === \"boolean\";\r\n if (!same && !floatPair && !floatToBoolean) return null;\r\n return {\r\n kind: floatToBoolean\r\n ? \"floatToBoolean\"\r\n : (same && [\"int64\", \"uint64\"].includes(source.kind) ? \"rawScalar\" : \"scalar\"),\r\n destinationKind: destination.kind,\r\n requiredBytes: floatPair ? 1 : TriValueBinding.#ScalarBytes(destination.kind)\r\n };\r\n }\r\n\r\n if (source.category === \"floatArray\" && sourceOffset !== -1)\r\n {\r\n if (destination.category === \"scalar\" && [\"float32\", \"float64\"].includes(destination.kind))\r\n {\r\n return {\r\n kind: \"componentToScalar\",\r\n sourceOffset,\r\n destinationKind: destination.kind,\r\n requiredBytes: TriValueBinding.#ScalarBytes(destination.kind)\r\n };\r\n }\r\n if (destination.category === \"floatArray\" && destinationOffset !== -1)\r\n {\r\n return { kind: \"componentToComponent\", sourceOffset, destinationOffset, requiredBytes: 4 };\r\n }\r\n if (destination.category === \"floatArray\" && [3, 4].includes(destination.length))\r\n {\r\n return {\r\n kind: \"broadcast\",\r\n sourceOffset,\r\n count: destination.length,\r\n requiredBytes: destination.length * 4\r\n };\r\n }\r\n return null;\r\n }\r\n\r\n if (\r\n source.category === \"scalar\" &&\r\n source.kind === \"float32\" &&\r\n destination.category === \"floatArray\"\r\n )\r\n {\r\n if (destinationOffset !== -1)\r\n {\r\n return { kind: \"scalarToComponent\", destinationOffset, requiredBytes: 4 };\r\n }\r\n if ([3, 4].includes(destination.length))\r\n {\r\n return { kind: \"broadcast\", sourceOffset: -1, count: destination.length, requiredBytes: destination.length * 4 };\r\n }\r\n return null;\r\n }\r\n\r\n if (\r\n source.category === \"floatArray\" &&\r\n destination.category === \"floatArray\" &&\r\n destinationOffset === -1\r\n )\r\n {\r\n if (source.length === 16 && [3, 4].includes(destination.length))\r\n {\r\n return {\r\n kind: \"matrixTranslation\",\r\n count: destination.length,\r\n requiredBytes: destination.length * 4\r\n };\r\n }\r\n if ([2, 3, 4].includes(source.length) && [2, 3, 4].includes(destination.length))\r\n {\r\n const count = Math.min(source.length, destination.length);\r\n const requiredBytes = source.length <= destination.length\r\n ? ({ 2: 12, 3: 12, 4: 16 })[source.length]\r\n : destination.length * 4;\r\n return { kind: \"vector\", count, requiredBytes };\r\n }\r\n if (source.length === 16 && destination.length >= 16)\r\n {\r\n return { kind: \"matrix\", count: 16, requiredBytes: 64 };\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n /**\r\n * Executes a copy plan, applying the scale and per-component offset, and\r\n * returns whether any component actually changed.\r\n */\r\n static #ApplyCopyPlan(plan, object, name, source, destination, scale, offset)\r\n {\r\n switch (plan.kind)\r\n {\r\n case \"scalar\":\r\n {\r\n const next = TriValueBinding.#CastScalar(\r\n plan.destinationKind,\r\n Number(source) * scale + Number(offset[0] ?? 0)\r\n );\r\n return TriValueBinding.#WriteScalar(object, name, destination, next);\r\n }\r\n case \"rawScalar\":\r\n return TriValueBinding.#WriteScalar(object, name, destination, source);\r\n case \"floatToBoolean\":\r\n return TriValueBinding.#WriteScalar(object, name, destination, Boolean(source));\r\n case \"componentToScalar\":\r\n {\r\n const next = TriValueBinding.#CastScalar(\r\n plan.destinationKind,\r\n Number(source[plan.sourceOffset]) * scale + Number(offset[0] ?? 0)\r\n );\r\n return TriValueBinding.#WriteScalar(object, name, destination, next);\r\n }\r\n case \"componentToComponent\":\r\n return TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n plan.destinationOffset,\r\n Number(source[plan.sourceOffset]) * scale + Number(offset[0] ?? 0)\r\n );\r\n case \"scalarToComponent\":\r\n return TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n plan.destinationOffset,\r\n Number(source) * scale + Number(offset[0] ?? 0)\r\n );\r\n case \"broadcast\":\r\n {\r\n const value = plan.sourceOffset === -1 ? Number(source) : Number(source[plan.sourceOffset]);\r\n let changed = false;\r\n for (let index = 0; index < plan.count; index++)\r\n {\r\n changed = TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n index,\r\n value * scale + Number(offset[index] ?? 0)\r\n ) || changed;\r\n }\r\n return changed;\r\n }\r\n case \"matrixTranslation\":\r\n {\r\n let changed = false;\r\n for (let index = 0; index < plan.count; index++)\r\n {\r\n changed = TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n index,\r\n Number(source[12 + index]) * scale + Number(offset[index] ?? 0)\r\n ) || changed;\r\n }\r\n return changed;\r\n }\r\n case \"vector\":\r\n {\r\n let changed = false;\r\n for (let index = 0; index < plan.count; index++)\r\n {\r\n changed = TriValueBinding.#WriteArrayComponent(\r\n destination,\r\n index,\r\n Number(source[index]) * scale + Number(offset[index] ?? 0)\r\n ) || changed;\r\n }\r\n return changed;\r\n }\r\n case \"matrix\":\r\n {\r\n let changed = false;\r\n for (let index = 0; index < 16; index++)\r\n {\r\n changed = TriValueBinding.#WriteArrayComponent(destination, index, Number(source[index])) || changed;\r\n }\r\n return changed;\r\n }\r\n default:\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * Writes a scalar through whichever destination shape applies - a setter\r\n * function, an array's first slot, a { value } holder, or the object's own\r\n * field - returning false when the value is already equal.\r\n */\r\n static #WriteScalar(object, name, destination, value)\r\n {\r\n if (typeof destination === \"function\")\r\n {\r\n destination(value);\r\n return true;\r\n }\r\n if (TriValueBinding.#IsArrayLike(destination) && destination.length)\r\n {\r\n if (Object.is(destination[0], value)) return false;\r\n destination[0] = value;\r\n return true;\r\n }\r\n if (\r\n destination &&\r\n typeof destination === \"object\" &&\r\n \"value\" in destination &&\r\n typeof destination.value === \"number\"\r\n )\r\n {\r\n if (Object.is(destination.value, value)) return false;\r\n destination.value = value;\r\n return true;\r\n }\r\n if (Object.is(destination, value)) return false;\r\n object[name] = value;\r\n return true;\r\n }\r\n\r\n /**\r\n * Writes one array component, returning false when the index is out of range\r\n * or the value is unchanged.\r\n */\r\n static #WriteArrayComponent(destination, index, value)\r\n {\r\n if (!TriValueBinding.#IsArrayLike(destination) || destination.length <= index) return false;\r\n if (Object.is(destination[index], value)) return false;\r\n destination[index] = value;\r\n return true;\r\n }\r\n\r\n /**\r\n * Truncates a number to the destination's integer or boolean kind; float kinds\r\n * pass through unchanged.\r\n */\r\n static #CastScalar(kind, value)\r\n {\r\n switch (kind)\r\n {\r\n case \"boolean\": return Boolean(value);\r\n case \"int8\": return value << 24 >> 24;\r\n case \"uint8\": return value & 0xff;\r\n case \"int16\": return value << 16 >> 16;\r\n case \"uint16\": return value & 0xffff;\r\n case \"int32\": return value | 0;\r\n case \"uint32\": return value >>> 0;\r\n default: return Number(value);\r\n }\r\n }\r\n\r\n /**\r\n * Byte size of a scalar kind, used to size the rerouted-buffer requirement\r\n * recorded in the copy plan.\r\n */\r\n static #ScalarBytes(kind)\r\n {\r\n if ([\"int8\", \"uint8\", \"boolean\"].includes(kind)) return 1;\r\n if ([\"int16\", \"uint16\"].includes(kind)) return 2;\r\n if ([\"float64\", \"int64\", \"uint64\"].includes(kind)) return 8;\r\n return 4;\r\n }\r\n\r\n /**\r\n * Notifies the destination of the changed field through UpdateValues,\r\n * OnValueChanged or OnModified, whichever it implements.\r\n */\r\n static #Notify(object, name, source)\r\n {\r\n if (typeof object.UpdateValues === \"function\") object.UpdateValues({ property: name, source });\r\n else if (typeof object.OnValueChanged === \"function\") object.OnValueChanged(name, object[name], source);\r\n else object.OnModified?.(name);\r\n }\r\n\r\n /** Whether the value is an array or a typed-array view. */\r\n static #IsArrayLike(value)\r\n {\r\n return Array.isArray(value) || ArrayBuffer.isView(value);\r\n }\r\n\r\n /** Whether a value can be held by WeakRef, i.e. an object or a function. */\r\n static #IsReference(value)\r\n {\r\n return value !== null && (typeof value === \"object\" || typeof value === \"function\");\r\n }\r\n\r\n}\r\n"],"names":["_TriValueBinding","_identity","TriValueBinding","CjsModel","e","_init_destinationAttribute","_init_extra_destinationAttribute","_init_sourceAttribute","_init_extra_sourceAttribute","_init_isEnabled","_init_extra_isEnabled","_init_name","_init_extra_name","_init_offset","_init_extra_offset","_init_copyValueCallable","_init_extra_copyValueCallable","_init_scale","_init_extra_scale","_init_isWeak","_init_extra_isWeak","_init_isValid","_init_extra_isValid","_initProto","c","_initClass","_applyDecs","type","define","className","family","fields","sourceObject","model","edit","persistOnly","destinationObject","notify","persist","string","readwrite","boolean","vec4","rawStruct","float32","read","carbon","method","impl","adapted","reason","implemented","constructor","args","destinationAttribute","sourceAttribute","GetCurrentDestinationObject","value","SetDestinationObject","isEnabled","name","GetCurrentSourceObject","SetSourceObject","offset","create","copyValueCallable","scale","isWeak","isValid","Initialize","UnregisterBinding","source","destination","sourceValue","destinationValue","sourceField","CjsSchema","getField","destinationField","copyPlan","RegisterBinding","GetDestination","WeakRef","rerouted","destinationSize","Number","size","POSITIVE_INFINITY","requiredBytes","dest","CopyValue","logicalDestination","changed","IsRerouted","OnModified","_value","GetDestinationAttributeName","SetSource","String","SetDestination","SetScale","CreateWeakBinding","deref","index","IsValid","GetSourceObject","GetDestinationObject","RerouteDestination","#GetReroutableDestination","#ParseAttribute","attribute","dot","indexOf","offsets","x","r","y","g","z","b","w","a","component","slice","length","undefined","#CanUseOffset","#DescribeValue","field","kind","category","scalarKinds","Set","has","floatArrayLengths","vec2","vec3","quat","color","mat4","#CreateCopyPlan","sourceOffset","destinationOffset","same","floatPair","floatToBoolean","includes","destinationKind","count","Math","min","#ApplyCopyPlan","plan","object","next","Boolean","#WriteScalar","Object","is","#WriteArrayComponent","#CastScalar","#ScalarBytes","#Notify","UpdateValues","property","OnValueChanged","#IsArrayLike","Array","isArray","ArrayBuffer","isView","#IsReference"],"mappings":";;;;;;;AAOA;AACA;AACA;AACA;AACA;AAJA,IAAAA;AAAA,IAAA,cAAAC,SAAA,CAAA;AAAA,EAAA,QAKA,MAAAC,eAAA,SAOqCC,QAAQ,CAC7C;AAAA,IAAA;AAAA,MAAA,CAAA;AAAAC,QAAAA,CAAA,GAAAC,0BAAA,EAAAC,gCAAA,EAAAC,qBAAA,EAAAC,2BAAA,EAAAC,eAAA,EAAAC,qBAAA,EAAAC,UAAA,EAAAC,gBAAA,E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ClH,KAAK,EACzB;AACE,IAAA,OAAOA,KAAK,KAAK,IAAI,KAAK,OAAOA,KAAK,KAAK,QAAQ,IAAI,OAAOA,KAAK,KAAK,UAAU,CAAC;AACrF,EAAA;EAACL,WAAAA,GAAA;IAAA,KAAA,CAAApD,gBAAA,GAAAyB,UAAA,EAAA;AAAA,EAAA;AAAA,CAAA,EAAA;;;;"}
|
|
@@ -19,12 +19,6 @@ class CjsDirectTrinityStepExecutor extends CjsTrinityStepExecutor {
|
|
|
19
19
|
return step.EndExecute(context);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
/** Opens a GPU-free scene bracket. */
|
|
23
|
-
BeginScene(_context) {}
|
|
24
|
-
|
|
25
|
-
/** Closes a GPU-free scene bracket. */
|
|
26
|
-
EndScene(_context) {}
|
|
27
|
-
|
|
28
22
|
/** Pushes the default render-target and depth-stencil batch state. */
|
|
29
23
|
BeginBatch(_owner, context) {
|
|
30
24
|
context.PushRenderTarget(0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CjsDirectTrinityStepExecutor.js","sources":["../../../../../src/trinity/core/context/CjsDirectTrinityStepExecutor.js"],"sourcesContent":["import { CjsTrinityStepExecutor } from \"./CjsTrinityStepExecutor.js\";\n\n\n/**\n * Direct GPU-free executor used whenever no engine recorder is installed.\n */\nexport class CjsDirectTrinityStepExecutor extends CjsTrinityStepExecutor\n{\n\n /** Delegates step setup to the step's direct implementation. */\n BeginStep(step, _realTime, _simTime, _job, context)\n {\n return step.BeginExecute(context);\n }\n\n /** Delegates step execution to the step's direct implementation. */\n ExecuteStep(step, realTime, simTime, _job, context)\n {\n return step.Execute(realTime, simTime, context);\n }\n\n /** Delegates step teardown to the step's direct implementation. */\n EndStep(step, _realTime, _simTime, _job, context)\n {\n return step.EndExecute(context);\n }\n\n /**
|
|
1
|
+
{"version":3,"file":"CjsDirectTrinityStepExecutor.js","sources":["../../../../../src/trinity/core/context/CjsDirectTrinityStepExecutor.js"],"sourcesContent":["import { CjsTrinityStepExecutor } from \"./CjsTrinityStepExecutor.js\";\n\n\n/**\n * Direct GPU-free executor used whenever no engine recorder is installed.\n */\nexport class CjsDirectTrinityStepExecutor extends CjsTrinityStepExecutor\n{\n\n /** Delegates step setup to the step's direct implementation. */\n BeginStep(step, _realTime, _simTime, _job, context)\n {\n return step.BeginExecute(context);\n }\n\n /** Delegates step execution to the step's direct implementation. */\n ExecuteStep(step, realTime, simTime, _job, context)\n {\n return step.Execute(realTime, simTime, context);\n }\n\n /** Delegates step teardown to the step's direct implementation. */\n EndStep(step, _realTime, _simTime, _job, context)\n {\n return step.EndExecute(context);\n }\n\n /** Pushes the default render-target and depth-stencil batch state. */\n BeginBatch(_owner, context)\n {\n context.PushRenderTarget(0);\n try\n {\n context.PushDepthStencil();\n }\n catch (error)\n {\n context.PopRenderTarget(0);\n throw error;\n }\n }\n\n /** Pops the default depth-stencil and render-target batch state. */\n EndBatch(_owner, context)\n {\n context.PopDepthStencil();\n context.PopRenderTarget(0);\n }\n\n}\n"],"names":["CjsDirectTrinityStepExecutor","CjsTrinityStepExecutor","BeginStep","step","_realTime","_simTime","_job","context","BeginExecute","ExecuteStep","realTime","simTime","Execute","EndStep","EndExecute","BeginBatch","_owner","PushRenderTarget","PushDepthStencil","error","PopRenderTarget","EndBatch","PopDepthStencil"],"mappings":";;AAGA;AACA;AACA;AACO,MAAMA,4BAA4B,SAASC,sBAAsB,CACxE;AAEE;EACAC,SAASA,CAACC,IAAI,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,IAAI,EAAEC,OAAO,EAClD;AACE,IAAA,OAAOJ,IAAI,CAACK,YAAY,CAACD,OAAO,CAAC;AACnC,EAAA;;AAEA;EACAE,WAAWA,CAACN,IAAI,EAAEO,QAAQ,EAAEC,OAAO,EAAEL,IAAI,EAAEC,OAAO,EAClD;IACE,OAAOJ,IAAI,CAACS,OAAO,CAACF,QAAQ,EAAEC,OAAO,EAAEJ,OAAO,CAAC;AACjD,EAAA;;AAEA;EACAM,OAAOA,CAACV,IAAI,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,IAAI,EAAEC,OAAO,EAChD;AACE,IAAA,OAAOJ,IAAI,CAACW,UAAU,CAACP,OAAO,CAAC;AACjC,EAAA;;AAEA;AACAQ,EAAAA,UAAUA,CAACC,MAAM,EAAET,OAAO,EAC1B;AACEA,IAAAA,OAAO,CAACU,gBAAgB,CAAC,CAAC,CAAC;IAC3B,IACA;MACEV,OAAO,CAACW,gBAAgB,EAAE;IAC5B,CAAC,CACD,OAAOC,KAAK,EACZ;AACEZ,MAAAA,OAAO,CAACa,eAAe,CAAC,CAAC,CAAC;AAC1B,MAAA,MAAMD,KAAK;AACb,IAAA;AACF,EAAA;;AAEA;AACAE,EAAAA,QAAQA,CAACL,MAAM,EAAET,OAAO,EACxB;IACEA,OAAO,CAACe,eAAe,EAAE;AACzBf,IAAAA,OAAO,CAACa,eAAe,CAAC,CAAC,CAAC;AAC5B,EAAA;AAEF;;;;"}
|
|
@@ -8,7 +8,7 @@ let _initProto;
|
|
|
8
8
|
*/
|
|
9
9
|
class CjsTrinityStepExecutor {
|
|
10
10
|
static {
|
|
11
|
-
[_initProto] = _applyDecs2311(this, [], [[[impl, impl.abstract], 18, "BeginStep"], [[impl, impl.abstract], 18, "ExecuteStep"], [[impl, impl.abstract], 18, "EndStep"], [[impl, impl.abstract], 18, "
|
|
11
|
+
[_initProto] = _applyDecs2311(this, [], [[[impl, impl.abstract], 18, "BeginStep"], [[impl, impl.abstract], 18, "ExecuteStep"], [[impl, impl.abstract], 18, "EndStep"], [[impl, impl.abstract], 18, "BeginBatch"], [[impl, impl.abstract], 18, "EndBatch"]]).e;
|
|
12
12
|
}
|
|
13
13
|
constructor() {
|
|
14
14
|
_initProto(this);
|
|
@@ -28,15 +28,12 @@ class CjsTrinityStepExecutor {
|
|
|
28
28
|
throw new Error("CjsTrinityStepExecutor.EndStep must be implemented by a concrete executor.");
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
EndScene(_context) {
|
|
38
|
-
throw new Error("CjsTrinityStepExecutor.EndScene must be implemented by a concrete executor.");
|
|
39
|
-
}
|
|
31
|
+
// THERE WAS A SCENE BRACKET HERE, AND IT IS GONE (2026-09-18). BeginScene
|
|
32
|
+
// and EndScene are the BACKEND's, inherited by Carbon's render context from
|
|
33
|
+
// the abstraction layer (Tr2RenderContextDx11.h:67-68); the context's own
|
|
34
|
+
// pair now forwards there, which is what Tr2Renderer::BeginRenderContext
|
|
35
|
+
// calls. The executor's copies were the retired intent-recording mechanism's
|
|
36
|
+
// and no longer had a caller - the direct executor's were empty bodies.
|
|
40
37
|
|
|
41
38
|
/** Opens a render-target and depth-stencil batch bracket. */
|
|
42
39
|
BeginBatch(_owner, _context) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CjsTrinityStepExecutor.js","sources":["../../../../../src/trinity/core/context/CjsTrinityStepExecutor.js"],"sourcesContent":["import { impl } from \"#schema\";\n\n\n/**\n * Nominal renderer contract driven by Trinity render contexts and jobs.\n */\nexport class CjsTrinityStepExecutor\n{\n\n /** Begins one canonical render step. */\n @impl.abstract\n BeginStep(_step, _realTime, _simTime, _job, _context)\n {\n throw new Error(\"CjsTrinityStepExecutor.BeginStep must be implemented by a concrete executor.\");\n }\n\n /** Executes one canonical render step. */\n @impl.abstract\n ExecuteStep(_step, _realTime, _simTime, _job, _context)\n {\n throw new Error(\"CjsTrinityStepExecutor.ExecuteStep must be implemented by a concrete executor.\");\n }\n\n /** Ends one canonical render step. */\n @impl.abstract\n EndStep(_step, _realTime, _simTime, _job, _context)\n {\n throw new Error(\"CjsTrinityStepExecutor.EndStep must be implemented by a concrete executor.\");\n }\n\n
|
|
1
|
+
{"version":3,"file":"CjsTrinityStepExecutor.js","sources":["../../../../../src/trinity/core/context/CjsTrinityStepExecutor.js"],"sourcesContent":["import { impl } from \"#schema\";\n\n\n/**\n * Nominal renderer contract driven by Trinity render contexts and jobs.\n */\nexport class CjsTrinityStepExecutor\n{\n\n /** Begins one canonical render step. */\n @impl.abstract\n BeginStep(_step, _realTime, _simTime, _job, _context)\n {\n throw new Error(\"CjsTrinityStepExecutor.BeginStep must be implemented by a concrete executor.\");\n }\n\n /** Executes one canonical render step. */\n @impl.abstract\n ExecuteStep(_step, _realTime, _simTime, _job, _context)\n {\n throw new Error(\"CjsTrinityStepExecutor.ExecuteStep must be implemented by a concrete executor.\");\n }\n\n /** Ends one canonical render step. */\n @impl.abstract\n EndStep(_step, _realTime, _simTime, _job, _context)\n {\n throw new Error(\"CjsTrinityStepExecutor.EndStep must be implemented by a concrete executor.\");\n }\n\n // THERE WAS A SCENE BRACKET HERE, AND IT IS GONE (2026-09-18). BeginScene\n // and EndScene are the BACKEND's, inherited by Carbon's render context from\n // the abstraction layer (Tr2RenderContextDx11.h:67-68); the context's own\n // pair now forwards there, which is what Tr2Renderer::BeginRenderContext\n // calls. The executor's copies were the retired intent-recording mechanism's\n // and no longer had a caller - the direct executor's were empty bodies.\n\n /** Opens a render-target and depth-stencil batch bracket. */\n @impl.abstract\n BeginBatch(_owner, _context)\n {\n throw new Error(\"CjsTrinityStepExecutor.BeginBatch must be implemented by a concrete executor.\");\n }\n\n /** Closes a render-target and depth-stencil batch bracket. */\n @impl.abstract\n EndBatch(_owner, _context)\n {\n throw new Error(\"CjsTrinityStepExecutor.EndBatch must be implemented by a concrete executor.\");\n }\n\n}\n"],"names":["CjsTrinityStepExecutor","_initProto","_applyDecs","impl","abstract","e","constructor","BeginStep","_step","_realTime","_simTime","_job","_context","Error","ExecuteStep","EndStep","BeginBatch","_owner","EndBatch"],"mappings":";;;;;AAGA;AACA;AACA;AACO,MAAMA,sBAAsB,CACnC;AAAA,EAAA;AAAA,IAAA,CAAAC,UAAA,CAAA,GAAAC,cAAA,CAAA,IAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAGGC,IAAI,EAAJA,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