@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,8 +1,9 @@
|
|
|
1
1
|
import { identity as _identity, applyDecs2311 as _applyDecs2311 } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import '../../../global/blue/registerTrinityEnums.js';
|
|
3
|
+
import { edit, type, carbon, impl, CjsSchema } from '#schema';
|
|
4
|
+
import { IEveInheritPropertiesOwner } from '../IEveInheritPropertiesOwner.js';
|
|
5
|
+
import { IEveSpaceObject2 } from '../IEveSpaceObject2.js';
|
|
6
|
+
import { ITr2BoundingBox } from '#contracts';
|
|
6
7
|
import { EveEntity as _EveEntity } from '../EveEntity.js';
|
|
7
8
|
import { EveChildUpdateParams as _EveChildUpdateParams } from '../EveChildUpdateParams.js';
|
|
8
9
|
import { EveChildInheritProperties as _EveChildInheritPrope } from '../child/EveChildInheritProperties.js';
|
|
@@ -13,7 +14,9 @@ import { quat } from '#math/quat';
|
|
|
13
14
|
import { sph3 } from '#math/sph3';
|
|
14
15
|
import { vec3 } from '#math/vec3';
|
|
15
16
|
import { vec4 } from '#math/vec4';
|
|
16
|
-
import {
|
|
17
|
+
import { CjsModel } from '#model';
|
|
18
|
+
import { BLUELISTEVENT } from '#consts/blue';
|
|
19
|
+
import { EveComponentType, ShouldReflect } from '../EveComponentTypes.js';
|
|
17
20
|
import { ImpactConfiguration } from '../../generated/include/enums.js';
|
|
18
21
|
import { EveLODHelper } from '../EveLODHelper.js';
|
|
19
22
|
import { TriBatchType, ReflectionMode } from '#consts/graphics';
|
|
@@ -37,10 +40,9 @@ import { EveCollectAreas } from '../child/EveSpaceObjectChild.js';
|
|
|
37
40
|
import { EveLocatorSets as _EveLocatorSets, EveGetLocatorPose } from '../locator/EveLocatorSets.js';
|
|
38
41
|
import { Locator as _Locator } from '../locator/Locator.js';
|
|
39
42
|
import { TriPerlinCurve as _TriPerlinCurve } from '../../curves/curve/TriPerlinCurve.js';
|
|
40
|
-
import {
|
|
43
|
+
import { ITr2Renderable } from '../../core/ITr2Renderable.js';
|
|
41
44
|
import { Tr2Lod } from '#consts/trinity';
|
|
42
45
|
|
|
43
|
-
var _withIEveInheritPrope;
|
|
44
46
|
let _initProto, _initClass, _init_reflectionMode, _init_extra_reflectionMode, _init_effectChildren, _init_extra_effectChildren, _init_children, _init_extra_children, _init_name, _init_extra_name, _init_mute, _init_extra_mute, _init_inheritProperties, _init_extra_inheritProperties, _init_customMasks, _init_extra_customMasks, _init_overlayEffects, _init_extra_overlayEffects, _init_positionDelta, _init_extra_positionDelta, _init_lodLevel, _init_extra_lodLevel, _init_curveSets, _init_extra_curveSets, _init_isPickable, _init_extra_isPickable, _init_estimatedPixelDiameter, _init_extra_estimatedPixelDiameter, _init_estimatedPixelDiameterWithChildren, _init_extra_estimatedPixelDiameterWithChildren, _init_generatedShapeEllipsoidCenter, _init_extra_generatedShapeEllipsoidCenter, _init_generatedShapeEllipsoidRadius, _init_extra_generatedShapeEllipsoidRadius, _init_animationUpdater, _init_extra_animationUpdater, _init_dna, _init_extra_dna, _init_castShadow, _init_extra_castShadow, _init_isAnimated, _init_extra_isAnimated, _init_dynamicBoundingSphereEnabled, _init_extra_dynamicBoundingSphereEnabled, _init_attachments, _init_extra_attachments, _init_decals, _init_extra_decals, _init_lights, _init_extra_lights, _init_externalParameters, _init_extra_externalParameters, _init_controllers, _init_extra_controllers, _init_locators, _init_extra_locators, _init_mesh, _init_extra_mesh, _init_impactOverlay, _init_extra_impactOverlay, _init_clipSphereCenter, _init_extra_clipSphereCenter, _init_clipSphereFactor, _init_extra_clipSphereFactor, _init_clipSphereFactor2, _init_extra_clipSphereFactor2, _init_observers, _init_extra_observers, _init_worldPosition, _init_extra_worldPosition, _init_rotationCurve, _init_extra_rotationCurve, _init_worldRotation, _init_extra_worldRotation, _init_modelScale, _init_extra_modelScale, _init_locatorSets, _init_extra_locatorSets, _init_activationStrength, _init_extra_activationStrength, _init_albedoColor, _init_extra_albedoColor, _init_display, _init_extra_display, _init_update, _init_extra_update, _init_secondaryLightingSphereRadius, _init_extra_secondaryLightingSphereRadius, _init_boundingSphereCenter, _init_extra_boundingSphereCenter, _init_dirtLevel, _init_extra_dirtLevel, _init_customShaderData, _init_extra_customShaderData, _init_spaceObjectShipData, _init_extra_spaceObjectShipData, _init_lastDamageLocatorHit, _init_extra_lastDamageLocatorHit, _init_damageLocatorAutoFilterEnabled, _init_extra_damageLocatorAutoFilterEnabled, _init_boundingSphereRadius, _init_extra_boundingSphereRadius, _init_modelWorldPosition, _init_extra_modelWorldPosition, _init_modelTranslationCurve, _init_extra_modelTranslationCurve, _init_modelRotationCurve, _init_extra_modelRotationCurve, _init_shapeEllipsoidCenter, _init_extra_shapeEllipsoidCenter, _init_shapeEllipsoidRadius, _init_extra_shapeEllipsoidRadius, _init_translationCurve, _init_extra_translationCurve, _init_worldTransform, _init_extra_worldTransform, _init_inverseWorldTransform, _init_extra_inverseWorldTransform, _init_lastWorldTransform, _init_extra_lastWorldTransform, _init_worldVelocity, _init_extra_worldVelocity, _init_audioGeometry, _init_extra_audioGeometry, _init_isVisible, _init_extra_isVisible;
|
|
45
47
|
|
|
46
48
|
// Static scratch for the sorted-transparent area pass (allocation rules: hot
|
|
@@ -53,15 +55,15 @@ const TRANSPARENT_CENTER = vec3.create();
|
|
|
53
55
|
const OVERLAY_TYPE_OPAQUEONLY = 0;
|
|
54
56
|
const OVERLAY_TYPE_ALL = 1;
|
|
55
57
|
|
|
56
|
-
/**
|
|
57
|
-
* The hull of an EVE space object - its mesh, locators, locator sets, decals,
|
|
58
|
-
* attachments, lights, effect children, overlay effects, impact overlay and
|
|
59
|
-
* controllers - together with the curve-driven world transform, visibility, LOD
|
|
60
|
-
* and batch submission that drive them each frame.
|
|
58
|
+
/**
|
|
59
|
+
* The hull of an EVE space object - its mesh, locators, locator sets, decals,
|
|
60
|
+
* attachments, lights, effect children, overlay effects, impact overlay and
|
|
61
|
+
* controllers - together with the curve-driven world transform, visibility, LOD
|
|
62
|
+
* and batch submission that drive them each frame.
|
|
61
63
|
*/
|
|
62
64
|
let _EveSpaceObject;
|
|
63
65
|
new class extends _identity {
|
|
64
|
-
static [class EveSpaceObject2 extends
|
|
66
|
+
static [class EveSpaceObject2 extends _EveEntity {
|
|
65
67
|
static {
|
|
66
68
|
({
|
|
67
69
|
e: [_init_reflectionMode, _init_extra_reflectionMode, _init_effectChildren, _init_extra_effectChildren, _init_children, _init_extra_children, _init_name, _init_extra_name, _init_mute, _init_extra_mute, _init_inheritProperties, _init_extra_inheritProperties, _init_customMasks, _init_extra_customMasks, _init_overlayEffects, _init_extra_overlayEffects, _init_positionDelta, _init_extra_positionDelta, _init_lodLevel, _init_extra_lodLevel, _init_curveSets, _init_extra_curveSets, _init_isPickable, _init_extra_isPickable, _init_estimatedPixelDiameter, _init_extra_estimatedPixelDiameter, _init_estimatedPixelDiameterWithChildren, _init_extra_estimatedPixelDiameterWithChildren, _init_generatedShapeEllipsoidCenter, _init_extra_generatedShapeEllipsoidCenter, _init_generatedShapeEllipsoidRadius, _init_extra_generatedShapeEllipsoidRadius, _init_animationUpdater, _init_extra_animationUpdater, _init_dna, _init_extra_dna, _init_castShadow, _init_extra_castShadow, _init_isAnimated, _init_extra_isAnimated, _init_dynamicBoundingSphereEnabled, _init_extra_dynamicBoundingSphereEnabled, _init_attachments, _init_extra_attachments, _init_decals, _init_extra_decals, _init_lights, _init_extra_lights, _init_externalParameters, _init_extra_externalParameters, _init_controllers, _init_extra_controllers, _init_locators, _init_extra_locators, _init_mesh, _init_extra_mesh, _init_impactOverlay, _init_extra_impactOverlay, _init_clipSphereCenter, _init_extra_clipSphereCenter, _init_clipSphereFactor, _init_extra_clipSphereFactor, _init_clipSphereFactor2, _init_extra_clipSphereFactor2, _init_observers, _init_extra_observers, _init_worldPosition, _init_extra_worldPosition, _init_rotationCurve, _init_extra_rotationCurve, _init_worldRotation, _init_extra_worldRotation, _init_modelScale, _init_extra_modelScale, _init_locatorSets, _init_extra_locatorSets, _init_activationStrength, _init_extra_activationStrength, _init_albedoColor, _init_extra_albedoColor, _init_display, _init_extra_display, _init_update, _init_extra_update, _init_secondaryLightingSphereRadius, _init_extra_secondaryLightingSphereRadius, _init_boundingSphereCenter, _init_extra_boundingSphereCenter, _init_dirtLevel, _init_extra_dirtLevel, _init_customShaderData, _init_extra_customShaderData, _init_spaceObjectShipData, _init_extra_spaceObjectShipData, _init_lastDamageLocatorHit, _init_extra_lastDamageLocatorHit, _init_damageLocatorAutoFilterEnabled, _init_extra_damageLocatorAutoFilterEnabled, _init_boundingSphereRadius, _init_extra_boundingSphereRadius, _init_modelWorldPosition, _init_extra_modelWorldPosition, _init_modelTranslationCurve, _init_extra_modelTranslationCurve, _init_modelRotationCurve, _init_extra_modelRotationCurve, _init_shapeEllipsoidCenter, _init_extra_shapeEllipsoidCenter, _init_shapeEllipsoidRadius, _init_extra_shapeEllipsoidRadius, _init_translationCurve, _init_extra_translationCurve, _init_worldTransform, _init_extra_worldTransform, _init_inverseWorldTransform, _init_extra_inverseWorldTransform, _init_lastWorldTransform, _init_extra_lastWorldTransform, _init_worldVelocity, _init_extra_worldVelocity, _init_audioGeometry, _init_extra_audioGeometry, _init_isVisible, _init_extra_isVisible, _initProto],
|
|
@@ -69,7 +71,7 @@ new class extends _identity {
|
|
|
69
71
|
} = _applyDecs2311(this, [type.define({
|
|
70
72
|
className: "EveSpaceObject2",
|
|
71
73
|
family: "eve/spaceObject"
|
|
72
|
-
})], [[[io, io.notify, io, io.persist, type, type.int32, void 0, type.enum("ReflectionMode")], 16, "reflectionMode"], [[io, io.persist, void 0, type.list("IEveSpaceObjectChild")], 16, "effectChildren"], [[io, io.persist, void 0, type.list("IEveTransform")], 16, "children"], [[io, io.notify, io, io.persist, type, type.string], 16, "name"], [[io, io.notify, io, io.readwrite, type, type.boolean], 16, "mute"], [[io, io.readwrite, void 0, type.objectRef("EveChildInheritProperties")], 16, "inheritProperties"], [[io, io.persist, void 0, type.list("EveCustomMask")], 16, "customMasks"], [[io, io.persist, void 0, type.list("EveMeshOverlayEffect")], 16, "overlayEffects"], [[io, io.read, void 0, type.objectRef("Tr2BindingVector3")], 16, "positionDelta"], [[io, io.read, type, type.int32, void 0, type.enum("Tr2Lod")], 16, "lodLevel"], [[io, io.persist, void 0, type.list("TriCurveSet")], 16, "curveSets"], [[io, io.readwrite, type, type.boolean], 16, "isPickable"], [[io, io.read, type, type.float32], 16, "estimatedPixelDiameter"], [[io, io.read, type, type.float32], 16, "estimatedPixelDiameterWithChildren"], [[io, io.read, type, type.vec3], 16, "generatedShapeEllipsoidCenter"], [[io, io.read, type, type.vec3], 16, "generatedShapeEllipsoidRadius"], [[io, io.read, void 0, type.objectRef("Tr2GrannyAnimation")], 16, "animationUpdater"], [[io, io.persist, type, type.string], 16, "dna"], [[io, io.notify, io, io.persist, type, type.boolean], 16, "castShadow"], [[io, io.persist, type, type.boolean], 16, "isAnimated"], [[io, io.persist, type, type.boolean], 16, "dynamicBoundingSphereEnabled"], [[io, io.persist, void 0, type.list("IEveSpaceObjectAttachment")], 16, "attachments"], [[io, io.persist, void 0, type.list("EveSpaceObjectDecal")], 16, "decals"], [[io, io.notify, io, io.persist, void 0, type.list("Tr2Light")], 16, "lights"], [[io, io.persist, void 0, type.list("Tr2ExternalParameter")], 16, "externalParameters"], [[io, io.persist, void 0, type.list("ITr2Controller")], 16, "controllers"], [[io, io.persist, void 0, type.list("EveLocator2")], 16, "locators"], [[io, io.persist, void 0, type.objectRef("Tr2MeshBase")], 16, "mesh"], [[io, io.persist, void 0, type.objectRef("EveImpactOverlay")], 16, "impactOverlay"], [[io, io.persist, type, type.vec3], 16, "clipSphereCenter"], [[io, io.notify, io, io.readwrite, type, type.float32], 16, "clipSphereFactor2"], [[io, io.notify, io, io.readwrite, type, type.float32], 16, "clipSphereFactor"], [[io, io.persist, void 0, type.list("TriObserverLocal")], 16, "observers"], [[io, io.read, type, type.vec3], 16, "worldPosition"], [[io, io.persist, void 0, type.objectRef("ITriQuaternionFunction")], 16, "rotationCurve"], [[io, io.read, type, type.quat], 16, "worldRotation"], [[io, io.persist, type, type.float32], 16, "modelScale"], [[io, io.persist, void 0, type.list("EveLocatorSets")], 16, "locatorSets"], [[io, io.readwrite, type, type.float32], 16, "activationStrength"], [[io, io.readwrite, type, type.color], 16, "albedoColor"], [[io, io.notify, io, io.persist, type, type.boolean], 16, "display"], [[io, io.persist, type, type.boolean], 16, "update"], [[io, io.read, type, type.float32], 16, "secondaryLightingSphereRadius"], [[io, io.persist, type, type.vec3], 16, "boundingSphereCenter"], [[io, io.notify, io, io.readwrite, type, type.float32], 16, "dirtLevel"], [[io, io.readwrite, type, type.vec4], 16, "customShaderData"], [[io, io.read, type, type.vec4], 16, "spaceObjectShipData"], [[io, io.read, type, type.int32], 16, "lastDamageLocatorHit"], [[io, io.notify, io, io.readwrite, type, type.boolean], 16, "damageLocatorAutoFilterEnabled"], [[io, io.persist, type, type.float32], 16, "boundingSphereRadius"], [[io, io.read, type, type.vec3], 16, "modelWorldPosition"], [[io, io.persist, void 0, type.objectRef("ITriVectorFunction")], 16, "modelTranslationCurve"], [[io, io.persist, void 0, type.objectRef("ITriQuaternionFunction")], 16, "modelRotationCurve"], [[io, io.persist, type, type.vec3], 16, "shapeEllipsoidCenter"], [[io, io.persist, type, type.vec3], 16, "shapeEllipsoidRadius"], [[io, io.persist, void 0, type.objectRef("ITriVectorFunction")], 16, "translationCurve"], [[io, io.read, type, type.mat4], 16, "worldTransform"], [[io, io.read, type, type.mat4], 16, "inverseWorldTransform"], [[io, io.read, type, type.mat4], 16, "lastWorldTransform"], [[io, io.read, type, type.vec3], 16, "worldVelocity"], [[io, io.readwrite, void 0, type.objectRef("ITr2AudGeometry")], 16, "audioGeometry"], [[type, type.boolean], 16, "isVisible"], [[carbon, carbon.method, impl, impl.adapted], 18, "Initialize"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetMesh"], [[carbon, carbon.method, impl, impl.adapted], 18, "SetMesh"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetOverlayEffects"], [[carbon, carbon.method, impl, impl.adapted], 18, "AddController"], [[carbon, carbon.method, impl, impl.implemented], 18, "AddObserver"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetInheritProperties"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetEffectChildByName"], [[carbon, carbon.method, impl, impl.adapted], 18, "AddToEffectChildrenList"], [[carbon, carbon.method, impl, impl.implemented], 18, "AddLight"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearLights"], [[carbon, carbon.method, impl, impl.implemented], 18, "RemoveFromEffectChildrenList"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetModelRotationCurve"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetModelRotationCurve"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetModelTranslationCurve"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetModelTranslationCurve"], [[carbon, carbon.method, impl, impl.adapted], 18, "UpdateWorldTransform"], [[carbon, carbon.method, impl, impl.implemented], 18, "UpdateWorldBounds"], [[carbon, carbon.method, impl, impl.implemented], 18, "PrepareShaderData"], [[carbon, carbon.method, impl, impl.implemented], 18, "UpdateShLighting"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearShLighting"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetParentData"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetPerObjectStructs"], [[carbon, carbon.method, impl, impl.adapted], 18, "UpdateSyncronous"], [[carbon, carbon.method, impl, impl.adapted], 18, "UpdateAsyncronous"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Native impostor, raytracing, and audio-emitter realization remain engine-owned; graph visibility and LOD state are preserved.")], 18, "UpdateVisibility"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Impostor submission and decal mesh caches are engine-owned; Trinity returns the backend-neutral renderable graph.")], 18, "GetRenderables"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Overlay area-block batches are deferred; the view position arrives via the appended render-context argument instead of Carbon's renderer global.")], 18, "GetBatches"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Carbon rebuilds from the geometry-resource notify callback; the GPU-free port rebuilds lazily on first batch use from the mesh areas alone.")], 18, "RebuildCachedData"], [[carbon, carbon.method, impl, impl.implemented], 18, "ReleaseCachedData"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetPickingBatches"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetID"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Realized-LOD draw args are engine-resolved from the geometry source descriptor; primitive-count gating happens at realization.")], 18, "GetShadowBatches"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Overlay selection is fully represented in the CPU graph; realized-LOD draw arguments remain engine-owned.")], 18, "GetBatchesFromOverlayVector"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Portable mesh area access replaces Carbon's native mesh-area vectors.")], 18, "HasTransparentBatches"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Carbon reads the Tr2Renderer view-position global; the relocated camera state arrives via the threaded render context.")], 18, "GetSortValue"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Trinity retains and fills persistent VS/PS RawData; the engine owns device buffers, GPU-derived offsets, upload, and binding.")], 18, "GetPerObjectData"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetShadowPerObjectData"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLights"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("The optional length-one array replaces Carbon's float& sizeInShadow out-parameter.")], 18, "IsCastingShadow"], [[carbon, carbon.method, impl, impl.implemented], 18, "RegisterComponents"], [[carbon, carbon.method, impl, impl.implemented], 18, "UnRegisterComponents"], [[carbon, carbon.method, impl, impl.implemented], 18, "DisplayChildren"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetObserverTransform"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocalToWorldTransform"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetModelCenterWorldPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetWorldPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetWorldRotation"], [[carbon, carbon.method, impl, impl.implemented], 18, "FindSoundEmitter"], [[carbon, carbon.method, impl, impl.adapted], 18, "SetMute"], [[carbon, carbon.method, impl, impl.adapted], 18, "PlayAnimationEx"], [[carbon, carbon.method, impl, impl.adapted], 18, "CalculateSkinnedBoundingBoxFromTransform"], [[carbon, carbon.method, impl, impl.adapted], 18, "CalculateSkinnedBoundingSphere"], [[carbon, carbon.method, impl, impl.implemented], 18, "InvalidateMergedLocators"], [[carbon, carbon.method, impl, impl.adapted], 18, "EnsureChildLocatorMerged"], [[carbon, carbon.method, impl, impl.implemented], 18, "UpdateDamageLocatorFilter"], [[carbon, carbon.method, impl, impl.implemented], 18, "RunDamageLocatorFilter"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearImpactDamage"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearAnimations"], [[carbon, carbon.method, impl, impl.implemented], 18, "CreateImpactFromPosition"], [[carbon, carbon.method, impl, impl.adapted], 18, "CreateImpact"], [[carbon, carbon.method, impl, impl.implemented], 18, "EndAnimation"], [[carbon, carbon.method, impl, impl.implemented], 18, "FreezeHighDetailMesh"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetDamageLocatorCount"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorCount"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorsForSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "MergeToLocatorSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "AddLocatorSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearLocatorSets"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetCloseLocatorIndex"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetGoodLocatorIndex"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetDamageLocatorDirection"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("CarbonEngineJS keeps output parameters last and returns a validity flag for targetable callers.")], 18, "GetDamageLocatorPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetDamageLocatorBindPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetClosestDamageLocatorIndex"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("TriRand is represented by Math.random; all locator scoring remains source-faithful.")], 18, "GetGoodDamageLocatorIndex"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetRadius"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetMissPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetImpactConfiguration"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetImpactOverlay"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetImpactOverlay"], [[carbon, carbon.method, impl, impl.implemented], 18, "HasImpactConfigurationShield"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("CarbonEngineJS uses an out-last signature; the ellipsoid intersection is otherwise source-faithful CPU math.")], 18, "GetImpactPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "UpdateImpact"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetDamageLocator"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetTransformedDamageLocator"], [[carbon, carbon.method, impl, impl.adapted], 18, "IsImpostor"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorPositionFromSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorRotationFromSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "HandleControllerEvent"], [[carbon, carbon.method, impl, impl.adapted], 18, "PlayAnimation"], [[carbon, carbon.method, impl, impl.implemented], 18, "ChainAnimation"], [[carbon, carbon.method, impl, impl.implemented], 18, "ChainAnimationEx"], [[carbon, carbon.method, impl, impl.adapted], 18, "RebuildBoundingSphereInformation"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Carbon's CcpMath::Sphere is represented by core-math sph3; object-shaped center/radius input is accepted at adapter boundaries.")], 18, "SetBoundingSphereInformation"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetControllerVariables"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Geometry resources without multi-LOD support expose their sole browser LOD as index zero.")], 18, "GetLastUsedMeshLod"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetLocatorTransform"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetLocalBoundingBox"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetWorldBoundingBox"], [[carbon, carbon.method, impl, impl.implemented], 18, "IsBoundingBoxReady"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetBoundingSphere"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("TriFrustum is supplied structurally by the active engine; both exact and estimated browser frustum methods are supported.")], 18, "EstimatePixelDiameter"], [[carbon, carbon.method, impl, impl.implemented], 18, "IsInFrustum"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetBoundingSphereCenter"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetBoundingSphereRadius"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetBoneCount"], [[carbon, carbon.method, impl, impl.adapted], 18, "SetImpactDamageState"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetImpactAnimation"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetControllerVariable"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetProceduralContainerVariable"], [[carbon, carbon.method, impl, impl.implemented], 18, "StartControllers"], [[carbon, carbon.method, impl, impl.adapted], 18, "TransformLocators"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorInObjectSpace"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetShapeEllipsoid"]], 0, void 0, _withIEveInheritPrope));
|
|
74
|
+
}), carbon.inherit(ITr2BoundingBox, ITr2Renderable, IEveSpaceObject2, IEveInheritPropertiesOwner)], [[[edit, edit.notify, edit, edit.persist, type, type.int32, void 0, type.enum("trinity.EntityComponents.ReflectionMode")], 16, "reflectionMode"], [[edit, edit.persist, void 0, type.list("IEveSpaceObjectChild")], 16, "effectChildren"], [[edit, edit.persist, void 0, type.list("IEveTransform")], 16, "children"], [[edit, edit.notify, edit, edit.persist, type, type.string], 16, "name"], [[edit, edit.notify, edit, edit.readwrite, type, type.boolean], 16, "mute"], [[edit, edit.readwrite, void 0, type.objectRef("EveChildInheritProperties")], 16, "inheritProperties"], [[edit, edit.persist, void 0, type.list("EveCustomMask")], 16, "customMasks"], [[edit, edit.persist, void 0, type.list("EveMeshOverlayEffect")], 16, "overlayEffects"], [[edit, edit.read, void 0, type.objectRef("Tr2BindingVector3")], 16, "positionDelta"], [[edit, edit.read, type, type.int32, void 0, type.enum("trinity.Tr2Lod")], 16, "lodLevel"], [[edit, edit.persist, void 0, type.list("TriCurveSet")], 16, "curveSets"], [[edit, edit.readwrite, type, type.boolean], 16, "isPickable"], [[edit, edit.read, type, type.float32], 16, "estimatedPixelDiameter"], [[edit, edit.read, type, type.float32], 16, "estimatedPixelDiameterWithChildren"], [[edit, edit.read, type, type.vec3], 16, "generatedShapeEllipsoidCenter"], [[edit, edit.read, type, type.vec3], 16, "generatedShapeEllipsoidRadius"], [[edit, edit.read, void 0, type.objectRef("Tr2GrannyAnimation")], 16, "animationUpdater"], [[edit, edit.persist, type, type.string], 16, "dna"], [[edit, edit.notify, edit, edit.persist, type, type.boolean], 16, "castShadow"], [[edit, edit.persist, type, type.boolean], 16, "isAnimated"], [[edit, edit.persist, type, type.boolean], 16, "dynamicBoundingSphereEnabled"], [[edit, edit.persist, void 0, type.list("IEveSpaceObjectAttachment")], 16, "attachments"], [[edit, edit.persist, void 0, type.list("EveSpaceObjectDecal")], 16, "decals"], [[edit, edit.notify, edit, edit.persist, void 0, type.list("Tr2Light")], 16, "lights"], [[edit, edit.persist, void 0, type.list("Tr2ExternalParameter")], 16, "externalParameters"], [[edit, edit.persist, void 0, type.list("ITr2Controller")], 16, "controllers"], [[edit, edit.persist, void 0, type.list("EveLocator2")], 16, "locators"], [[edit, edit.persist, void 0, type.objectRef("Tr2MeshBase")], 16, "mesh"], [[edit, edit.persist, void 0, type.objectRef("EveImpactOverlay")], 16, "impactOverlay"], [[edit, edit.persist, type, type.vec3], 16, "clipSphereCenter"], [[edit, edit.notify, edit, edit.readwrite, type, type.float32], 16, "clipSphereFactor2"], [[edit, edit.notify, edit, edit.readwrite, type, type.float32], 16, "clipSphereFactor"], [[edit, edit.persist, void 0, type.list("TriObserverLocal")], 16, "observers"], [[edit, edit.read, type, type.vec3], 16, "worldPosition"], [[edit, edit.persist, void 0, type.objectRef("ITriQuaternionFunction")], 16, "rotationCurve"], [[edit, edit.read, type, type.quat], 16, "worldRotation"], [[edit, edit.persist, type, type.float32], 16, "modelScale"], [[edit, edit.persist, void 0, type.list("EveLocatorSets")], 16, "locatorSets"], [[edit, edit.readwrite, type, type.float32], 16, "activationStrength"], [[edit, edit.readwrite, type, type.color], 16, "albedoColor"], [[edit, edit.notify, edit, edit.persist, type, type.boolean], 16, "display"], [[edit, edit.persist, type, type.boolean], 16, "update"], [[edit, edit.read, type, type.float32], 16, "secondaryLightingSphereRadius"], [[edit, edit.persist, type, type.vec3], 16, "boundingSphereCenter"], [[edit, edit.notify, edit, edit.readwrite, type, type.float32], 16, "dirtLevel"], [[edit, edit.readwrite, type, type.vec4], 16, "customShaderData"], [[edit, edit.read, type, type.vec4], 16, "spaceObjectShipData"], [[edit, edit.read, type, type.int32], 16, "lastDamageLocatorHit"], [[edit, edit.notify, edit, edit.readwrite, type, type.boolean], 16, "damageLocatorAutoFilterEnabled"], [[edit, edit.persist, type, type.float32], 16, "boundingSphereRadius"], [[edit, edit.read, type, type.vec3], 16, "modelWorldPosition"], [[edit, edit.persist, void 0, type.objectRef("ITriVectorFunction")], 16, "modelTranslationCurve"], [[edit, edit.persist, void 0, type.objectRef("ITriQuaternionFunction")], 16, "modelRotationCurve"], [[edit, edit.persist, type, type.vec3], 16, "shapeEllipsoidCenter"], [[edit, edit.persist, type, type.vec3], 16, "shapeEllipsoidRadius"], [[edit, edit.persist, void 0, type.objectRef("ITriVectorFunction")], 16, "translationCurve"], [[edit, edit.read, type, type.mat4], 16, "worldTransform"], [[edit, edit.read, type, type.mat4], 16, "inverseWorldTransform"], [[edit, edit.read, type, type.mat4], 16, "lastWorldTransform"], [[edit, edit.read, type, type.vec3], 16, "worldVelocity"], [[edit, edit.readwrite, void 0, type.objectRef("ITr2AudGeometry")], 16, "audioGeometry"], [[type, type.boolean], 16, "isVisible"], [[carbon, carbon.method, impl, impl.adapted], 18, "Initialize"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetMesh"], [[carbon, carbon.method, impl, impl.adapted], 18, "SetMesh"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetOverlayEffects"], [[carbon, carbon.method, impl, impl.adapted], 18, "AddController"], [[carbon, carbon.method, impl, impl.implemented], 18, "AddObserver"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetInheritProperties"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetEffectChildByName"], [[carbon, carbon.method, impl, impl.implemented], 18, "OnListModified"], [[carbon, carbon.method, impl, impl.adapted], 18, "AddToEffectChildrenList"], [[carbon, carbon.method, impl, impl.implemented], 18, "AddLight"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearLights"], [[carbon, carbon.method, impl, impl.implemented], 18, "RemoveFromEffectChildrenList"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetModelRotationCurve"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetModelRotationCurve"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetModelTranslationCurve"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetModelTranslationCurve"], [[carbon, carbon.method, impl, impl.adapted], 18, "UpdateWorldTransform"], [[carbon, carbon.method, impl, impl.implemented], 18, "UpdateWorldBounds"], [[carbon, carbon.method, impl, impl.implemented], 18, "PrepareShaderData"], [[carbon, carbon.method, impl, impl.implemented], 18, "UpdateShLighting"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearShLighting"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetParentData"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetPerObjectStructs"], [[carbon, carbon.method, impl, impl.adapted], 18, "UpdateSyncronous"], [[carbon, carbon.method, impl, impl.adapted], 18, "UpdateAsyncronous"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Native impostor, raytracing, and audio-emitter realization are not ported yet; graph visibility and LOD state are preserved.")], 18, "UpdateVisibility"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Impostor submission and decal mesh caches are not ported yet; Trinity returns the backend-neutral renderable graph.")], 18, "GetRenderables"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Overlay area-block batches are deferred; the view position arrives via the appended render-context argument instead of Carbon's renderer global.")], 18, "GetBatches"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Carbon rebuilds from the geometry-resource notify callback; the GPU-free port rebuilds lazily on first batch use from the mesh areas alone.")], 18, "RebuildCachedData"], [[carbon, carbon.method, impl, impl.implemented], 18, "ReleaseCachedData"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetPickingBatches"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetID"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("LOD draw args are left as a geometry source descriptor and primitive-count gating is not ported yet; Carbon bakes both here.")], 18, "GetShadowBatches"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Overlay selection is fully represented in the CPU graph; realized-LOD draw arguments are not ported yet.")], 18, "GetBatchesFromOverlayVector"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Portable mesh area access replaces Carbon's native mesh-area vectors.")], 18, "HasTransparentBatches"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Carbon reads the Tr2Renderer view-position global; the relocated camera state arrives via the threaded render context.")], 18, "GetSortValue"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Trinity retains and fills persistent VS/PS RawData; the engine owns device buffers, GPU-derived offsets, upload, and binding.")], 18, "GetPerObjectData"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetShadowPerObjectData"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLights"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("The optional length-one array replaces Carbon's float& sizeInShadow out-parameter.")], 18, "IsCastingShadow"], [[carbon, carbon.method, impl, impl.implemented], 18, "RegisterComponents"], [[carbon, carbon.method, impl, impl.implemented], 18, "UnRegisterComponents"], [[carbon, carbon.method, impl, impl.implemented], 18, "DisplayChildren"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetObserverTransform"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocalToWorldTransform"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetModelCenterWorldPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetWorldPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetWorldRotation"], [[carbon, carbon.method, impl, impl.implemented], 18, "FindSoundEmitter"], [[carbon, carbon.method, impl, impl.adapted], 18, "SetMute"], [[carbon, carbon.method, impl, impl.adapted], 18, "PlayAnimationEx"], [[carbon, carbon.method, impl, impl.adapted], 18, "CalculateSkinnedBoundingBoxFromTransform"], [[carbon, carbon.method, impl, impl.adapted], 18, "CalculateSkinnedBoundingSphere"], [[carbon, carbon.method, impl, impl.implemented], 18, "InvalidateMergedLocators"], [[carbon, carbon.method, impl, impl.adapted], 18, "EnsureChildLocatorMerged"], [[carbon, carbon.method, impl, impl.implemented], 18, "UpdateDamageLocatorFilter"], [[carbon, carbon.method, impl, impl.implemented], 18, "RunDamageLocatorFilter"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearImpactDamage"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearAnimations"], [[carbon, carbon.method, impl, impl.implemented], 18, "CreateImpactFromPosition"], [[carbon, carbon.method, impl, impl.adapted], 18, "CreateImpact"], [[carbon, carbon.method, impl, impl.implemented], 18, "EndAnimation"], [[carbon, carbon.method, impl, impl.implemented], 18, "FreezeHighDetailMesh"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetDamageLocatorCount"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorCount"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorsForSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "MergeToLocatorSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "AddLocatorSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "ClearLocatorSets"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetCloseLocatorIndex"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetGoodLocatorIndex"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetDamageLocatorDirection"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("CarbonEngineJS keeps output parameters last and returns a validity flag for targetable callers.")], 18, "GetDamageLocatorPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetDamageLocatorBindPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetClosestDamageLocatorIndex"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("TriRand is represented by Math.random; all locator scoring remains source-faithful.")], 18, "GetGoodDamageLocatorIndex"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetRadius"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetMissPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetImpactConfiguration"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetImpactOverlay"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetImpactOverlay"], [[carbon, carbon.method, impl, impl.implemented], 18, "HasImpactConfigurationShield"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("CarbonEngineJS uses an out-last signature; the ellipsoid intersection is otherwise source-faithful CPU math.")], 18, "GetImpactPosition"], [[carbon, carbon.method, impl, impl.implemented], 18, "UpdateImpact"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetDamageLocator"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetTransformedDamageLocator"], [[carbon, carbon.method, impl, impl.adapted], 18, "IsImpostor"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorPositionFromSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorRotationFromSet"], [[carbon, carbon.method, impl, impl.implemented], 18, "HandleControllerEvent"], [[carbon, carbon.method, impl, impl.adapted], 18, "PlayAnimation"], [[carbon, carbon.method, impl, impl.implemented], 18, "ChainAnimation"], [[carbon, carbon.method, impl, impl.implemented], 18, "ChainAnimationEx"], [[carbon, carbon.method, impl, impl.adapted], 18, "RebuildBoundingSphereInformation"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Carbon's CcpMath::Sphere is represented by core-math sph3; object-shaped center/radius input is accepted at adapter boundaries.")], 18, "SetBoundingSphereInformation"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetControllerVariables"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("Geometry resources without multi-LOD support expose their sole browser LOD as index zero.")], 18, "GetLastUsedMeshLod"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetLocatorTransform"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetLocalBoundingBox"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetWorldBoundingBox"], [[carbon, carbon.method, impl, impl.implemented], 18, "IsBoundingBoxReady"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetBoundingSphere"], [[carbon, carbon.method, impl, impl.adapted, void 0, impl.reason("TriFrustum is supplied structurally by the active engine; both exact and estimated browser frustum methods are supported.")], 18, "EstimatePixelDiameter"], [[carbon, carbon.method, impl, impl.implemented], 18, "IsInFrustum"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetBoundingSphereCenter"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetBoundingSphereRadius"], [[carbon, carbon.method, impl, impl.adapted], 18, "GetBoneCount"], [[carbon, carbon.method, impl, impl.adapted], 18, "SetImpactDamageState"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetImpactAnimation"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetControllerVariable"], [[carbon, carbon.method, impl, impl.implemented], 18, "SetProceduralContainerVariable"], [[carbon, carbon.method, impl, impl.implemented], 18, "StartControllers"], [[carbon, carbon.method, impl, impl.adapted], 18, "TransformLocators"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetLocatorInObjectSpace"], [[carbon, carbon.method, impl, impl.implemented], 18, "GetShapeEllipsoid"]], 0, void 0, _EveEntity));
|
|
73
75
|
}
|
|
74
76
|
/** m_reflectionMode (EntityComponents::ReflectionMode - enum ReflectionMode) [READWRITE, PERSIST, NOTIFY, ENUM] */
|
|
75
77
|
reflectionMode = (_initProto(this), _init_reflectionMode(this, 3));
|
|
@@ -209,10 +211,10 @@ new class extends _identity {
|
|
|
209
211
|
/** m_psData.customData (Vector4) [READWRITE] - script/SOF-driven custom shader data. */
|
|
210
212
|
customShaderData = (_init_extra_dirtLevel(this), _init_customShaderData(this, vec4.create()));
|
|
211
213
|
|
|
212
|
-
/**
|
|
213
|
-
* m_spaceObjectShipData (Vector4) [READ] - the packed shader ship data:
|
|
214
|
-
* .y activation strength, .z dirt level, .w bounding-sphere radius
|
|
215
|
-
* (PrepareShaderData, cpp:734-744). .x is authored elsewhere and left alone.
|
|
214
|
+
/**
|
|
215
|
+
* m_spaceObjectShipData (Vector4) [READ] - the packed shader ship data:
|
|
216
|
+
* .y activation strength, .z dirt level, .w bounding-sphere radius
|
|
217
|
+
* (PrepareShaderData, cpp:734-744). .x is authored elsewhere and left alone.
|
|
216
218
|
*/
|
|
217
219
|
spaceObjectShipData = (_init_extra_customShaderData(this), _init_spaceObjectShipData(this, vec4.create()));
|
|
218
220
|
|
|
@@ -299,10 +301,10 @@ new class extends _identity {
|
|
|
299
301
|
|
|
300
302
|
/** EVE_SPACEOBJECT_CUSTOWMASK_MAX (EveSpaceObject2.h:49) - custom-mask slots. */
|
|
301
303
|
|
|
302
|
-
/**
|
|
303
|
-
* Carbon g_secondaryLightingRadiusCutoffFactor (cpp:52), a registered engine
|
|
304
|
-
* setting defaulting to 0.3. It scales this hull's bounding radius into the
|
|
305
|
-
* cutoff below which a secondary light source is too small to matter.
|
|
304
|
+
/**
|
|
305
|
+
* Carbon g_secondaryLightingRadiusCutoffFactor (cpp:52), a registered engine
|
|
306
|
+
* setting defaulting to 0.3. It scales this hull's bounding radius into the
|
|
307
|
+
* cutoff below which a secondary light source is too small to matter.
|
|
306
308
|
*/
|
|
307
309
|
|
|
308
310
|
/** Scratch for the per-frame shader-data fill; never allocate in it. */
|
|
@@ -313,7 +315,7 @@ new class extends _identity {
|
|
|
313
315
|
// (cpp:3747 takes the world translation out of the STORED transposed matrix).
|
|
314
316
|
// Carbon's paired m_perObjectDataVs/m_perObjectDataPs GPU buffers are the
|
|
315
317
|
// engine's business; Invalidate on these records carries the same signal.
|
|
316
|
-
/** The ParentData Carbon builds on the stack for the decal pass
|
|
318
|
+
/** The ParentData Carbon builds on the stack for the decal pass
|
|
317
319
|
* (EveSpaceObject2.cpp:1696), held here so the pass does not allocate. */
|
|
318
320
|
#decalParentData = new IEveSpaceObject2ParentData();
|
|
319
321
|
#vsData = RawData.create("EveSpaceObjectVSData");
|
|
@@ -329,12 +331,12 @@ new class extends _identity {
|
|
|
329
331
|
this.mesh = mesh ?? null;
|
|
330
332
|
}
|
|
331
333
|
|
|
332
|
-
/**
|
|
333
|
-
* Links the authored controllers, pushes authored inherit properties down to
|
|
334
|
-
* the effect children and lights, and derives the impact overlay's damage
|
|
335
|
-
* locator count from the "damage" locator set - which Carbon does at build
|
|
336
|
-
* time - so a field-populated graph reaches the same live state as the
|
|
337
|
-
* authoring path.
|
|
334
|
+
/**
|
|
335
|
+
* Links the authored controllers, pushes authored inherit properties down to
|
|
336
|
+
* the effect children and lights, and derives the impact overlay's damage
|
|
337
|
+
* locator count from the "damage" locator set - which Carbon does at build
|
|
338
|
+
* time - so a field-populated graph reaches the same live state as the
|
|
339
|
+
* authoring path.
|
|
338
340
|
*/
|
|
339
341
|
Initialize() {
|
|
340
342
|
for (const controller of this.controllers) {
|
|
@@ -365,9 +367,9 @@ new class extends _identity {
|
|
|
365
367
|
return this.mesh;
|
|
366
368
|
}
|
|
367
369
|
|
|
368
|
-
/**
|
|
369
|
-
* Replaces the hull mesh; the cached area blocks are only rebuilt on the next
|
|
370
|
-
* batch call.
|
|
370
|
+
/**
|
|
371
|
+
* Replaces the hull mesh; the cached area blocks are only rebuilt on the next
|
|
372
|
+
* batch call.
|
|
371
373
|
*/
|
|
372
374
|
SetMesh(mesh) {
|
|
373
375
|
this.mesh = mesh ?? null;
|
|
@@ -378,33 +380,30 @@ new class extends _identity {
|
|
|
378
380
|
return this.overlayEffects;
|
|
379
381
|
}
|
|
380
382
|
|
|
381
|
-
/**
|
|
382
|
-
* Appends a controller, links it to this object when it is not already linked,
|
|
383
|
-
* and replays the current controller variables onto it.
|
|
383
|
+
/**
|
|
384
|
+
* Appends a controller, links it to this object when it is not already linked,
|
|
385
|
+
* and replays the current controller variables onto it.
|
|
384
386
|
*/
|
|
385
387
|
AddController(controller) {
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
controller?.Link(this);
|
|
389
|
-
}
|
|
390
|
-
_EveSpaceObject.#ApplyControllerVariables(controller, this.#controllerVariables, "SetVariable");
|
|
388
|
+
// The link and the variable replay are the INSERTED arm's (cpp:297-311).
|
|
389
|
+
CjsModel.addChild(this, "controllers", controller);
|
|
391
390
|
return controller;
|
|
392
391
|
}
|
|
393
392
|
|
|
394
|
-
/**
|
|
395
|
-
* Appends a placement observer, which is repositioned from the observer
|
|
396
|
-
* transform on every synchronous update; the observer is returned for
|
|
397
|
-
* chaining.
|
|
393
|
+
/**
|
|
394
|
+
* Appends a placement observer, which is repositioned from the observer
|
|
395
|
+
* transform on every synchronous update; the observer is returned for
|
|
396
|
+
* chaining.
|
|
398
397
|
*/
|
|
399
398
|
AddObserver(observer) {
|
|
400
399
|
this.observers.push(observer);
|
|
401
400
|
return observer;
|
|
402
401
|
}
|
|
403
402
|
|
|
404
|
-
/**
|
|
405
|
-
* Sets the colour set that effect children and lights inherit, creating the
|
|
406
|
-
* inherit-properties holder on first use, and pushes it to the existing
|
|
407
|
-
* children and lights.
|
|
403
|
+
/**
|
|
404
|
+
* Sets the colour set that effect children and lights inherit, creating the
|
|
405
|
+
* inherit-properties holder on first use, and pushes it to the existing
|
|
406
|
+
* children and lights.
|
|
408
407
|
*/
|
|
409
408
|
SetInheritProperties(colorSet) {
|
|
410
409
|
if (!this.inheritProperties) {
|
|
@@ -418,16 +417,16 @@ new class extends _identity {
|
|
|
418
417
|
#PropagateInheritProperties() {
|
|
419
418
|
const properties = this.inheritProperties.GetProperties();
|
|
420
419
|
for (const child of this.effectChildren) {
|
|
421
|
-
if (child
|
|
420
|
+
if (CjsSchema.cast(child, IEveInheritPropertiesOwner)) child.SetInheritProperties(properties);
|
|
422
421
|
}
|
|
423
422
|
for (const light of this.lights) {
|
|
424
|
-
if (light
|
|
423
|
+
if (CjsSchema.cast(light, IEveInheritPropertiesOwner)) light.SetInheritProperties(properties);
|
|
425
424
|
}
|
|
426
425
|
}
|
|
427
426
|
|
|
428
|
-
/**
|
|
429
|
-
* Returns the first effect child with the given name, or null when none
|
|
430
|
-
* matches.
|
|
427
|
+
/**
|
|
428
|
+
* Returns the first effect child with the given name, or null when none
|
|
429
|
+
* matches.
|
|
431
430
|
*/
|
|
432
431
|
GetEffectChildByName(name) {
|
|
433
432
|
const target = String(name ?? "");
|
|
@@ -439,56 +438,151 @@ new class extends _identity {
|
|
|
439
438
|
return null;
|
|
440
439
|
}
|
|
441
440
|
|
|
442
|
-
/**
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
*
|
|
441
|
+
/**
|
|
442
|
+
* Carbon OnListModified (EveSpaceObject2.cpp:291-469), the owner reacting to
|
|
443
|
+
* its own lists. Carbon installs itself on six of them at cpp:217-222 and the
|
|
444
|
+
* lists notify it; a JavaScript array has no notify slot, so the managed child
|
|
445
|
+
* mutation drives the same call.
|
|
446
|
+
*
|
|
447
|
+
* Controllers link and replay the recorded variables on insert, unlink on
|
|
448
|
+
* remove, and unlink every one on unload. Effect children take ownership,
|
|
449
|
+
* replay variables and register with the component registry; removal
|
|
450
|
+
* unregisters and clears ownership. Overlay effects replay variables only.
|
|
451
|
+
* Inherited properties reach a newly inserted child or light. The LightOwner
|
|
452
|
+
* component follows the list edges: registered on the first light, dropped on
|
|
453
|
+
* the last removal or an unload. Decals renumber their priorities, which is
|
|
454
|
+
* the one arm needing SWAPPED and MOVED.
|
|
455
|
+
*/
|
|
456
|
+
OnListModified(event, key = 0, key2 = 0, value = null, list = null) {
|
|
457
|
+
const masked = event & BLUELISTEVENT.BELIST_EVENTMASK;
|
|
458
|
+
const loading = (event & BLUELISTEVENT.BELIST_LOADING) !== 0;
|
|
459
|
+
if (list === this.controllers && !loading) {
|
|
460
|
+
if (masked === BLUELISTEVENT.BELIST_INSERTED && value) {
|
|
461
|
+
value.Link(this);
|
|
462
|
+
_EveSpaceObject.#ApplyControllerVariables(value, this.#controllerVariables, "SetVariable");
|
|
463
|
+
} else if (masked === BLUELISTEVENT.BELIST_REMOVED && value) value.Unlink();else if (masked === BLUELISTEVENT.BELIST_UNLOADSTART) {
|
|
464
|
+
for (const controller of this.controllers) controller.Unlink();
|
|
465
|
+
}
|
|
466
|
+
} else if (list === this.effectChildren && !loading) {
|
|
467
|
+
const registry = this.IsInRegistry() ? this.GetComponentRegistry() : null;
|
|
468
|
+
if (masked === BLUELISTEVENT.BELIST_INSERTED) {
|
|
469
|
+
value.SetOwner(this);
|
|
470
|
+
_EveSpaceObject.#ApplyControllerVariables(value, this.#controllerVariables, "SetControllerVariable");
|
|
471
|
+
// Carbon casts to EveEntityPtr before registering (cpp:333-341).
|
|
472
|
+
const inserted = registry ? CjsSchema.cast(value, _EveEntity) : null;
|
|
473
|
+
if (inserted) inserted.Register(registry);
|
|
474
|
+
} else if (masked === BLUELISTEVENT.BELIST_REMOVED) {
|
|
475
|
+
const removed = registry ? CjsSchema.cast(value, _EveEntity) : null;
|
|
476
|
+
if (removed) removed.UnRegister(registry);
|
|
477
|
+
value.SetOwner(null);
|
|
478
|
+
} else if (masked === BLUELISTEVENT.BELIST_UNLOADSTART) {
|
|
479
|
+
for (const child of this.effectChildren) {
|
|
480
|
+
const entity = registry ? CjsSchema.cast(child, _EveEntity) : null;
|
|
481
|
+
if (entity) entity.UnRegister(registry);
|
|
482
|
+
child.SetOwner(null);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
} else if (list === this.overlayEffects && !loading && masked === BLUELISTEVENT.BELIST_INSERTED) {
|
|
486
|
+
_EveSpaceObject.#ApplyControllerVariables(value, this.#controllerVariables, "SetControllerVariable");
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
// Independent of the LOADING guard above: inherited properties reach a
|
|
490
|
+
// child or light however it arrived (cpp:389-411).
|
|
491
|
+
if (masked === BLUELISTEVENT.BELIST_INSERTED && this.inheritProperties && (list === this.effectChildren || list === this.lights) && CjsSchema.cast(value, IEveInheritPropertiesOwner)) {
|
|
492
|
+
value.SetInheritProperties(this.inheritProperties.GetProperties());
|
|
493
|
+
}
|
|
494
|
+
if (list === this.lights) this.#OnLightListModified(masked);
|
|
495
|
+
if (list === this.decals) this.#OnDecalListModified(masked, key, key2);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Carbon cpp:413-431: the LightOwner component follows the list EDGES - the
|
|
500
|
+
* first light registers it, the last removal or an unload drops it. The same
|
|
501
|
+
* size rule RegisterComponents applies at registration time.
|
|
446
502
|
*/
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
503
|
+
#OnLightListModified(masked) {
|
|
504
|
+
const registry = this.GetComponentRegistry();
|
|
505
|
+
if (!registry) return;
|
|
506
|
+
if (masked === BLUELISTEVENT.BELIST_UNLOADSTART || masked === BLUELISTEVENT.BELIST_REMOVED && !this.lights.length) {
|
|
507
|
+
registry.UnRegisterComponent(EveComponentType.LightOwner, this);
|
|
508
|
+
} else if (masked === BLUELISTEVENT.BELIST_INSERTED && this.lights.length === 1) {
|
|
509
|
+
registry.RegisterComponent(EveComponentType.LightOwner, this);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Carbon cpp:433-468: a decal's priority IS its index, so every structural
|
|
515
|
+
* change renumbers from the affected position. The append special case is
|
|
516
|
+
* Carbon's own comment - "in case someone calls the append function of
|
|
517
|
+
* bluelist from python" - and it renumbers the last entry alone.
|
|
518
|
+
*/
|
|
519
|
+
#OnDecalListModified(masked, key, key2) {
|
|
520
|
+
const decals = this.decals;
|
|
521
|
+
if (masked === BLUELISTEVENT.BELIST_INSERTED && key === decals.length) {
|
|
522
|
+
decals[decals.length - 1]?.SetPriority(decals.length - 1);
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
if (masked === BLUELISTEVENT.BELIST_INSERTED || masked === BLUELISTEVENT.BELIST_REMOVED) {
|
|
526
|
+
for (let index = key; index < decals.length; index++) decals[index]?.SetPriority(index);
|
|
527
|
+
return;
|
|
450
528
|
}
|
|
451
|
-
|
|
452
|
-
|
|
529
|
+
if (masked === BLUELISTEVENT.BELIST_SWAPPED) {
|
|
530
|
+
decals[key]?.SetPriority(key);
|
|
531
|
+
decals[key2]?.SetPriority(key2);
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
if (masked === BLUELISTEVENT.BELIST_MOVED) {
|
|
535
|
+
const low = Math.min(key, key2);
|
|
536
|
+
const high = Math.max(key, key2);
|
|
537
|
+
for (let index = low; index <= high && index < decals.length; index++) decals[index]?.SetPriority(index);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Appends an effect child, first giving it the hull's inherited properties and
|
|
543
|
+
* then replaying the current controller variables onto it, so a late addition
|
|
544
|
+
* starts in the same state as the rest.
|
|
545
|
+
*/
|
|
546
|
+
AddToEffectChildrenList(child) {
|
|
547
|
+
// The ownership, the inherited properties and the variable replay are the
|
|
548
|
+
// INSERTED arm's (cpp:322-342), reached through the managed mutation.
|
|
549
|
+
CjsModel.addChild(this, "effectChildren", child);
|
|
453
550
|
this.InvalidateMergedLocators("structure");
|
|
454
|
-
_EveSpaceObject.#ApplyControllerVariables(child, this.#controllerVariables, "SetControllerVariable");
|
|
455
551
|
return child;
|
|
456
552
|
}
|
|
457
553
|
|
|
458
554
|
/** Appends a light, first giving it the hull's inherited properties. */
|
|
459
555
|
AddLight(light) {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
this.lights.push(light);
|
|
556
|
+
// The inherited properties and the LightOwner registration on the FIRST
|
|
557
|
+
// light are the hook's (cpp:402-431).
|
|
558
|
+
CjsModel.addChild(this, "lights", light);
|
|
464
559
|
}
|
|
465
560
|
|
|
466
|
-
/**
|
|
467
|
-
* Drops every light from the hull; component registration is not revisited
|
|
468
|
-
* here.
|
|
561
|
+
/**
|
|
562
|
+
* Drops every light from the hull; component registration is not revisited
|
|
563
|
+
* here.
|
|
469
564
|
*/
|
|
470
565
|
ClearLights() {
|
|
471
|
-
|
|
566
|
+
// UNLOADSTART, which is what drops the LightOwner component registration
|
|
567
|
+
// (cpp:413-421). Emptying the array by hand left it registered.
|
|
568
|
+
CjsModel.clearChildren(this, "lights");
|
|
472
569
|
}
|
|
473
570
|
|
|
474
|
-
/**
|
|
475
|
-
* Removes an effect child, returning false when it is not attached to this
|
|
476
|
-
* hull.
|
|
571
|
+
/**
|
|
572
|
+
* Removes an effect child, returning false when it is not attached to this
|
|
573
|
+
* hull.
|
|
477
574
|
*/
|
|
478
575
|
RemoveFromEffectChildrenList(child) {
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
}
|
|
483
|
-
this.effectChildren.splice(index, 1);
|
|
484
|
-
child.SetOwner(null);
|
|
576
|
+
// The unregister and the cleared ownership are the REMOVED arm's
|
|
577
|
+
// (cpp:343-353).
|
|
578
|
+
if (!CjsModel.removeChild(this, "effectChildren", child)) return false;
|
|
485
579
|
this.InvalidateMergedLocators("structure");
|
|
486
580
|
return true;
|
|
487
581
|
}
|
|
488
582
|
|
|
489
|
-
/**
|
|
490
|
-
* Sets the curve that rotates the model within the hull's ball rotation, or
|
|
491
|
-
* clears it when passed nothing.
|
|
583
|
+
/**
|
|
584
|
+
* Sets the curve that rotates the model within the hull's ball rotation, or
|
|
585
|
+
* clears it when passed nothing.
|
|
492
586
|
*/
|
|
493
587
|
SetModelRotationCurve(curve) {
|
|
494
588
|
this.modelRotationCurve = curve ?? null;
|
|
@@ -499,9 +593,9 @@ new class extends _identity {
|
|
|
499
593
|
return this.modelRotationCurve;
|
|
500
594
|
}
|
|
501
595
|
|
|
502
|
-
/**
|
|
503
|
-
* Sets the curve that offsets the model within the hull's ball position, or
|
|
504
|
-
* clears it when passed nothing.
|
|
596
|
+
/**
|
|
597
|
+
* Sets the curve that offsets the model within the hull's ball position, or
|
|
598
|
+
* clears it when passed nothing.
|
|
505
599
|
*/
|
|
506
600
|
SetModelTranslationCurve(curve) {
|
|
507
601
|
this.modelTranslationCurve = curve ?? null;
|
|
@@ -512,10 +606,10 @@ new class extends _identity {
|
|
|
512
606
|
return this.modelTranslationCurve;
|
|
513
607
|
}
|
|
514
608
|
|
|
515
|
-
/**
|
|
516
|
-
* Rebuilds the hull world transform for a frame from the ball position and rotation curves plus the optional model translation and rotation curves, applies modelScale as a uniform scale, then refreshes the inverse transform and the world bounds; the previous world transform is kept for motion vectors and the world velocity comes from the position curve's derivative.
|
|
517
|
-
* @param {number} time Frame time; repeating the previous call's time is a no-op.
|
|
518
|
-
* @returns {boolean} False when the transform had already been built for this time.
|
|
609
|
+
/**
|
|
610
|
+
* Rebuilds the hull world transform for a frame from the ball position and rotation curves plus the optional model translation and rotation curves, applies modelScale as a uniform scale, then refreshes the inverse transform and the world bounds; the previous world transform is kept for motion vectors and the world velocity comes from the position curve's derivative.
|
|
611
|
+
* @param {number} time Frame time; repeating the previous call's time is a no-op.
|
|
612
|
+
* @returns {boolean} False when the transform had already been built for this time.
|
|
519
613
|
*/
|
|
520
614
|
UpdateWorldTransform(time) {
|
|
521
615
|
const nextTime = Number(time) || 0;
|
|
@@ -569,9 +663,9 @@ new class extends _identity {
|
|
|
569
663
|
return true;
|
|
570
664
|
}
|
|
571
665
|
|
|
572
|
-
/**
|
|
573
|
-
* Refreshes Carbon's realized world-space sphere from the dynamic skinned
|
|
574
|
-
* sphere when available, otherwise from the authored local sphere.
|
|
666
|
+
/**
|
|
667
|
+
* Refreshes Carbon's realized world-space sphere from the dynamic skinned
|
|
668
|
+
* sphere when available, otherwise from the authored local sphere.
|
|
575
669
|
*/
|
|
576
670
|
UpdateWorldBounds() {
|
|
577
671
|
const updater = this.animationUpdater;
|
|
@@ -589,10 +683,10 @@ new class extends _identity {
|
|
|
589
683
|
}
|
|
590
684
|
}
|
|
591
685
|
|
|
592
|
-
/**
|
|
593
|
-
* Carbon EveSpaceObject2::PrepareShaderData (cpp:734-763): refreshes the
|
|
594
|
-
* world bounds, packs the ship data, and derives the clip-sphere dissolve
|
|
595
|
-
* values into the persistent per-object records.
|
|
686
|
+
/**
|
|
687
|
+
* Carbon EveSpaceObject2::PrepareShaderData (cpp:734-763): refreshes the
|
|
688
|
+
* world bounds, packs the ship data, and derives the clip-sphere dissolve
|
|
689
|
+
* values into the persistent per-object records.
|
|
596
690
|
*/
|
|
597
691
|
PrepareShaderData(updateContext = null) {
|
|
598
692
|
this.UpdateWorldBounds();
|
|
@@ -622,14 +716,14 @@ new class extends _identity {
|
|
|
622
716
|
this.#psData.Set("clipSphereFactor2", [this.clipSphereFactor2]);
|
|
623
717
|
}
|
|
624
718
|
|
|
625
|
-
/**
|
|
626
|
-
* Carbon EveSpaceObject2::UpdateShLighting (cpp:1411-1421): asks the scene's
|
|
627
|
-
* SH lighting manager for this hull's secondary-lighting coefficients, faded
|
|
628
|
-
* in across the low-detail threshold so a hull entering that range does not
|
|
629
|
-
* pop. The coefficients are cleared first, which is also what leaves the
|
|
630
|
-
* unwritten tail zero on the L1 path.
|
|
631
|
-
* @param {Object} manager - Tr2ShLightingManager
|
|
632
|
-
* @param {Object} [updateContext] - frame context, for the detail thresholds
|
|
719
|
+
/**
|
|
720
|
+
* Carbon EveSpaceObject2::UpdateShLighting (cpp:1411-1421): asks the scene's
|
|
721
|
+
* SH lighting manager for this hull's secondary-lighting coefficients, faded
|
|
722
|
+
* in across the low-detail threshold so a hull entering that range does not
|
|
723
|
+
* pop. The coefficients are cleared first, which is also what leaves the
|
|
724
|
+
* unwritten tail zero on the L1 path.
|
|
725
|
+
* @param {Object} manager - Tr2ShLightingManager
|
|
726
|
+
* @param {Object} [updateContext] - frame context, for the detail thresholds
|
|
633
727
|
*/
|
|
634
728
|
UpdateShLighting(manager, updateContext = null) {
|
|
635
729
|
const coefficients = this.#psData.Get("shLightingCoefficients");
|
|
@@ -645,21 +739,21 @@ new class extends _identity {
|
|
|
645
739
|
return true;
|
|
646
740
|
}
|
|
647
741
|
|
|
648
|
-
/**
|
|
649
|
-
* Carbon EveSpaceObject2::ClearShLighting (cpp:1423-1426): drops this hull's
|
|
650
|
-
* secondary-lighting contribution back to nothing.
|
|
742
|
+
/**
|
|
743
|
+
* Carbon EveSpaceObject2::ClearShLighting (cpp:1423-1426): drops this hull's
|
|
744
|
+
* secondary-lighting contribution back to nothing.
|
|
651
745
|
*/
|
|
652
746
|
ClearShLighting() {
|
|
653
747
|
this.#psData.Get("shLightingCoefficients").fill(0);
|
|
654
748
|
return true;
|
|
655
749
|
}
|
|
656
750
|
|
|
657
|
-
/**
|
|
658
|
-
* Carbon EveSpaceObject2::GetParentData (cpp:1872-1885): the values an
|
|
659
|
-
* attachment needs from its hull. `shLighting` is a LIVE view into the PS
|
|
660
|
-
* record, exactly as Carbon hands out a raw pointer into m_psData - an
|
|
661
|
-
* attachment reading it sees the hull's current coefficients.
|
|
662
|
-
* @param {Object} [out] - caller-owned record, refreshed in place
|
|
751
|
+
/**
|
|
752
|
+
* Carbon EveSpaceObject2::GetParentData (cpp:1872-1885): the values an
|
|
753
|
+
* attachment needs from its hull. `shLighting` is a LIVE view into the PS
|
|
754
|
+
* record, exactly as Carbon hands out a raw pointer into m_psData - an
|
|
755
|
+
* attachment reading it sees the hull's current coefficients.
|
|
756
|
+
* @param {Object} [out] - caller-owned record, refreshed in place
|
|
663
757
|
*/
|
|
664
758
|
GetParentData(out = new IEveSpaceObject2ParentData()) {
|
|
665
759
|
mat4.copy(out.transform, this.worldTransform);
|
|
@@ -676,11 +770,11 @@ new class extends _identity {
|
|
|
676
770
|
return out;
|
|
677
771
|
}
|
|
678
772
|
|
|
679
|
-
/**
|
|
680
|
-
* Carbon EveSpaceObject2::GetPerObjectStructs (cpp:1485-1490): hands a copy
|
|
681
|
-
* of both records to a caller, with the VS record's customData taken from the
|
|
682
|
-
* PS record as Carbon does.
|
|
683
|
-
* @returns {{vs: RawData, ps: RawData}} independent copies, not live records
|
|
773
|
+
/**
|
|
774
|
+
* Carbon EveSpaceObject2::GetPerObjectStructs (cpp:1485-1490): hands a copy
|
|
775
|
+
* of both records to a caller, with the VS record's customData taken from the
|
|
776
|
+
* PS record as Carbon does.
|
|
777
|
+
* @returns {{vs: RawData, ps: RawData}} independent copies, not live records
|
|
684
778
|
*/
|
|
685
779
|
GetPerObjectStructs(vsData = RawData.create("EveSpaceObjectVSData"), psData = RawData.create("EveSpaceObjectPSData")) {
|
|
686
780
|
vsData.CopyFrom(this.#vsData);
|
|
@@ -692,9 +786,9 @@ new class extends _identity {
|
|
|
692
786
|
};
|
|
693
787
|
}
|
|
694
788
|
|
|
695
|
-
/**
|
|
696
|
-
* Refreshes the world transform, then - when the update flag is on - places the observers, stamps the LOD-gated curve clock while advancing the overlay effects, runs the effect children's synchronous pass with the current placement, and updates the impact overlay; the overlay effects receive the context time as both clocks, as Carbon does.
|
|
697
|
-
* @returns {boolean} False when the update flag is off; the world transform is refreshed either way.
|
|
789
|
+
/**
|
|
790
|
+
* Refreshes the world transform, then - when the update flag is on - places the observers, stamps the LOD-gated curve clock while advancing the overlay effects, runs the effect children's synchronous pass with the current placement, and updates the impact overlay; the overlay effects receive the context time as both clocks, as Carbon does.
|
|
791
|
+
* @returns {boolean} False when the update flag is off; the world transform is refreshed either way.
|
|
698
792
|
*/
|
|
699
793
|
UpdateSyncronous(updateContext = null) {
|
|
700
794
|
const time = _EveSpaceObject.#GetContextValue(updateContext, "GetTime", "currentTime", "time");
|
|
@@ -735,9 +829,9 @@ new class extends _identity {
|
|
|
735
829
|
return true;
|
|
736
830
|
}
|
|
737
831
|
|
|
738
|
-
/**
|
|
739
|
-
* Runs the controllers at a frequency derived from the hull's estimated pixel diameter against the context's high-detail threshold, advances the object curve sets only on frames the synchronous LOD gate stamped, then updates the transform children, the effect children and the impact overlay.
|
|
740
|
-
* @returns {number} The controller update frequency in 0..1, which is also handed to the effect children; 0 when the hull is not visible or the update flag is off.
|
|
832
|
+
/**
|
|
833
|
+
* Runs the controllers at a frequency derived from the hull's estimated pixel diameter against the context's high-detail threshold, advances the object curve sets only on frames the synchronous LOD gate stamped, then updates the transform children, the effect children and the impact overlay.
|
|
834
|
+
* @returns {number} The controller update frequency in 0..1, which is also handed to the effect children; 0 when the hull is not visible or the update flag is off.
|
|
741
835
|
*/
|
|
742
836
|
UpdateAsyncronous(updateContext = null) {
|
|
743
837
|
if (!this.update) {
|
|
@@ -814,9 +908,9 @@ new class extends _identity {
|
|
|
814
908
|
return frequency;
|
|
815
909
|
}
|
|
816
910
|
|
|
817
|
-
/**
|
|
818
|
-
* Updates Carbon's visibility, pixel-size, and mesh-LOD state, then forwards
|
|
819
|
-
* visibility to the explicitly owned visual branches.
|
|
911
|
+
/**
|
|
912
|
+
* Updates Carbon's visibility, pixel-size, and mesh-LOD state, then forwards
|
|
913
|
+
* visibility to the explicitly owned visual branches.
|
|
820
914
|
*/
|
|
821
915
|
UpdateVisibility(updateContext = null, _parentTransform = _EveSpaceObject.#identityTransform) {
|
|
822
916
|
this.isVisible = false;
|
|
@@ -925,10 +1019,10 @@ new class extends _identity {
|
|
|
925
1019
|
return out;
|
|
926
1020
|
}
|
|
927
1021
|
|
|
928
|
-
/** Carbon ITr2Renderable contract (EveSpaceObject2.cpp:1097-1140): activated
|
|
929
|
-
* attachments recurse, the impact overlay contributes, the hull mesh delegates
|
|
930
|
-
* per batch type, and TRANSPARENT routes through the distance-sorted area
|
|
931
|
-
* path. GetBatchesFromOverlayVector (precomputed overlay area blocks) is
|
|
1022
|
+
/** Carbon ITr2Renderable contract (EveSpaceObject2.cpp:1097-1140): activated
|
|
1023
|
+
* attachments recurse, the impact overlay contributes, the hull mesh delegates
|
|
1024
|
+
* per batch type, and TRANSPARENT routes through the distance-sorted area
|
|
1025
|
+
* path. GetBatchesFromOverlayVector (precomputed overlay area blocks) is
|
|
932
1026
|
* deferred with the overlay realization work. */
|
|
933
1027
|
GetBatches(batches, batchType, perObjectData, reason, renderContext = null) {
|
|
934
1028
|
if (!this.mesh) return false;
|
|
@@ -968,11 +1062,11 @@ new class extends _identity {
|
|
|
968
1062
|
// from the geometry resource when it exposes them; a failed lookup keeps
|
|
969
1063
|
// Carbon's origin-center fallback.
|
|
970
1064
|
|
|
971
|
-
/**
|
|
972
|
-
* Commits the mesh's transparent areas back-to-front, ordering them by the
|
|
973
|
-
* squared distance from the view position to each area's world-space
|
|
974
|
-
* bounding-box center and falling back to the object origin when the geometry
|
|
975
|
-
* resource cannot supply a box.
|
|
1065
|
+
/**
|
|
1066
|
+
* Commits the mesh's transparent areas back-to-front, ordering them by the
|
|
1067
|
+
* squared distance from the view position to each area's world-space
|
|
1068
|
+
* bounding-box center and falling back to the object origin when the geometry
|
|
1069
|
+
* resource cannot supply a box.
|
|
976
1070
|
*/
|
|
977
1071
|
#GetSortedTransparentBatches(areas, batches, perObjectData, renderContext) {
|
|
978
1072
|
const geometry = this.mesh.GetGeometryResource() ?? null;
|
|
@@ -1010,10 +1104,10 @@ new class extends _identity {
|
|
|
1010
1104
|
}
|
|
1011
1105
|
}
|
|
1012
1106
|
|
|
1013
|
-
/** Rebuilds the cached overlay/shadow area-block lists from the current mesh
|
|
1014
|
-
* (Carbon RebuildCachedData, EveSpaceObject2.cpp:2077-2097, triggered there by
|
|
1015
|
-
* the geometry-resource load callback). TYPE_ALL = shadow-casting OPAQUE +
|
|
1016
|
-
* TRANSPARENT + DECAL areas; TYPE_OPAQUEONLY = shadow-casting OPAQUE; the
|
|
1107
|
+
/** Rebuilds the cached overlay/shadow area-block lists from the current mesh
|
|
1108
|
+
* (Carbon RebuildCachedData, EveSpaceObject2.cpp:2077-2097, triggered there by
|
|
1109
|
+
* the geometry-resource load callback). TYPE_ALL = shadow-casting OPAQUE +
|
|
1110
|
+
* TRANSPARENT + DECAL areas; TYPE_OPAQUEONLY = shadow-casting OPAQUE; the
|
|
1017
1111
|
* shadow list groups OPAQUE areas by shared material. All coalesced. */
|
|
1018
1112
|
RebuildCachedData() {
|
|
1019
1113
|
this.ReleaseCachedData();
|
|
@@ -1033,9 +1127,9 @@ new class extends _identity {
|
|
|
1033
1127
|
this.#cachedAreaBlocksBuilt = true;
|
|
1034
1128
|
}
|
|
1035
1129
|
|
|
1036
|
-
/**
|
|
1037
|
-
* Drops the cached overlay and shadow area-block lists so the next batch call
|
|
1038
|
-
* rebuilds them from the current mesh.
|
|
1130
|
+
/**
|
|
1131
|
+
* Drops the cached overlay and shadow area-block lists so the next batch call
|
|
1132
|
+
* rebuilds them from the current mesh.
|
|
1039
1133
|
*/
|
|
1040
1134
|
ReleaseCachedData() {
|
|
1041
1135
|
for (const blocks of this.#overlayMeshAreaBlocks) {
|
|
@@ -1045,25 +1139,25 @@ new class extends _identity {
|
|
|
1045
1139
|
this.#cachedAreaBlocksBuilt = false;
|
|
1046
1140
|
}
|
|
1047
1141
|
|
|
1048
|
-
/**
|
|
1049
|
-
* Rebuilds the cached area blocks on first use when a mesh is attached; Carbon
|
|
1050
|
-
* instead rebuilds them from the geometry-resource load callback.
|
|
1142
|
+
/**
|
|
1143
|
+
* Rebuilds the cached area blocks on first use when a mesh is attached; Carbon
|
|
1144
|
+
* instead rebuilds them from the geometry-resource load callback.
|
|
1051
1145
|
*/
|
|
1052
1146
|
#EnsureCachedAreaBlocks() {
|
|
1053
1147
|
if (!this.#cachedAreaBlocksBuilt && this.mesh) this.RebuildCachedData();
|
|
1054
1148
|
}
|
|
1055
1149
|
|
|
1056
|
-
/**
|
|
1057
|
-
* Carbon EveSpaceObject2::GetPickingBatches (cpp:3645-3675): collects the
|
|
1058
|
-
* geometry a pick pass should test, by mask. It is ordinary batch collection
|
|
1059
|
-
* - the pick itself is an engine pass that renders these and reads IDs back.
|
|
1060
|
-
*
|
|
1061
|
-
* The OPAQUE bit deliberately pulls in the transparent and additive OVERLAY
|
|
1062
|
-
* effects too, so a cloaking hull stays pickable.
|
|
1063
|
-
*
|
|
1064
|
-
* @param {Object} batches - the picking accumulator
|
|
1065
|
-
* @param {Number} pickTypes - a Tr2PickType mask
|
|
1066
|
-
* @param {Object} perObjectData - this hull's per-object record
|
|
1150
|
+
/**
|
|
1151
|
+
* Carbon EveSpaceObject2::GetPickingBatches (cpp:3645-3675): collects the
|
|
1152
|
+
* geometry a pick pass should test, by mask. It is ordinary batch collection
|
|
1153
|
+
* - the pick itself is an engine pass that renders these and reads IDs back.
|
|
1154
|
+
*
|
|
1155
|
+
* The OPAQUE bit deliberately pulls in the transparent and additive OVERLAY
|
|
1156
|
+
* effects too, so a cloaking hull stays pickable.
|
|
1157
|
+
*
|
|
1158
|
+
* @param {Object} batches - the picking accumulator
|
|
1159
|
+
* @param {Number} pickTypes - a Tr2PickType mask
|
|
1160
|
+
* @param {Object} perObjectData - this hull's per-object record
|
|
1067
1161
|
*/
|
|
1068
1162
|
GetPickingBatches(batches, pickTypes = TR2_PICK_TYPE_DEFAULT, perObjectData = null) {
|
|
1069
1163
|
if (pickTypes & Tr2PickType.PICK_TYPE_PICKING) {
|
|
@@ -1092,21 +1186,21 @@ new class extends _identity {
|
|
|
1092
1186
|
return true;
|
|
1093
1187
|
}
|
|
1094
1188
|
|
|
1095
|
-
/**
|
|
1096
|
-
* Carbon EveSpaceObject2::GetID (cpp:3640-3643): a picked area resolves to
|
|
1097
|
-
* the hull itself, so the area index is deliberately ignored.
|
|
1098
|
-
* @param {Number} [_areaID] - the picked area, unused by this class
|
|
1099
|
-
* @returns {EveSpaceObject2} this
|
|
1189
|
+
/**
|
|
1190
|
+
* Carbon EveSpaceObject2::GetID (cpp:3640-3643): a picked area resolves to
|
|
1191
|
+
* the hull itself, so the area index is deliberately ignored.
|
|
1192
|
+
* @param {Number} [_areaID] - the picked area, unused by this class
|
|
1193
|
+
* @returns {EveSpaceObject2} this
|
|
1100
1194
|
*/
|
|
1101
1195
|
GetID(_areaID = 0) {
|
|
1102
1196
|
return this;
|
|
1103
1197
|
}
|
|
1104
1198
|
|
|
1105
|
-
/** Carbon GetShadowBatches (EveSpaceObject2.cpp:1143-1184): one batch per
|
|
1106
|
-
* cached shared-material OPAQUE area block, using the area's own material.
|
|
1107
|
-
* Carbon bakes
|
|
1108
|
-
*
|
|
1109
|
-
* until
|
|
1199
|
+
/** Carbon GetShadowBatches (EveSpaceObject2.cpp:1143-1184): one batch per
|
|
1200
|
+
* cached shared-material OPAQUE area block, using the area's own material.
|
|
1201
|
+
* Carbon bakes LOD draw args at this point; doing the same is not ported, so
|
|
1202
|
+
* they travel as a geometry source descriptor and shadowPixelSize goes unused
|
|
1203
|
+
* until LOD selection is ported. */
|
|
1110
1204
|
GetShadowBatches(batches, perObjectData, _shadowPixelSize) {
|
|
1111
1205
|
if (!this.mesh || this.mesh.display === false) return false;
|
|
1112
1206
|
this.#EnsureCachedAreaBlocks();
|
|
@@ -1128,10 +1222,10 @@ new class extends _identity {
|
|
|
1128
1222
|
return committed;
|
|
1129
1223
|
}
|
|
1130
1224
|
|
|
1131
|
-
/** Carbon GetBatchesFromOverlayVector (EveSpaceObject2.cpp:1199-1285): the
|
|
1132
|
-
* impact overlay's armor-damage shader draws over the TYPE_ALL blocks at
|
|
1133
|
-
* maximum priority; each displayed overlay effect draws its per-batch-type
|
|
1134
|
-
* effects over its overlay-type blocks (OPAQUE -> TYPE_OPAQUEONLY, everything
|
|
1225
|
+
/** Carbon GetBatchesFromOverlayVector (EveSpaceObject2.cpp:1199-1285): the
|
|
1226
|
+
* impact overlay's armor-damage shader draws over the TYPE_ALL blocks at
|
|
1227
|
+
* maximum priority; each displayed overlay effect draws its per-batch-type
|
|
1228
|
+
* effects over its overlay-type blocks (OPAQUE -> TYPE_OPAQUEONLY, everything
|
|
1135
1229
|
* else -> TYPE_ALL). */
|
|
1136
1230
|
GetBatchesFromOverlayVector(batches, perObjectData, batchType, mesh) {
|
|
1137
1231
|
const impactEffect = this.impactOverlay?.GetArmorDamageShader?.(batchType) ?? null;
|
|
@@ -1176,10 +1270,10 @@ new class extends _identity {
|
|
|
1176
1270
|
return (batches.GetBatchCount?.() ?? 0) > committedBefore;
|
|
1177
1271
|
}
|
|
1178
1272
|
|
|
1179
|
-
/**
|
|
1180
|
-
* Builds and commits one render batch drawing a single cached area block with
|
|
1181
|
-
* the given material and optional priority, skipping the block when the
|
|
1182
|
-
* material yields no valid batch.
|
|
1273
|
+
/**
|
|
1274
|
+
* Builds and commits one render batch drawing a single cached area block with
|
|
1275
|
+
* the given material and optional priority, skipping the block when the
|
|
1276
|
+
* material yields no valid batch.
|
|
1183
1277
|
*/
|
|
1184
1278
|
#CommitBlockBatch(batches, material, geometry, meshIndex, block, perObjectData, priority, lod, vertexDeclaration) {
|
|
1185
1279
|
const batch = new Tr2RenderBatch();
|
|
@@ -1197,18 +1291,18 @@ new class extends _identity {
|
|
|
1197
1291
|
|
|
1198
1292
|
// EveMeshOverlayEffect::GetEffects (display-gated, per batch type).
|
|
1199
1293
|
|
|
1200
|
-
/**
|
|
1201
|
-
* Returns an overlay effect's display-gated effect list for a batch type, or
|
|
1202
|
-
* null when it contributes none.
|
|
1294
|
+
/**
|
|
1295
|
+
* Returns an overlay effect's display-gated effect list for a batch type, or
|
|
1296
|
+
* null when it contributes none.
|
|
1203
1297
|
*/
|
|
1204
1298
|
#OverlayEffectsFor(overlay, batchType) {
|
|
1205
1299
|
return overlay?.GetEffects?.(batchType) ?? null;
|
|
1206
1300
|
}
|
|
1207
1301
|
|
|
1208
|
-
/**
|
|
1209
|
-
* Reports whether the hull mesh has transparent areas or any overlay effect
|
|
1210
|
-
* does, which tells the renderer to route this object through the sorted
|
|
1211
|
-
* transparent pass.
|
|
1302
|
+
/**
|
|
1303
|
+
* Reports whether the hull mesh has transparent areas or any overlay effect
|
|
1304
|
+
* does, which tells the renderer to route this object through the sorted
|
|
1305
|
+
* transparent pass.
|
|
1212
1306
|
*/
|
|
1213
1307
|
HasTransparentBatches() {
|
|
1214
1308
|
if (!this.mesh) return false;
|
|
@@ -1219,9 +1313,9 @@ new class extends _identity {
|
|
|
1219
1313
|
return false;
|
|
1220
1314
|
}
|
|
1221
1315
|
|
|
1222
|
-
/**
|
|
1223
|
-
* Returns the distance from the render context's view position to the hull
|
|
1224
|
-
* world translation, used to order transparent renderables back-to-front.
|
|
1316
|
+
/**
|
|
1317
|
+
* Returns the distance from the render context's view position to the hull
|
|
1318
|
+
* world translation, used to order transparent renderables back-to-front.
|
|
1225
1319
|
*/
|
|
1226
1320
|
GetSortValue(renderContext = null) {
|
|
1227
1321
|
const viewPosition = renderContext?.GetViewPosition();
|
|
@@ -1231,9 +1325,9 @@ new class extends _identity {
|
|
|
1231
1325
|
return Math.hypot(x, y, z);
|
|
1232
1326
|
}
|
|
1233
1327
|
|
|
1234
|
-
/** Carbon allocates Tr2PerObjectDataWithPersistentBuffers<EveSpaceObject2>.
|
|
1235
|
-
* This port retains persistent VS/PS RawData and returns those records
|
|
1236
|
-
* directly. GPU-derived bone-ring offsets remain at their CPU defaults until
|
|
1328
|
+
/** Carbon allocates Tr2PerObjectDataWithPersistentBuffers<EveSpaceObject2>.
|
|
1329
|
+
* This port retains persistent VS/PS RawData and returns those records
|
|
1330
|
+
* directly. GPU-derived bone-ring offsets remain at their CPU defaults until
|
|
1237
1331
|
* an engine supplies them; other CPU-known values are already encoded. */
|
|
1238
1332
|
GetPerObjectData(_accumulator = null) {
|
|
1239
1333
|
// Carbon cpp:1437-1445: the bone ring is uploaded and its OFFSETS stamped
|
|
@@ -1257,13 +1351,13 @@ new class extends _identity {
|
|
|
1257
1351
|
return this.GetPerObjectData(accumulator);
|
|
1258
1352
|
}
|
|
1259
1353
|
|
|
1260
|
-
/** Carbon EveSpaceObject2::GetLights (cpp:3536-3555): display gate only
|
|
1261
|
-
* (no lights-empty early-out, unlike EveChildMesh), then per light
|
|
1262
|
-
* AddLight(manager, worldTransform, 1, bones, boneCount) FOLLOWED by
|
|
1263
|
-
* SetBrightnessMultiplier(m_activationStrength) - the order is contract:
|
|
1264
|
-
* the submission uses the multiplier stamped on the PREVIOUS pass (first
|
|
1265
|
-
* pass uses the Tr2Light default 1) - one frame of activation-strength
|
|
1266
|
-
* lag, preserved verbatim. cpp:3554's dead `DisplayChildren()` local is
|
|
1354
|
+
/** Carbon EveSpaceObject2::GetLights (cpp:3536-3555): display gate only
|
|
1355
|
+
* (no lights-empty early-out, unlike EveChildMesh), then per light
|
|
1356
|
+
* AddLight(manager, worldTransform, 1, bones, boneCount) FOLLOWED by
|
|
1357
|
+
* SetBrightnessMultiplier(m_activationStrength) - the order is contract:
|
|
1358
|
+
* the submission uses the multiplier stamped on the PREVIOUS pass (first
|
|
1359
|
+
* pass uses the Tr2Light default 1) - one frame of activation-strength
|
|
1360
|
+
* lag, preserved verbatim. cpp:3554's dead `DisplayChildren()` local is
|
|
1267
1361
|
* not ported. */
|
|
1268
1362
|
GetLights(lightManager) {
|
|
1269
1363
|
if (!this.display) {
|
|
@@ -1282,11 +1376,11 @@ new class extends _identity {
|
|
|
1282
1376
|
}
|
|
1283
1377
|
}
|
|
1284
1378
|
|
|
1285
|
-
/**
|
|
1286
|
-
* Carbon EveSpaceObject2::IsCastingShadow (cpp:2252-2274): applies the
|
|
1287
|
-
* display, world-sphere and reflection gates, then tests the realized sphere
|
|
1288
|
-
* against the supplied shadow frustum. Carbon's float& result is represented
|
|
1289
|
-
* by an optional length-one array.
|
|
1379
|
+
/**
|
|
1380
|
+
* Carbon EveSpaceObject2::IsCastingShadow (cpp:2252-2274): applies the
|
|
1381
|
+
* display, world-sphere and reflection gates, then tests the realized sphere
|
|
1382
|
+
* against the supplied shadow frustum. Carbon's float& result is represented
|
|
1383
|
+
* by an optional length-one array.
|
|
1290
1384
|
*/
|
|
1291
1385
|
IsCastingShadow(cameraFrustum, shadowFrustum, renderReason, sizeInShadowOut = null) {
|
|
1292
1386
|
if (!this.display || this.#boundingSphereWorldRadius <= 0) {
|
|
@@ -1309,9 +1403,9 @@ new class extends _identity {
|
|
|
1309
1403
|
return sizeInShadow > 15;
|
|
1310
1404
|
}
|
|
1311
1405
|
|
|
1312
|
-
/** Carbon EveSpaceObject2::RegisterComponents (cpp:3568-3609): registers its
|
|
1313
|
-
* own components and its children with the scene registration container "so
|
|
1314
|
-
* we don't have to traverse the tree every frame". RegisterAudioGeometry
|
|
1406
|
+
/** Carbon EveSpaceObject2::RegisterComponents (cpp:3568-3609): registers its
|
|
1407
|
+
* own components and its children with the scene registration container "so
|
|
1408
|
+
* we don't have to traverse the tree every frame". RegisterAudioGeometry
|
|
1315
1409
|
* (cpp:3572-3575) is audio-engine-owned and unported. Gate m_display. */
|
|
1316
1410
|
RegisterComponents() {
|
|
1317
1411
|
const registry = this.GetComponentRegistry();
|
|
@@ -1334,10 +1428,10 @@ new class extends _identity {
|
|
|
1334
1428
|
}
|
|
1335
1429
|
}
|
|
1336
1430
|
|
|
1337
|
-
/** Carbon EveSpaceObject2::UnRegisterComponents (cpp:3615-3638): forwards
|
|
1338
|
-
* the un-registration to the children only - EveEntity::UnRegister already
|
|
1339
|
-
* called UnRegisterAllComponents(this) first (EveEntity.cpp:90) - and does
|
|
1340
|
-
* not re-check display. UnregisterAudioGeometry (cpp:3617) is
|
|
1431
|
+
/** Carbon EveSpaceObject2::UnRegisterComponents (cpp:3615-3638): forwards
|
|
1432
|
+
* the un-registration to the children only - EveEntity::UnRegister already
|
|
1433
|
+
* called UnRegisterAllComponents(this) first (EveEntity.cpp:90) - and does
|
|
1434
|
+
* not re-check display. UnregisterAudioGeometry (cpp:3617) is
|
|
1341
1435
|
* audio-engine-owned and unported. */
|
|
1342
1436
|
UnRegisterComponents() {
|
|
1343
1437
|
const registry = this.GetComponentRegistry();
|
|
@@ -1351,25 +1445,25 @@ new class extends _identity {
|
|
|
1351
1445
|
}
|
|
1352
1446
|
}
|
|
1353
1447
|
|
|
1354
|
-
/**
|
|
1355
|
-
* Reports whether children and effect children should be shown; always true on
|
|
1356
|
-
* the base hull, subclasses gate it on activation state.
|
|
1448
|
+
/**
|
|
1449
|
+
* Reports whether children and effect children should be shown; always true on
|
|
1450
|
+
* the base hull, subclasses gate it on activation state.
|
|
1357
1451
|
*/
|
|
1358
1452
|
DisplayChildren() {
|
|
1359
1453
|
return true;
|
|
1360
1454
|
}
|
|
1361
1455
|
|
|
1362
|
-
/**
|
|
1363
|
-
* Returns the transform placement observers are attached to - the live hull
|
|
1364
|
-
* world transform.
|
|
1456
|
+
/**
|
|
1457
|
+
* Returns the transform placement observers are attached to - the live hull
|
|
1458
|
+
* world transform.
|
|
1365
1459
|
*/
|
|
1366
1460
|
GetObserverTransform() {
|
|
1367
1461
|
return this.worldTransform;
|
|
1368
1462
|
}
|
|
1369
1463
|
|
|
1370
|
-
/**
|
|
1371
|
-
* Returns the transform effect children are placed against - the live hull
|
|
1372
|
-
* world transform, not a copy.
|
|
1464
|
+
/**
|
|
1465
|
+
* Returns the transform effect children are placed against - the live hull
|
|
1466
|
+
* world transform, not a copy.
|
|
1373
1467
|
*/
|
|
1374
1468
|
GetLocalToWorldTransform() {
|
|
1375
1469
|
return this.worldTransform;
|
|
@@ -1380,26 +1474,26 @@ new class extends _identity {
|
|
|
1380
1474
|
vec3.transformMat4(out, this.boundingSphereCenter, this.worldTransform);
|
|
1381
1475
|
}
|
|
1382
1476
|
|
|
1383
|
-
/**
|
|
1384
|
-
* Returns the live curve-sampled ball position; the array is the object's own
|
|
1385
|
-
* field and is rewritten by the next transform update.
|
|
1477
|
+
/**
|
|
1478
|
+
* Returns the live curve-sampled ball position; the array is the object's own
|
|
1479
|
+
* field and is rewritten by the next transform update.
|
|
1386
1480
|
*/
|
|
1387
1481
|
GetWorldPosition() {
|
|
1388
1482
|
return this.worldPosition;
|
|
1389
1483
|
}
|
|
1390
1484
|
|
|
1391
|
-
/**
|
|
1392
|
-
* Returns the live curve-sampled ball rotation, which excludes the model
|
|
1393
|
-
* rotation curve; the quaternion is the object's own field and is rewritten by
|
|
1394
|
-
* the next transform update.
|
|
1485
|
+
/**
|
|
1486
|
+
* Returns the live curve-sampled ball rotation, which excludes the model
|
|
1487
|
+
* rotation curve; the quaternion is the object's own field and is rewritten by
|
|
1488
|
+
* the next transform update.
|
|
1395
1489
|
*/
|
|
1396
1490
|
GetWorldRotation() {
|
|
1397
1491
|
return this.worldRotation;
|
|
1398
1492
|
}
|
|
1399
1493
|
|
|
1400
|
-
/**
|
|
1401
|
-
* Finds a sound emitter by observer name on this hull and then recursively in
|
|
1402
|
-
* the effect children, returning null when no emitter carries the name.
|
|
1494
|
+
/**
|
|
1495
|
+
* Finds a sound emitter by observer name on this hull and then recursively in
|
|
1496
|
+
* the effect children, returning null when no emitter carries the name.
|
|
1403
1497
|
*/
|
|
1404
1498
|
FindSoundEmitter(name) {
|
|
1405
1499
|
const target = String(name ?? "");
|
|
@@ -1417,9 +1511,9 @@ new class extends _identity {
|
|
|
1417
1511
|
return null;
|
|
1418
1512
|
}
|
|
1419
1513
|
|
|
1420
|
-
/**
|
|
1421
|
-
* Sets the mute flag and pushes it to every effect child and placement
|
|
1422
|
-
* observer.
|
|
1514
|
+
/**
|
|
1515
|
+
* Sets the mute flag and pushes it to every effect child and placement
|
|
1516
|
+
* observer.
|
|
1423
1517
|
*/
|
|
1424
1518
|
SetMute(mute) {
|
|
1425
1519
|
this.mute = !!mute;
|
|
@@ -1431,19 +1525,19 @@ new class extends _identity {
|
|
|
1431
1525
|
}
|
|
1432
1526
|
}
|
|
1433
1527
|
|
|
1434
|
-
/**
|
|
1435
|
-
* Plays an animation with explicit loop, start, and speed settings
|
|
1436
|
-
* (Carbon PlayAnimationEx, MAP_METHOD_AND_WRAP_OPTIONAL_ARGS).
|
|
1528
|
+
/**
|
|
1529
|
+
* Plays an animation with explicit loop, start, and speed settings
|
|
1530
|
+
* (Carbon PlayAnimationEx, MAP_METHOD_AND_WRAP_OPTIONAL_ARGS).
|
|
1437
1531
|
*/
|
|
1438
1532
|
PlayAnimationEx(animName, loopCount, start, speed, clearWhenDone = true) {
|
|
1439
1533
|
this.#PlayAnimation(animName, true, loopCount, start, speed, clearWhenDone);
|
|
1440
1534
|
}
|
|
1441
1535
|
|
|
1442
|
-
/**
|
|
1443
|
-
* Calculates the skinned bounding box under a transform (CMF path: the
|
|
1444
|
-
* local box corners transformed with perspective divide). The granny path
|
|
1445
|
-
* is unported. Returns an inverted-empty { min, max } box when dynamic
|
|
1446
|
-
* bounds are disabled, as Carbon's BoundingBoxInitialize does.
|
|
1536
|
+
/**
|
|
1537
|
+
* Calculates the skinned bounding box under a transform (CMF path: the
|
|
1538
|
+
* local box corners transformed with perspective divide). The granny path
|
|
1539
|
+
* is unported. Returns an inverted-empty { min, max } box when dynamic
|
|
1540
|
+
* bounds are disabled, as Carbon's BoundingBoxInitialize does.
|
|
1447
1541
|
*/
|
|
1448
1542
|
CalculateSkinnedBoundingBoxFromTransform(transform) {
|
|
1449
1543
|
const min = vec3.fromValues(Infinity, Infinity, Infinity);
|
|
@@ -1467,10 +1561,10 @@ new class extends _identity {
|
|
|
1467
1561
|
};
|
|
1468
1562
|
}
|
|
1469
1563
|
|
|
1470
|
-
/**
|
|
1471
|
-
* Calculates the skinned bounding sphere (CMF path: the current bounding
|
|
1472
|
-
* sphere; granny path unported). Returns (0,0,0,-1) when dynamic bounds
|
|
1473
|
-
* are disabled.
|
|
1564
|
+
/**
|
|
1565
|
+
* Calculates the skinned bounding sphere (CMF path: the current bounding
|
|
1566
|
+
* sphere; granny path unported). Returns (0,0,0,-1) when dynamic bounds
|
|
1567
|
+
* are disabled.
|
|
1474
1568
|
*/
|
|
1475
1569
|
CalculateSkinnedBoundingSphere(out = vec4.create()) {
|
|
1476
1570
|
if (this.dynamicBoundingSphereEnabled && this.mesh?.GetGeometryResource()?.IsUsingCMF?.()) {
|
|
@@ -1489,9 +1583,9 @@ new class extends _identity {
|
|
|
1489
1583
|
}
|
|
1490
1584
|
}
|
|
1491
1585
|
|
|
1492
|
-
/**
|
|
1493
|
-
* Rebuilds the locator sets visible on this object from its own authored sets
|
|
1494
|
-
* plus the sets owned by child meshes and nested child containers.
|
|
1586
|
+
/**
|
|
1587
|
+
* Rebuilds the locator sets visible on this object from its own authored sets
|
|
1588
|
+
* plus the sets owned by child meshes and nested child containers.
|
|
1495
1589
|
*/
|
|
1496
1590
|
EnsureChildLocatorMerged() {
|
|
1497
1591
|
if (!this.#mergedLocatorSetsDirty) return;
|
|
@@ -1555,11 +1649,11 @@ new class extends _identity {
|
|
|
1555
1649
|
this.#damageFilterAreas.length = 0;
|
|
1556
1650
|
}
|
|
1557
1651
|
|
|
1558
|
-
/**
|
|
1559
|
-
* Collects prepared hull and child geometry and opens raycast sessions
|
|
1560
|
-
* (Carbon CollectOccluders, EveSpaceObject2.cpp:1960-2028): occluders carry
|
|
1561
|
-
* areaStart/areaCount ranges into the shared #damageFilterAreas pool, and
|
|
1562
|
-
* records with no matching areas are skipped rather than raycast whole.
|
|
1652
|
+
/**
|
|
1653
|
+
* Collects prepared hull and child geometry and opens raycast sessions
|
|
1654
|
+
* (Carbon CollectOccluders, EveSpaceObject2.cpp:1960-2028): occluders carry
|
|
1655
|
+
* areaStart/areaCount ranges into the shared #damageFilterAreas pool, and
|
|
1656
|
+
* records with no matching areas are skipped rather than raycast whole.
|
|
1563
1657
|
*/
|
|
1564
1658
|
#CollectDamageFilterOccluders() {
|
|
1565
1659
|
this.#damageFilterOccluders.length = 0;
|
|
@@ -1706,8 +1800,8 @@ new class extends _identity {
|
|
|
1706
1800
|
if (this.#damageFilterState === 0) this.#damageFilterState = 1;
|
|
1707
1801
|
}
|
|
1708
1802
|
|
|
1709
|
-
/**
|
|
1710
|
-
* Clears all impact and damage effects on the impact overlay.
|
|
1803
|
+
/**
|
|
1804
|
+
* Clears all impact and damage effects on the impact overlay.
|
|
1711
1805
|
*/
|
|
1712
1806
|
ClearImpactDamage() {
|
|
1713
1807
|
if (this.impactOverlay) this.impactOverlay.Clear();
|
|
@@ -1718,23 +1812,23 @@ new class extends _identity {
|
|
|
1718
1812
|
}
|
|
1719
1813
|
}
|
|
1720
1814
|
|
|
1721
|
-
/**
|
|
1722
|
-
* Clears all animations on the animation updater.
|
|
1815
|
+
/**
|
|
1816
|
+
* Clears all animations on the animation updater.
|
|
1723
1817
|
*/
|
|
1724
1818
|
ClearAnimations() {
|
|
1725
1819
|
this.animationUpdater?.ClearAnimations?.();
|
|
1726
1820
|
}
|
|
1727
1821
|
|
|
1728
|
-
/**
|
|
1729
|
-
* Creates an impact facing a position on the closest facing damage locator.
|
|
1822
|
+
/**
|
|
1823
|
+
* Creates an impact facing a position on the closest facing damage locator.
|
|
1730
1824
|
*/
|
|
1731
1825
|
CreateImpactFromPosition(position, direction, lifeTime, size) {
|
|
1732
1826
|
const closestDamageLocator = this.#GetClosestLocatorIndex(position, _EveSpaceObject.#damageLocatorSetName);
|
|
1733
1827
|
return this.CreateImpact(closestDamageLocator, direction, lifeTime, size);
|
|
1734
1828
|
}
|
|
1735
1829
|
|
|
1736
|
-
/**
|
|
1737
|
-
* Creates an impact effect on a damage locator through the impact overlay.
|
|
1830
|
+
/**
|
|
1831
|
+
* Creates an impact effect on a damage locator through the impact overlay.
|
|
1738
1832
|
*/
|
|
1739
1833
|
CreateImpact(damageLocatorIndex, direction, lifeTime, size) {
|
|
1740
1834
|
if (this.impactOverlay) {
|
|
@@ -1751,16 +1845,16 @@ new class extends _identity {
|
|
|
1751
1845
|
return -1;
|
|
1752
1846
|
}
|
|
1753
1847
|
|
|
1754
|
-
/**
|
|
1755
|
-
* Ends the current animation on the animation updater.
|
|
1848
|
+
/**
|
|
1849
|
+
* Ends the current animation on the animation updater.
|
|
1756
1850
|
*/
|
|
1757
1851
|
EndAnimation() {
|
|
1758
1852
|
this.animationUpdater?.EndAnimation?.();
|
|
1759
1853
|
}
|
|
1760
1854
|
|
|
1761
|
-
/**
|
|
1762
|
-
* Freezes LOD selection at the current mesh and marks decal geometry
|
|
1763
|
-
* frozen.
|
|
1855
|
+
/**
|
|
1856
|
+
* Freezes LOD selection at the current mesh and marks decal geometry
|
|
1857
|
+
* frozen.
|
|
1764
1858
|
*/
|
|
1765
1859
|
FreezeHighDetailMesh() {
|
|
1766
1860
|
this.#allowLodSelection = false;
|
|
@@ -1769,23 +1863,23 @@ new class extends _identity {
|
|
|
1769
1863
|
}
|
|
1770
1864
|
}
|
|
1771
1865
|
|
|
1772
|
-
/**
|
|
1773
|
-
* Gets the number of damage locators on this object.
|
|
1866
|
+
/**
|
|
1867
|
+
* Gets the number of damage locators on this object.
|
|
1774
1868
|
*/
|
|
1775
1869
|
GetDamageLocatorCount() {
|
|
1776
1870
|
return this.GetLocatorCount(_EveSpaceObject.#damageLocatorSetName);
|
|
1777
1871
|
}
|
|
1778
1872
|
|
|
1779
|
-
/**
|
|
1780
|
-
* Gets the number of locators in a named locator set.
|
|
1873
|
+
/**
|
|
1874
|
+
* Gets the number of locators in a named locator set.
|
|
1781
1875
|
*/
|
|
1782
1876
|
GetLocatorCount(locatorSetName) {
|
|
1783
1877
|
return this.#GetLocatorsForSet(locatorSetName)?.length ?? 0;
|
|
1784
1878
|
}
|
|
1785
1879
|
|
|
1786
|
-
/**
|
|
1787
|
-
* Gets the first locator list whose set has the requested Carbon name.
|
|
1788
|
-
* The returned list remains owned by the locator set.
|
|
1880
|
+
/**
|
|
1881
|
+
* Gets the first locator list whose set has the requested Carbon name.
|
|
1882
|
+
* The returned list remains owned by the locator set.
|
|
1789
1883
|
*/
|
|
1790
1884
|
GetLocatorsForSet(locatorSetName) {
|
|
1791
1885
|
return this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -1819,9 +1913,9 @@ new class extends _identity {
|
|
|
1819
1913
|
this.InvalidateMergedLocators("structure");
|
|
1820
1914
|
}
|
|
1821
1915
|
|
|
1822
|
-
/**
|
|
1823
|
-
* Gets the closest locator in a set to a world position, ignoring locator
|
|
1824
|
-
* facing. Returns -1 when the set is missing or empty.
|
|
1916
|
+
/**
|
|
1917
|
+
* Gets the closest locator in a set to a world position, ignoring locator
|
|
1918
|
+
* facing. Returns -1 when the set is missing or empty.
|
|
1825
1919
|
*/
|
|
1826
1920
|
GetCloseLocatorIndex(position, locatorSetName) {
|
|
1827
1921
|
const locators = this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -1845,19 +1939,19 @@ new class extends _identity {
|
|
|
1845
1939
|
return closestIndex;
|
|
1846
1940
|
}
|
|
1847
1941
|
|
|
1848
|
-
/**
|
|
1849
|
-
* Carbon's script surface maps GetGoodLocatorIndex to GetCloseLocatorIndex
|
|
1850
|
-
* (EveSpaceObject2_Blue.cpp); the internal randomized fit heuristic is not
|
|
1851
|
-
* script-exposed.
|
|
1942
|
+
/**
|
|
1943
|
+
* Carbon's script surface maps GetGoodLocatorIndex to GetCloseLocatorIndex
|
|
1944
|
+
* (EveSpaceObject2_Blue.cpp); the internal randomized fit heuristic is not
|
|
1945
|
+
* script-exposed.
|
|
1852
1946
|
*/
|
|
1853
1947
|
GetGoodLocatorIndex(position, locatorSetName) {
|
|
1854
1948
|
return this.GetCloseLocatorIndex(position, locatorSetName);
|
|
1855
1949
|
}
|
|
1856
1950
|
|
|
1857
|
-
/**
|
|
1858
|
-
* Gets the local direction of an indexed damage locator, (0,0,0) for
|
|
1859
|
-
* indices out of range (Carbon script GetDamageLocatorDirection maps to
|
|
1860
|
-
* GetDamageLocatorDirectionLocal).
|
|
1951
|
+
/**
|
|
1952
|
+
* Gets the local direction of an indexed damage locator, (0,0,0) for
|
|
1953
|
+
* indices out of range (Carbon script GetDamageLocatorDirection maps to
|
|
1954
|
+
* GetDamageLocatorDirectionLocal).
|
|
1861
1955
|
*/
|
|
1862
1956
|
GetDamageLocatorDirection(index, inWorldSpaceOrOut = vec3.create(), out = vec3.create()) {
|
|
1863
1957
|
const targetableCall = typeof inWorldSpaceOrOut === "boolean";
|
|
@@ -1886,10 +1980,10 @@ new class extends _identity {
|
|
|
1886
1980
|
return true;
|
|
1887
1981
|
}
|
|
1888
1982
|
|
|
1889
|
-
/**
|
|
1890
|
-
* Gets a damage locator's BIND position in object space - the merged set's
|
|
1891
|
-
* authored position, no animation (Carbon EveSpaceObject2.cpp:2785-2796).
|
|
1892
|
-
* Impact overlays seed decals here so they stay put on animated parts.
|
|
1983
|
+
/**
|
|
1984
|
+
* Gets a damage locator's BIND position in object space - the merged set's
|
|
1985
|
+
* authored position, no animation (Carbon EveSpaceObject2.cpp:2785-2796).
|
|
1986
|
+
* Impact overlays seed decals here so they stay put on animated parts.
|
|
1893
1987
|
*/
|
|
1894
1988
|
GetDamageLocatorBindPosition(index, out = vec3.create()) {
|
|
1895
1989
|
const locators = this.#GetLocatorsForSet(_EveSpaceObject.#damageLocatorSetName);
|
|
@@ -2030,9 +2124,9 @@ new class extends _identity {
|
|
|
2030
2124
|
return false;
|
|
2031
2125
|
}
|
|
2032
2126
|
|
|
2033
|
-
/**
|
|
2034
|
-
* Gets the local position of an indexed damage locator, (0,0,0) for
|
|
2035
|
-
* indices out of range.
|
|
2127
|
+
/**
|
|
2128
|
+
* Gets the local position of an indexed damage locator, (0,0,0) for
|
|
2129
|
+
* indices out of range.
|
|
2036
2130
|
*/
|
|
2037
2131
|
GetDamageLocator(index, out = vec3.create()) {
|
|
2038
2132
|
const locators = this.#GetLocatorsForSet(_EveSpaceObject.#damageLocatorSetName);
|
|
@@ -2044,9 +2138,9 @@ new class extends _identity {
|
|
|
2044
2138
|
return out;
|
|
2045
2139
|
}
|
|
2046
2140
|
|
|
2047
|
-
/**
|
|
2048
|
-
* Gets the world-space position of an indexed damage locator, (0,0,0) for
|
|
2049
|
-
* indices out of range (returned untransformed, as Carbon does).
|
|
2141
|
+
/**
|
|
2142
|
+
* Gets the world-space position of an indexed damage locator, (0,0,0) for
|
|
2143
|
+
* indices out of range (returned untransformed, as Carbon does).
|
|
2050
2144
|
*/
|
|
2051
2145
|
GetTransformedDamageLocator(index, out = vec3.create()) {
|
|
2052
2146
|
const locators = this.#GetLocatorsForSet(_EveSpaceObject.#damageLocatorSetName);
|
|
@@ -2058,18 +2152,18 @@ new class extends _identity {
|
|
|
2058
2152
|
return vec3.transformMat4(out, out, this.worldTransform);
|
|
2059
2153
|
}
|
|
2060
2154
|
|
|
2061
|
-
/**
|
|
2062
|
-
* Checks whether this object is in impostor mode. The impostor system that
|
|
2063
|
-
* raises the flag is unported, so this reports the default until then.
|
|
2155
|
+
/**
|
|
2156
|
+
* Checks whether this object is in impostor mode. The impostor system that
|
|
2157
|
+
* raises the flag is unported, so this reports the default until then.
|
|
2064
2158
|
*/
|
|
2065
2159
|
IsImpostor() {
|
|
2066
2160
|
return this.#impostorMode;
|
|
2067
2161
|
}
|
|
2068
2162
|
|
|
2069
|
-
/**
|
|
2070
|
-
* Gets a locator position from a named set. Out-of-range or missing-set
|
|
2071
|
-
* queries return the world translation in world space and (0,0,0) in
|
|
2072
|
-
* object space, as Carbon does.
|
|
2163
|
+
/**
|
|
2164
|
+
* Gets a locator position from a named set. Out-of-range or missing-set
|
|
2165
|
+
* queries return the world translation in world space and (0,0,0) in
|
|
2166
|
+
* object space, as Carbon does.
|
|
2073
2167
|
*/
|
|
2074
2168
|
GetLocatorPositionFromSet(index, inWorldSpace, locatorSetName, out = vec3.create()) {
|
|
2075
2169
|
const locators = this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -2087,9 +2181,9 @@ new class extends _identity {
|
|
|
2087
2181
|
return out;
|
|
2088
2182
|
}
|
|
2089
2183
|
|
|
2090
|
-
/**
|
|
2091
|
-
* Gets a locator direction from a named set. Out-of-range or missing-set
|
|
2092
|
-
* queries return (0,1,0), as Carbon does.
|
|
2184
|
+
/**
|
|
2185
|
+
* Gets a locator direction from a named set. Out-of-range or missing-set
|
|
2186
|
+
* queries return (0,1,0), as Carbon does.
|
|
2093
2187
|
*/
|
|
2094
2188
|
GetLocatorRotationFromSet(index, inWorldSpace, locatorSetName, out = vec3.create()) {
|
|
2095
2189
|
const locators = this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -2104,9 +2198,9 @@ new class extends _identity {
|
|
|
2104
2198
|
return out;
|
|
2105
2199
|
}
|
|
2106
2200
|
|
|
2107
|
-
/**
|
|
2108
|
-
* Raises a named controller event on this hull's controllers and forwards it
|
|
2109
|
-
* to the effect children and overlay effects.
|
|
2201
|
+
/**
|
|
2202
|
+
* Raises a named controller event on this hull's controllers and forwards it
|
|
2203
|
+
* to the effect children and overlay effects.
|
|
2110
2204
|
*/
|
|
2111
2205
|
HandleControllerEvent(name) {
|
|
2112
2206
|
const eventName = String(name ?? "");
|
|
@@ -2121,24 +2215,24 @@ new class extends _identity {
|
|
|
2121
2215
|
}
|
|
2122
2216
|
}
|
|
2123
2217
|
|
|
2124
|
-
/**
|
|
2125
|
-
* Plays an animation once, replacing the current one
|
|
2126
|
-
* (Carbon script PlayAnimation maps to PlayAnimationOnce).
|
|
2218
|
+
/**
|
|
2219
|
+
* Plays an animation once, replacing the current one
|
|
2220
|
+
* (Carbon script PlayAnimation maps to PlayAnimationOnce).
|
|
2127
2221
|
*/
|
|
2128
2222
|
PlayAnimation(animName) {
|
|
2129
2223
|
this.#PlayAnimation(animName, true, 1, 0, 1, true);
|
|
2130
2224
|
}
|
|
2131
2225
|
|
|
2132
|
-
/**
|
|
2133
|
-
* Chains an animation once after the current one (Carbon ChainAnimation).
|
|
2226
|
+
/**
|
|
2227
|
+
* Chains an animation once after the current one (Carbon ChainAnimation).
|
|
2134
2228
|
*/
|
|
2135
2229
|
ChainAnimation(animName) {
|
|
2136
2230
|
this.#PlayAnimation(animName, false, 1, 0, 1, true);
|
|
2137
2231
|
}
|
|
2138
2232
|
|
|
2139
|
-
/**
|
|
2140
|
-
* Chains an animation with explicit loop, start, and speed settings
|
|
2141
|
-
* (Carbon ChainAnimationEx).
|
|
2233
|
+
/**
|
|
2234
|
+
* Chains an animation with explicit loop, start, and speed settings
|
|
2235
|
+
* (Carbon ChainAnimationEx).
|
|
2142
2236
|
*/
|
|
2143
2237
|
ChainAnimationEx(animName, loopCount, start, speed) {
|
|
2144
2238
|
this.#PlayAnimation(animName, false, loopCount, start, speed, true);
|
|
@@ -2148,17 +2242,17 @@ new class extends _identity {
|
|
|
2148
2242
|
// into the animation updater, which owns playback state; a missing updater
|
|
2149
2243
|
// is a Carbon-faithful no-op.
|
|
2150
2244
|
|
|
2151
|
-
/**
|
|
2152
|
-
* Forwards a playback request to the animation updater, which owns all
|
|
2153
|
-
* animation state; a hull without an updater does nothing, as in Carbon.
|
|
2245
|
+
/**
|
|
2246
|
+
* Forwards a playback request to the animation updater, which owns all
|
|
2247
|
+
* animation state; a hull without an updater does nothing, as in Carbon.
|
|
2154
2248
|
*/
|
|
2155
2249
|
#PlayAnimation(animName, replace, loopCount, delay, speed, clearWhenDone) {
|
|
2156
2250
|
this.animationUpdater?.PlayAnimation?.(String(animName ?? ""), replace, loopCount, delay, speed, clearWhenDone);
|
|
2157
2251
|
}
|
|
2158
2252
|
|
|
2159
|
-
/**
|
|
2160
|
-
* Recalculates the authored bounding sphere from the mesh geometry
|
|
2161
|
-
* resource. Fails when no mesh or ready geometry resource is attached.
|
|
2253
|
+
/**
|
|
2254
|
+
* Recalculates the authored bounding sphere from the mesh geometry
|
|
2255
|
+
* resource. Fails when no mesh or ready geometry resource is attached.
|
|
2162
2256
|
*/
|
|
2163
2257
|
RebuildBoundingSphereInformation() {
|
|
2164
2258
|
const mesh = this.mesh;
|
|
@@ -2188,9 +2282,9 @@ new class extends _identity {
|
|
|
2188
2282
|
return this;
|
|
2189
2283
|
}
|
|
2190
2284
|
|
|
2191
|
-
/**
|
|
2192
|
-
* Returns a plain-object snapshot of the controller variables currently
|
|
2193
|
-
* stamped on this hull.
|
|
2285
|
+
/**
|
|
2286
|
+
* Returns a plain-object snapshot of the controller variables currently
|
|
2287
|
+
* stamped on this hull.
|
|
2194
2288
|
*/
|
|
2195
2289
|
GetControllerVariables() {
|
|
2196
2290
|
return Object.fromEntries(this.#controllerVariables);
|
|
@@ -2204,11 +2298,11 @@ new class extends _identity {
|
|
|
2204
2298
|
return geometryResource.GetLodIndexForScreenSize?.(this.mesh?.GetMeshIndex?.() ?? 0, this.#meshScreenSize) ?? 0;
|
|
2205
2299
|
}
|
|
2206
2300
|
|
|
2207
|
-
/**
|
|
2208
|
-
* Gets a named locator's transform (Carbon script GetLocatorTransform maps
|
|
2209
|
-
* to GetEveLocatorTransform): the identity for unknown names, the animated
|
|
2210
|
-
* bone world transform when the animation updater resolves the name, else
|
|
2211
|
-
* the authored locator transform.
|
|
2301
|
+
/**
|
|
2302
|
+
* Gets a named locator's transform (Carbon script GetLocatorTransform maps
|
|
2303
|
+
* to GetEveLocatorTransform): the identity for unknown names, the animated
|
|
2304
|
+
* bone world transform when the animation updater resolves the name, else
|
|
2305
|
+
* the authored locator transform.
|
|
2212
2306
|
*/
|
|
2213
2307
|
GetLocatorTransform(name, out = mat4.create()) {
|
|
2214
2308
|
const target = String(name ?? "");
|
|
@@ -2228,11 +2322,11 @@ new class extends _identity {
|
|
|
2228
2322
|
return mat4.copy(out, locator.GetTransform());
|
|
2229
2323
|
}
|
|
2230
2324
|
|
|
2231
|
-
/**
|
|
2232
|
-
* Gets the local axis-aligned bounding box: dynamic skinned bounds when
|
|
2233
|
-
* enabled, else the mesh box, else the cached box (at worst it lags one
|
|
2234
|
-
* frame). With out arguments it fills them and returns true; without, it
|
|
2235
|
-
* returns { min, max }.
|
|
2325
|
+
/**
|
|
2326
|
+
* Gets the local axis-aligned bounding box: dynamic skinned bounds when
|
|
2327
|
+
* enabled, else the mesh box, else the cached box (at worst it lags one
|
|
2328
|
+
* frame). With out arguments it fills them and returns true; without, it
|
|
2329
|
+
* returns { min, max }.
|
|
2236
2330
|
*/
|
|
2237
2331
|
GetLocalBoundingBox(minBounds, maxBounds) {
|
|
2238
2332
|
const min = vec3.create();
|
|
@@ -2282,9 +2376,9 @@ new class extends _identity {
|
|
|
2282
2376
|
return geometryResource ? geometryResource.IsGood() : false;
|
|
2283
2377
|
}
|
|
2284
2378
|
|
|
2285
|
-
/**
|
|
2286
|
-
* Gets Carbon's realized world sphere, optionally accumulated with transform
|
|
2287
|
-
* and effect children when query is EVE_BOUNDS_WITH_CHILDREN.
|
|
2379
|
+
/**
|
|
2380
|
+
* Gets Carbon's realized world sphere, optionally accumulated with transform
|
|
2381
|
+
* and effect children when query is EVE_BOUNDS_WITH_CHILDREN.
|
|
2288
2382
|
*/
|
|
2289
2383
|
GetBoundingSphere(out = sph3.create(), query = 0) {
|
|
2290
2384
|
if (this.boundingSphereRadius <= 0 && this.#dynamicBoundingSphere[3] <= 0) return false;
|
|
@@ -2320,9 +2414,9 @@ new class extends _identity {
|
|
|
2320
2414
|
return this.#isInFrustum;
|
|
2321
2415
|
}
|
|
2322
2416
|
|
|
2323
|
-
/**
|
|
2324
|
-
* Gets the bounding sphere center, preferring the dynamic skinned sphere
|
|
2325
|
-
* when one is published.
|
|
2417
|
+
/**
|
|
2418
|
+
* Gets the bounding sphere center, preferring the dynamic skinned sphere
|
|
2419
|
+
* when one is published.
|
|
2326
2420
|
*/
|
|
2327
2421
|
GetBoundingSphereCenter(out = vec3.create()) {
|
|
2328
2422
|
if (this.#dynamicBoundingSphere[3] !== -1) {
|
|
@@ -2331,9 +2425,9 @@ new class extends _identity {
|
|
|
2331
2425
|
return vec3.copy(out, this.boundingSphereCenter);
|
|
2332
2426
|
}
|
|
2333
2427
|
|
|
2334
|
-
/**
|
|
2335
|
-
* Gets the model-scaled bounding sphere radius, preferring the dynamic
|
|
2336
|
-
* skinned sphere when one is published.
|
|
2428
|
+
/**
|
|
2429
|
+
* Gets the model-scaled bounding sphere radius, preferring the dynamic
|
|
2430
|
+
* skinned sphere when one is published.
|
|
2337
2431
|
*/
|
|
2338
2432
|
GetBoundingSphereRadius() {
|
|
2339
2433
|
if (this.#dynamicBoundingSphere[3] !== -1) {
|
|
@@ -2342,9 +2436,9 @@ new class extends _identity {
|
|
|
2342
2436
|
return this.modelScale * this.boundingSphereRadius;
|
|
2343
2437
|
}
|
|
2344
2438
|
|
|
2345
|
-
/**
|
|
2346
|
-
* Gets the number of mesh-bound bones. Carbon dereferences the animation
|
|
2347
|
-
* updater unchecked; CarbonEngineJS reports 0 when none is attached.
|
|
2439
|
+
/**
|
|
2440
|
+
* Gets the number of mesh-bound bones. Carbon dereferences the animation
|
|
2441
|
+
* updater unchecked; CarbonEngineJS reports 0 when none is attached.
|
|
2348
2442
|
*/
|
|
2349
2443
|
GetBoneCount() {
|
|
2350
2444
|
const updater = this.animationUpdater;
|
|
@@ -2360,10 +2454,10 @@ new class extends _identity {
|
|
|
2360
2454
|
return updater.GetMeshBindingBoneCount?.() ?? 0;
|
|
2361
2455
|
}
|
|
2362
2456
|
|
|
2363
|
-
/**
|
|
2364
|
-
* Pushes shield, armor and hull damage levels to the impact overlay and
|
|
2365
|
-
* mirrors them into the ShieldDamage, ArmorDamage and HullDamage controller
|
|
2366
|
-
* variables so bound effects follow.
|
|
2457
|
+
/**
|
|
2458
|
+
* Pushes shield, armor and hull damage levels to the impact overlay and
|
|
2459
|
+
* mirrors them into the ShieldDamage, ArmorDamage and HullDamage controller
|
|
2460
|
+
* variables so bound effects follow.
|
|
2367
2461
|
*/
|
|
2368
2462
|
SetImpactDamageState(shield, armor, hull, doCreateArmorImpacts = true) {
|
|
2369
2463
|
if (this.impactOverlay) {
|
|
@@ -2379,8 +2473,8 @@ new class extends _identity {
|
|
|
2379
2473
|
this.SetControllerVariable("HullDamage", hull);
|
|
2380
2474
|
}
|
|
2381
2475
|
|
|
2382
|
-
/**
|
|
2383
|
-
* Toggles a named impact-overlay animation (boosters, hardeners, ...).
|
|
2476
|
+
/**
|
|
2477
|
+
* Toggles a named impact-overlay animation (boosters, hardeners, ...).
|
|
2384
2478
|
*/
|
|
2385
2479
|
SetImpactAnimation(name, enable, duration) {
|
|
2386
2480
|
if (!this.impactOverlay) return;
|
|
@@ -2412,10 +2506,10 @@ new class extends _identity {
|
|
|
2412
2506
|
return overlay;
|
|
2413
2507
|
}
|
|
2414
2508
|
|
|
2415
|
-
/**
|
|
2416
|
-
* Stores a controller variable on the hull and pushes it to the controllers,
|
|
2417
|
-
* effect children and overlay effects; the stored value is replayed onto
|
|
2418
|
-
* controllers and children added later.
|
|
2509
|
+
/**
|
|
2510
|
+
* Stores a controller variable on the hull and pushes it to the controllers,
|
|
2511
|
+
* effect children and overlay effects; the stored value is replayed onto
|
|
2512
|
+
* controllers and children added later.
|
|
2419
2513
|
*/
|
|
2420
2514
|
SetControllerVariable(name, value) {
|
|
2421
2515
|
const key = String(name ?? "");
|
|
@@ -2432,9 +2526,9 @@ new class extends _identity {
|
|
|
2432
2526
|
}
|
|
2433
2527
|
}
|
|
2434
2528
|
|
|
2435
|
-
/**
|
|
2436
|
-
* Forwards a procedural-container variable to every effect child; the hull
|
|
2437
|
-
* itself keeps no copy.
|
|
2529
|
+
/**
|
|
2530
|
+
* Forwards a procedural-container variable to every effect child; the hull
|
|
2531
|
+
* itself keeps no copy.
|
|
2438
2532
|
*/
|
|
2439
2533
|
SetProceduralContainerVariable(name, value) {
|
|
2440
2534
|
for (const child of this.effectChildren) {
|
|
@@ -2442,9 +2536,9 @@ new class extends _identity {
|
|
|
2442
2536
|
}
|
|
2443
2537
|
}
|
|
2444
2538
|
|
|
2445
|
-
/**
|
|
2446
|
-
* Starts this hull's controllers and those of its effect children and overlay
|
|
2447
|
-
* effects.
|
|
2539
|
+
/**
|
|
2540
|
+
* Starts this hull's controllers and those of its effect children and overlay
|
|
2541
|
+
* effects.
|
|
2448
2542
|
*/
|
|
2449
2543
|
StartControllers() {
|
|
2450
2544
|
for (const controller of this.controllers) {
|
|
@@ -2458,13 +2552,13 @@ new class extends _identity {
|
|
|
2458
2552
|
}
|
|
2459
2553
|
}
|
|
2460
2554
|
|
|
2461
|
-
/**
|
|
2462
|
-
* Applies bone and model transforms to locators and returns
|
|
2463
|
-
* [position, rotation, boneIndex] tuples, as the Carbon script surface
|
|
2464
|
-
* does (TransformLocators maps to PyTransformLocators). Accepts either
|
|
2465
|
-
* locator records ({ position, direction, boneIndex }, Carbon's
|
|
2466
|
-
* LocatorStructureList shape) or the same [position, rotation, boneIndex]
|
|
2467
|
-
* tuple shape it returns.
|
|
2555
|
+
/**
|
|
2556
|
+
* Applies bone and model transforms to locators and returns
|
|
2557
|
+
* [position, rotation, boneIndex] tuples, as the Carbon script surface
|
|
2558
|
+
* does (TransformLocators maps to PyTransformLocators). Accepts either
|
|
2559
|
+
* locator records ({ position, direction, boneIndex }, Carbon's
|
|
2560
|
+
* LocatorStructureList shape) or the same [position, rotation, boneIndex]
|
|
2561
|
+
* tuple shape it returns.
|
|
2468
2562
|
*/
|
|
2469
2563
|
TransformLocators(locators = []) {
|
|
2470
2564
|
const result = [];
|
|
@@ -2493,10 +2587,10 @@ new class extends _identity {
|
|
|
2493
2587
|
// Carbon Blue TransformLocator: bone-attached records pick up the mesh
|
|
2494
2588
|
// bone matrix; without bone data the authored values pass through.
|
|
2495
2589
|
|
|
2496
|
-
/**
|
|
2497
|
-
* Applies the mesh bone matrix to a locator position and rotation for
|
|
2498
|
-
* bone-attached locators; the authored values pass through unchanged when
|
|
2499
|
-
* there is no usable bone data.
|
|
2590
|
+
/**
|
|
2591
|
+
* Applies the mesh bone matrix to a locator position and rotation for
|
|
2592
|
+
* bone-attached locators; the authored values pass through unchanged when
|
|
2593
|
+
* there is no usable bone data.
|
|
2500
2594
|
*/
|
|
2501
2595
|
#TransformLocator(position, rotation, boneIndex) {
|
|
2502
2596
|
const updater = this.animationUpdater;
|
|
@@ -2516,10 +2610,10 @@ new class extends _identity {
|
|
|
2516
2610
|
// origin (pure GetValueAt, no playback advance): translation adds, model
|
|
2517
2611
|
// rotation rotates the position and pre-multiplies.
|
|
2518
2612
|
|
|
2519
|
-
/**
|
|
2520
|
-
* Applies the model translation and rotation curves sampled at time 0 to a
|
|
2521
|
-
* locator position and rotation, matching Carbon's Blue locator surface, which
|
|
2522
|
-
* reads the curves without advancing playback.
|
|
2613
|
+
/**
|
|
2614
|
+
* Applies the model translation and rotation curves sampled at time 0 to a
|
|
2615
|
+
* locator position and rotation, matching Carbon's Blue locator surface, which
|
|
2616
|
+
* reads the curves without advancing playback.
|
|
2523
2617
|
*/
|
|
2524
2618
|
#ApplyModelTransform(position, rotation) {
|
|
2525
2619
|
if (this.modelTranslationCurve) {
|
|
@@ -2537,9 +2631,9 @@ new class extends _identity {
|
|
|
2537
2631
|
|
|
2538
2632
|
// Carbon GetLocatorsForSet: first set matching the name wins.
|
|
2539
2633
|
|
|
2540
|
-
/**
|
|
2541
|
-
* Returns the locator list of the first locator set carrying the name, or null
|
|
2542
|
-
* when no set matches; the list stays owned by the locator set.
|
|
2634
|
+
/**
|
|
2635
|
+
* Returns the locator list of the first locator set carrying the name, or null
|
|
2636
|
+
* when no set matches; the list stays owned by the locator set.
|
|
2543
2637
|
*/
|
|
2544
2638
|
#GetLocatorsForSet(locatorSetName) {
|
|
2545
2639
|
const target = String(locatorSetName ?? "");
|
|
@@ -2552,19 +2646,19 @@ new class extends _identity {
|
|
|
2552
2646
|
return null;
|
|
2553
2647
|
}
|
|
2554
2648
|
|
|
2555
|
-
/**
|
|
2556
|
-
* Writes a locator's object-space position and direction (Carbon
|
|
2557
|
-
* EveSpaceObject2.cpp:3751-3772, rewritten upstream by 3d988b1d).
|
|
2558
|
-
*
|
|
2559
|
-
* A merged damage locator (mergedDamageIndex >= 0, indexing the merged
|
|
2560
|
-
* damage set) delegates to the owning child's animated pose - the locator's
|
|
2561
|
-
* boneIndex addresses the CHILD's skeleton, never this object's - then
|
|
2562
|
-
* lifts the result through the range's childToObject transform; Carbon
|
|
2563
|
-
* normalizes the direction HERE but not in EveGetLocatorPose, and that
|
|
2564
|
-
* asymmetry is preserved. Every other locator resolves against this
|
|
2565
|
-
* object's own animation updater.
|
|
2566
|
-
*
|
|
2567
|
-
* Overridable on purpose: Carbon's EveSwarm overrides this.
|
|
2649
|
+
/**
|
|
2650
|
+
* Writes a locator's object-space position and direction (Carbon
|
|
2651
|
+
* EveSpaceObject2.cpp:3751-3772, rewritten upstream by 3d988b1d).
|
|
2652
|
+
*
|
|
2653
|
+
* A merged damage locator (mergedDamageIndex >= 0, indexing the merged
|
|
2654
|
+
* damage set) delegates to the owning child's animated pose - the locator's
|
|
2655
|
+
* boneIndex addresses the CHILD's skeleton, never this object's - then
|
|
2656
|
+
* lifts the result through the range's childToObject transform; Carbon
|
|
2657
|
+
* normalizes the direction HERE but not in EveGetLocatorPose, and that
|
|
2658
|
+
* asymmetry is preserved. Every other locator resolves against this
|
|
2659
|
+
* object's own animation updater.
|
|
2660
|
+
*
|
|
2661
|
+
* Overridable on purpose: Carbon's EveSwarm overrides this.
|
|
2568
2662
|
*/
|
|
2569
2663
|
GetLocatorInObjectSpace(outPosition, outDirection, locator, mergedDamageIndex = -1) {
|
|
2570
2664
|
if (mergedDamageIndex >= 0) {
|
|
@@ -2587,10 +2681,10 @@ new class extends _identity {
|
|
|
2587
2681
|
// Carbon GetClosestLocatorIndex: facing-gated closest search; 0 when the
|
|
2588
2682
|
// set is missing, -1 when no locator faces the position.
|
|
2589
2683
|
|
|
2590
|
-
/**
|
|
2591
|
-
* Returns the index of the nearest locator in a named set that faces the given
|
|
2592
|
-
* world position - 0 when the set is missing, -1 when no locator faces the
|
|
2593
|
-
* position.
|
|
2684
|
+
/**
|
|
2685
|
+
* Returns the index of the nearest locator in a named set that faces the given
|
|
2686
|
+
* world position - 0 when the set is missing, -1 when no locator faces the
|
|
2687
|
+
* position.
|
|
2594
2688
|
*/
|
|
2595
2689
|
#GetClosestLocatorIndex(position, locatorSetName) {
|
|
2596
2690
|
const locators = this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -2617,9 +2711,9 @@ new class extends _identity {
|
|
|
2617
2711
|
return closestIndex;
|
|
2618
2712
|
}
|
|
2619
2713
|
|
|
2620
|
-
/**
|
|
2621
|
-
* Reports whether a locator faces a position, by testing that stepping the
|
|
2622
|
-
* object-space position back along the locator direction shortens it.
|
|
2714
|
+
/**
|
|
2715
|
+
* Reports whether a locator faces a position, by testing that stepping the
|
|
2716
|
+
* object-space position back along the locator direction shortens it.
|
|
2623
2717
|
*/
|
|
2624
2718
|
|
|
2625
2719
|
/** Rotates a direction by a matrix's rotation basis, ignoring its translation. */
|
|
@@ -2643,15 +2737,15 @@ new class extends _identity {
|
|
|
2643
2737
|
vec3.copy(this.generatedShapeEllipsoidRadius, outRadii);
|
|
2644
2738
|
}
|
|
2645
2739
|
|
|
2646
|
-
/**
|
|
2647
|
-
* Maps the negated dot product of a locator direction and an offset direction
|
|
2648
|
-
* onto Carbon's square-root fit score, the ranking used to pick a varied
|
|
2649
|
-
* damage locator.
|
|
2740
|
+
/**
|
|
2741
|
+
* Maps the negated dot product of a locator direction and an offset direction
|
|
2742
|
+
* onto Carbon's square-root fit score, the ranking used to pick a varied
|
|
2743
|
+
* damage locator.
|
|
2650
2744
|
*/
|
|
2651
2745
|
|
|
2652
|
-
/**
|
|
2653
|
-
* Intersects a ray with an axis-aligned ellipsoid in the ellipsoid's own space and writes the hit point into out.
|
|
2654
|
-
* @returns {number|null} The ray parameter at the hit, or null when the ray is degenerate or misses.
|
|
2746
|
+
/**
|
|
2747
|
+
* Intersects a ray with an axis-aligned ellipsoid in the ellipsoid's own space and writes the hit point into out.
|
|
2748
|
+
* @returns {number|null} The ray parameter at the hit, or null when the ray is degenerate or misses.
|
|
2655
2749
|
*/
|
|
2656
2750
|
|
|
2657
2751
|
/** Reports whether a point lies inside an axis-aligned ellipsoid. */
|
|
@@ -2659,42 +2753,42 @@ new class extends _identity {
|
|
|
2659
2753
|
// Mesh bone matrices come from the animation updater; only mat4-shaped
|
|
2660
2754
|
// entries are usable.
|
|
2661
2755
|
|
|
2662
|
-
/**
|
|
2663
|
-
* Unpacks one bone from the updater's palette into a mat4, or null when the
|
|
2664
|
-
* index is out of range.
|
|
2665
|
-
*
|
|
2666
|
-
* The palette is Carbon's storage - one contiguous Float4x3 buffer, stride
|
|
2667
|
-
* 12 - so a bone is expanded rather than borrowed. Carbon does the same at
|
|
2668
|
-
* every read site with TriMatrixCopyFrom3x4.
|
|
2756
|
+
/**
|
|
2757
|
+
* Unpacks one bone from the updater's palette into a mat4, or null when the
|
|
2758
|
+
* index is out of range.
|
|
2759
|
+
*
|
|
2760
|
+
* The palette is Carbon's storage - one contiguous Float4x3 buffer, stride
|
|
2761
|
+
* 12 - so a bone is expanded rather than borrowed. Carbon does the same at
|
|
2762
|
+
* every read site with TriMatrixCopyFrom3x4.
|
|
2669
2763
|
*/
|
|
2670
2764
|
|
|
2671
|
-
/**
|
|
2672
|
-
* Replays every stored controller variable onto a newly added controller or
|
|
2673
|
-
* effect child through the named setter, so late additions start with the same
|
|
2674
|
-
* state.
|
|
2765
|
+
/**
|
|
2766
|
+
* Replays every stored controller variable onto a newly added controller or
|
|
2767
|
+
* effect child through the named setter, so late additions start with the same
|
|
2768
|
+
* state.
|
|
2675
2769
|
*/
|
|
2676
2770
|
|
|
2677
|
-
/**
|
|
2678
|
-
* Samples a curve into out through whichever of Update or GetValueAt it
|
|
2679
|
-
* exposes, writing the fallback when there is no curve and copying back curves
|
|
2680
|
-
* that return a new array instead of filling out.
|
|
2771
|
+
/**
|
|
2772
|
+
* Samples a curve into out through whichever of Update or GetValueAt it
|
|
2773
|
+
* exposes, writing the fallback when there is no curve and copying back curves
|
|
2774
|
+
* that return a new array instead of filling out.
|
|
2681
2775
|
*/
|
|
2682
2776
|
|
|
2683
|
-
/**
|
|
2684
|
-
* Reads a numeric value from the update context, preferring a getter method
|
|
2685
|
-
* and falling back to the named properties, and yields 0 when nothing supplies
|
|
2686
|
-
* it.
|
|
2777
|
+
/**
|
|
2778
|
+
* Reads a numeric value from the update context, preferring a getter method
|
|
2779
|
+
* and falling back to the named properties, and yields 0 when nothing supplies
|
|
2780
|
+
* it.
|
|
2687
2781
|
*/
|
|
2688
2782
|
|
|
2689
|
-
/**
|
|
2690
|
-
* Returns a world sphere's on-screen diameter in pixels from the frustum's
|
|
2691
|
-
* exact query, or 0 when the frustum does not expose it.
|
|
2783
|
+
/**
|
|
2784
|
+
* Returns a world sphere's on-screen diameter in pixels from the frustum's
|
|
2785
|
+
* exact query, or 0 when the frustum does not expose it.
|
|
2692
2786
|
*/
|
|
2693
2787
|
|
|
2694
|
-
/**
|
|
2695
|
-
* Returns a world sphere's on-screen diameter in pixels, preferring the
|
|
2696
|
-
* frustum's cheaper estimated query and falling back to the exact one, or 0
|
|
2697
|
-
* when the frustum exposes neither.
|
|
2788
|
+
/**
|
|
2789
|
+
* Returns a world sphere's on-screen diameter in pixels, preferring the
|
|
2790
|
+
* frustum's cheaper estimated query and falling back to the exact one, or 0
|
|
2791
|
+
* when the frustum exposes neither.
|
|
2698
2792
|
*/
|
|
2699
2793
|
|
|
2700
2794
|
/** Writes a center and radius into a caller-owned sph3. */
|
|
@@ -2835,7 +2929,7 @@ new class extends _identity {
|
|
|
2835
2929
|
super(_EveSpaceObject), _initClass();
|
|
2836
2930
|
}
|
|
2837
2931
|
}();
|
|
2838
|
-
CjsSchema.decorateField(_EveSpaceObject, "meshLod",
|
|
2932
|
+
CjsSchema.decorateField(_EveSpaceObject, "meshLod", edit.persist, type.objectRef("Tr2MeshBase"));
|
|
2839
2933
|
|
|
2840
2934
|
export { _EveSpaceObject as EveSpaceObject2 };
|
|
2841
2935
|
//# sourceMappingURL=EveSpaceObject2.js.map
|