@carbonenginejs/runtime 0.1.0-alpha.2 → 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 +82 -99
- 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/document/CjsDocumentHydrator.js +5 -1
- package/dist/global/model/document/CjsDocumentHydrator.js.map +1 -1
- package/dist/global/model/index.js +1 -1
- package/dist/global/schema/CjsSchema.js +275 -69
- package/dist/global/schema/CjsSchema.js.map +1 -1
- package/dist/global/schema/hydration.js +10 -8
- package/dist/global/schema/hydration.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 +59 -24
- package/dist/index.js.map +1 -1
- package/dist/resource/CjsResMan.js +206 -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 +8 -2
- 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 +666 -565
- 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 +11 -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/SolidColorTextureConstructor.js +46 -0
- package/dist/resource/texture/SolidColorTextureConstructor.js.map +1 -0
- 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 +65 -21
- package/dist/resource/texture/TriTextureRes.js.map +1 -1
- package/dist/resource/texture/index.js +2 -0
- package/dist/resource/texture/index.js.map +1 -1
- package/dist/resource/texture/solidColorTexture.js +111 -0
- package/dist/resource/texture/solidColorTexture.js.map +1 -0
- 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 +169 -155
- 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 +315 -229
- 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 +13 -4
- 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 +539 -432
- 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/IEveSpaceObject2ParentData.js +44 -52
- package/dist/trinity/eve/spaceObject/IEveSpaceObject2ParentData.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 +21 -15
- package/docs/resource/formats/geometry-interchange.md +50 -0
- 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/webgl/decl-io.md +241 -397
- package/docs/resource/formats/webgl/memory-structured.md +91 -128
- package/docs/resource/formats/webgl/texture-sample.md +306 -469
- 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/texture.md +11 -1
- package/docs/resource/reference/classes/video.md +92 -0
- package/docs/resource/reference/events.md +10 -9
- package/docs/resource/reference/motherlode-cache.md +24 -11
- package/docs/resource/reference/queues.md +30 -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';
|
|
@@ -31,16 +34,15 @@ import { Tr2EffectStateManager as _Tr2EffectStateManage } from '../../shader/Tr2
|
|
|
31
34
|
import { CarbonVertexElements } from '../../core/vertex/vertexUsage.js';
|
|
32
35
|
import { RawData } from '../../core/rawData/RawData.js';
|
|
33
36
|
import { TR2_PICK_TYPE_DEFAULT, Tr2PickType } from '../../core/view/Tr2PickType.js';
|
|
34
|
-
import { IEveSpaceObject2ParentData
|
|
37
|
+
import { IEveSpaceObject2ParentData } from './IEveSpaceObject2ParentData.js';
|
|
35
38
|
import { EveCustomMask as _EveCustomMask } from '../EveCustomMask.js';
|
|
36
39
|
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,6 +315,9 @@ 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.
|
|
318
|
+
/** The ParentData Carbon builds on the stack for the decal pass
|
|
319
|
+
* (EveSpaceObject2.cpp:1696), held here so the pass does not allocate. */
|
|
320
|
+
#decalParentData = new IEveSpaceObject2ParentData();
|
|
316
321
|
#vsData = RawData.create("EveSpaceObjectVSData");
|
|
317
322
|
#psData = RawData.create("EveSpaceObjectPSData");
|
|
318
323
|
|
|
@@ -326,12 +331,12 @@ new class extends _identity {
|
|
|
326
331
|
this.mesh = mesh ?? null;
|
|
327
332
|
}
|
|
328
333
|
|
|
329
|
-
/**
|
|
330
|
-
* Links the authored controllers, pushes authored inherit properties down to
|
|
331
|
-
* the effect children and lights, and derives the impact overlay's damage
|
|
332
|
-
* locator count from the "damage" locator set - which Carbon does at build
|
|
333
|
-
* time - so a field-populated graph reaches the same live state as the
|
|
334
|
-
* 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.
|
|
335
340
|
*/
|
|
336
341
|
Initialize() {
|
|
337
342
|
for (const controller of this.controllers) {
|
|
@@ -362,9 +367,9 @@ new class extends _identity {
|
|
|
362
367
|
return this.mesh;
|
|
363
368
|
}
|
|
364
369
|
|
|
365
|
-
/**
|
|
366
|
-
* Replaces the hull mesh; the cached area blocks are only rebuilt on the next
|
|
367
|
-
* batch call.
|
|
370
|
+
/**
|
|
371
|
+
* Replaces the hull mesh; the cached area blocks are only rebuilt on the next
|
|
372
|
+
* batch call.
|
|
368
373
|
*/
|
|
369
374
|
SetMesh(mesh) {
|
|
370
375
|
this.mesh = mesh ?? null;
|
|
@@ -375,33 +380,30 @@ new class extends _identity {
|
|
|
375
380
|
return this.overlayEffects;
|
|
376
381
|
}
|
|
377
382
|
|
|
378
|
-
/**
|
|
379
|
-
* Appends a controller, links it to this object when it is not already linked,
|
|
380
|
-
* 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.
|
|
381
386
|
*/
|
|
382
387
|
AddController(controller) {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
controller?.Link(this);
|
|
386
|
-
}
|
|
387
|
-
_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);
|
|
388
390
|
return controller;
|
|
389
391
|
}
|
|
390
392
|
|
|
391
|
-
/**
|
|
392
|
-
* Appends a placement observer, which is repositioned from the observer
|
|
393
|
-
* transform on every synchronous update; the observer is returned for
|
|
394
|
-
* 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.
|
|
395
397
|
*/
|
|
396
398
|
AddObserver(observer) {
|
|
397
399
|
this.observers.push(observer);
|
|
398
400
|
return observer;
|
|
399
401
|
}
|
|
400
402
|
|
|
401
|
-
/**
|
|
402
|
-
* Sets the colour set that effect children and lights inherit, creating the
|
|
403
|
-
* inherit-properties holder on first use, and pushes it to the existing
|
|
404
|
-
* 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.
|
|
405
407
|
*/
|
|
406
408
|
SetInheritProperties(colorSet) {
|
|
407
409
|
if (!this.inheritProperties) {
|
|
@@ -415,16 +417,16 @@ new class extends _identity {
|
|
|
415
417
|
#PropagateInheritProperties() {
|
|
416
418
|
const properties = this.inheritProperties.GetProperties();
|
|
417
419
|
for (const child of this.effectChildren) {
|
|
418
|
-
if (child
|
|
420
|
+
if (CjsSchema.cast(child, IEveInheritPropertiesOwner)) child.SetInheritProperties(properties);
|
|
419
421
|
}
|
|
420
422
|
for (const light of this.lights) {
|
|
421
|
-
if (light
|
|
423
|
+
if (CjsSchema.cast(light, IEveInheritPropertiesOwner)) light.SetInheritProperties(properties);
|
|
422
424
|
}
|
|
423
425
|
}
|
|
424
426
|
|
|
425
|
-
/**
|
|
426
|
-
* Returns the first effect child with the given name, or null when none
|
|
427
|
-
* matches.
|
|
427
|
+
/**
|
|
428
|
+
* Returns the first effect child with the given name, or null when none
|
|
429
|
+
* matches.
|
|
428
430
|
*/
|
|
429
431
|
GetEffectChildByName(name) {
|
|
430
432
|
const target = String(name ?? "");
|
|
@@ -436,56 +438,151 @@ new class extends _identity {
|
|
|
436
438
|
return null;
|
|
437
439
|
}
|
|
438
440
|
|
|
439
|
-
/**
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
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.
|
|
443
502
|
*/
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
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;
|
|
447
524
|
}
|
|
448
|
-
|
|
449
|
-
|
|
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;
|
|
528
|
+
}
|
|
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);
|
|
450
550
|
this.InvalidateMergedLocators("structure");
|
|
451
|
-
_EveSpaceObject.#ApplyControllerVariables(child, this.#controllerVariables, "SetControllerVariable");
|
|
452
551
|
return child;
|
|
453
552
|
}
|
|
454
553
|
|
|
455
554
|
/** Appends a light, first giving it the hull's inherited properties. */
|
|
456
555
|
AddLight(light) {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
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);
|
|
461
559
|
}
|
|
462
560
|
|
|
463
|
-
/**
|
|
464
|
-
* Drops every light from the hull; component registration is not revisited
|
|
465
|
-
* here.
|
|
561
|
+
/**
|
|
562
|
+
* Drops every light from the hull; component registration is not revisited
|
|
563
|
+
* here.
|
|
466
564
|
*/
|
|
467
565
|
ClearLights() {
|
|
468
|
-
|
|
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");
|
|
469
569
|
}
|
|
470
570
|
|
|
471
|
-
/**
|
|
472
|
-
* Removes an effect child, returning false when it is not attached to this
|
|
473
|
-
* hull.
|
|
571
|
+
/**
|
|
572
|
+
* Removes an effect child, returning false when it is not attached to this
|
|
573
|
+
* hull.
|
|
474
574
|
*/
|
|
475
575
|
RemoveFromEffectChildrenList(child) {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
}
|
|
480
|
-
this.effectChildren.splice(index, 1);
|
|
481
|
-
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;
|
|
482
579
|
this.InvalidateMergedLocators("structure");
|
|
483
580
|
return true;
|
|
484
581
|
}
|
|
485
582
|
|
|
486
|
-
/**
|
|
487
|
-
* Sets the curve that rotates the model within the hull's ball rotation, or
|
|
488
|
-
* 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.
|
|
489
586
|
*/
|
|
490
587
|
SetModelRotationCurve(curve) {
|
|
491
588
|
this.modelRotationCurve = curve ?? null;
|
|
@@ -496,9 +593,9 @@ new class extends _identity {
|
|
|
496
593
|
return this.modelRotationCurve;
|
|
497
594
|
}
|
|
498
595
|
|
|
499
|
-
/**
|
|
500
|
-
* Sets the curve that offsets the model within the hull's ball position, or
|
|
501
|
-
* 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.
|
|
502
599
|
*/
|
|
503
600
|
SetModelTranslationCurve(curve) {
|
|
504
601
|
this.modelTranslationCurve = curve ?? null;
|
|
@@ -509,10 +606,10 @@ new class extends _identity {
|
|
|
509
606
|
return this.modelTranslationCurve;
|
|
510
607
|
}
|
|
511
608
|
|
|
512
|
-
/**
|
|
513
|
-
* 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.
|
|
514
|
-
* @param {number} time Frame time; repeating the previous call's time is a no-op.
|
|
515
|
-
* @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.
|
|
516
613
|
*/
|
|
517
614
|
UpdateWorldTransform(time) {
|
|
518
615
|
const nextTime = Number(time) || 0;
|
|
@@ -566,9 +663,9 @@ new class extends _identity {
|
|
|
566
663
|
return true;
|
|
567
664
|
}
|
|
568
665
|
|
|
569
|
-
/**
|
|
570
|
-
* Refreshes Carbon's realized world-space sphere from the dynamic skinned
|
|
571
|
-
* 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.
|
|
572
669
|
*/
|
|
573
670
|
UpdateWorldBounds() {
|
|
574
671
|
const updater = this.animationUpdater;
|
|
@@ -586,10 +683,10 @@ new class extends _identity {
|
|
|
586
683
|
}
|
|
587
684
|
}
|
|
588
685
|
|
|
589
|
-
/**
|
|
590
|
-
* Carbon EveSpaceObject2::PrepareShaderData (cpp:734-763): refreshes the
|
|
591
|
-
* world bounds, packs the ship data, and derives the clip-sphere dissolve
|
|
592
|
-
* 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.
|
|
593
690
|
*/
|
|
594
691
|
PrepareShaderData(updateContext = null) {
|
|
595
692
|
this.UpdateWorldBounds();
|
|
@@ -619,14 +716,14 @@ new class extends _identity {
|
|
|
619
716
|
this.#psData.Set("clipSphereFactor2", [this.clipSphereFactor2]);
|
|
620
717
|
}
|
|
621
718
|
|
|
622
|
-
/**
|
|
623
|
-
* Carbon EveSpaceObject2::UpdateShLighting (cpp:1411-1421): asks the scene's
|
|
624
|
-
* SH lighting manager for this hull's secondary-lighting coefficients, faded
|
|
625
|
-
* in across the low-detail threshold so a hull entering that range does not
|
|
626
|
-
* pop. The coefficients are cleared first, which is also what leaves the
|
|
627
|
-
* unwritten tail zero on the L1 path.
|
|
628
|
-
* @param {Object} manager - Tr2ShLightingManager
|
|
629
|
-
* @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
|
|
630
727
|
*/
|
|
631
728
|
UpdateShLighting(manager, updateContext = null) {
|
|
632
729
|
const coefficients = this.#psData.Get("shLightingCoefficients");
|
|
@@ -642,23 +739,23 @@ new class extends _identity {
|
|
|
642
739
|
return true;
|
|
643
740
|
}
|
|
644
741
|
|
|
645
|
-
/**
|
|
646
|
-
* Carbon EveSpaceObject2::ClearShLighting (cpp:1423-1426): drops this hull's
|
|
647
|
-
* 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.
|
|
648
745
|
*/
|
|
649
746
|
ClearShLighting() {
|
|
650
747
|
this.#psData.Get("shLightingCoefficients").fill(0);
|
|
651
748
|
return true;
|
|
652
749
|
}
|
|
653
750
|
|
|
654
|
-
/**
|
|
655
|
-
* Carbon EveSpaceObject2::GetParentData (cpp:1872-1885): the values an
|
|
656
|
-
* attachment needs from its hull. `shLighting` is a LIVE view into the PS
|
|
657
|
-
* record, exactly as Carbon hands out a raw pointer into m_psData - an
|
|
658
|
-
* attachment reading it sees the hull's current coefficients.
|
|
659
|
-
* @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
|
|
660
757
|
*/
|
|
661
|
-
GetParentData(out = new
|
|
758
|
+
GetParentData(out = new IEveSpaceObject2ParentData()) {
|
|
662
759
|
mat4.copy(out.transform, this.worldTransform);
|
|
663
760
|
// Carbon memsets the record and never assigns killCount on this path.
|
|
664
761
|
out.killCount = 0;
|
|
@@ -673,11 +770,11 @@ new class extends _identity {
|
|
|
673
770
|
return out;
|
|
674
771
|
}
|
|
675
772
|
|
|
676
|
-
/**
|
|
677
|
-
* Carbon EveSpaceObject2::GetPerObjectStructs (cpp:1485-1490): hands a copy
|
|
678
|
-
* of both records to a caller, with the VS record's customData taken from the
|
|
679
|
-
* PS record as Carbon does.
|
|
680
|
-
* @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
|
|
681
778
|
*/
|
|
682
779
|
GetPerObjectStructs(vsData = RawData.create("EveSpaceObjectVSData"), psData = RawData.create("EveSpaceObjectPSData")) {
|
|
683
780
|
vsData.CopyFrom(this.#vsData);
|
|
@@ -689,9 +786,9 @@ new class extends _identity {
|
|
|
689
786
|
};
|
|
690
787
|
}
|
|
691
788
|
|
|
692
|
-
/**
|
|
693
|
-
* 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.
|
|
694
|
-
* @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.
|
|
695
792
|
*/
|
|
696
793
|
UpdateSyncronous(updateContext = null) {
|
|
697
794
|
const time = _EveSpaceObject.#GetContextValue(updateContext, "GetTime", "currentTime", "time");
|
|
@@ -732,9 +829,9 @@ new class extends _identity {
|
|
|
732
829
|
return true;
|
|
733
830
|
}
|
|
734
831
|
|
|
735
|
-
/**
|
|
736
|
-
* 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.
|
|
737
|
-
* @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.
|
|
738
835
|
*/
|
|
739
836
|
UpdateAsyncronous(updateContext = null) {
|
|
740
837
|
if (!this.update) {
|
|
@@ -811,9 +908,9 @@ new class extends _identity {
|
|
|
811
908
|
return frequency;
|
|
812
909
|
}
|
|
813
910
|
|
|
814
|
-
/**
|
|
815
|
-
* Updates Carbon's visibility, pixel-size, and mesh-LOD state, then forwards
|
|
816
|
-
* 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.
|
|
817
914
|
*/
|
|
818
915
|
UpdateVisibility(updateContext = null, _parentTransform = _EveSpaceObject.#identityTransform) {
|
|
819
916
|
this.isVisible = false;
|
|
@@ -874,6 +971,16 @@ new class extends _identity {
|
|
|
874
971
|
for (const child of this.effectChildren) {
|
|
875
972
|
child?.UpdateVisibility(updateContext, this.worldTransform, this.#lodLevelWithChildren);
|
|
876
973
|
}
|
|
974
|
+
|
|
975
|
+
// Carbon cpp:1694-1706: the decals take one ParentData built for the pass,
|
|
976
|
+
// after the mesh bone palette when the updater has one.
|
|
977
|
+
if (this.#isMeshVisible) {
|
|
978
|
+
const parentData = this.GetParentData(this.#decalParentData);
|
|
979
|
+
for (const decal of this.decals) {
|
|
980
|
+
if (boneCount) decal.SetBoneMatrix(bones, boneCount);
|
|
981
|
+
decal.UpdateVisibility(updateContext, parentData);
|
|
982
|
+
}
|
|
983
|
+
}
|
|
877
984
|
if (this.mesh && this.#boundingSphereWorldRadius > 0) {
|
|
878
985
|
_EveSpaceObject.#SetSphere(_EveSpaceObject.#worldSphere, this.modelWorldPosition, this.#boundingSphereWorldRadius);
|
|
879
986
|
this.#meshScreenSize = _EveSpaceObject.#GetEstimatedPixelSize(frustum, _EveSpaceObject.#worldSphere) * lodFactor;
|
|
@@ -912,10 +1019,10 @@ new class extends _identity {
|
|
|
912
1019
|
return out;
|
|
913
1020
|
}
|
|
914
1021
|
|
|
915
|
-
/** Carbon ITr2Renderable contract (EveSpaceObject2.cpp:1097-1140): activated
|
|
916
|
-
* attachments recurse, the impact overlay contributes, the hull mesh delegates
|
|
917
|
-
* per batch type, and TRANSPARENT routes through the distance-sorted area
|
|
918
|
-
* 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
|
|
919
1026
|
* deferred with the overlay realization work. */
|
|
920
1027
|
GetBatches(batches, batchType, perObjectData, reason, renderContext = null) {
|
|
921
1028
|
if (!this.mesh) return false;
|
|
@@ -955,11 +1062,11 @@ new class extends _identity {
|
|
|
955
1062
|
// from the geometry resource when it exposes them; a failed lookup keeps
|
|
956
1063
|
// Carbon's origin-center fallback.
|
|
957
1064
|
|
|
958
|
-
/**
|
|
959
|
-
* Commits the mesh's transparent areas back-to-front, ordering them by the
|
|
960
|
-
* squared distance from the view position to each area's world-space
|
|
961
|
-
* bounding-box center and falling back to the object origin when the geometry
|
|
962
|
-
* 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.
|
|
963
1070
|
*/
|
|
964
1071
|
#GetSortedTransparentBatches(areas, batches, perObjectData, renderContext) {
|
|
965
1072
|
const geometry = this.mesh.GetGeometryResource() ?? null;
|
|
@@ -997,10 +1104,10 @@ new class extends _identity {
|
|
|
997
1104
|
}
|
|
998
1105
|
}
|
|
999
1106
|
|
|
1000
|
-
/** Rebuilds the cached overlay/shadow area-block lists from the current mesh
|
|
1001
|
-
* (Carbon RebuildCachedData, EveSpaceObject2.cpp:2077-2097, triggered there by
|
|
1002
|
-
* the geometry-resource load callback). TYPE_ALL = shadow-casting OPAQUE +
|
|
1003
|
-
* 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
|
|
1004
1111
|
* shadow list groups OPAQUE areas by shared material. All coalesced. */
|
|
1005
1112
|
RebuildCachedData() {
|
|
1006
1113
|
this.ReleaseCachedData();
|
|
@@ -1020,9 +1127,9 @@ new class extends _identity {
|
|
|
1020
1127
|
this.#cachedAreaBlocksBuilt = true;
|
|
1021
1128
|
}
|
|
1022
1129
|
|
|
1023
|
-
/**
|
|
1024
|
-
* Drops the cached overlay and shadow area-block lists so the next batch call
|
|
1025
|
-
* 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.
|
|
1026
1133
|
*/
|
|
1027
1134
|
ReleaseCachedData() {
|
|
1028
1135
|
for (const blocks of this.#overlayMeshAreaBlocks) {
|
|
@@ -1032,25 +1139,25 @@ new class extends _identity {
|
|
|
1032
1139
|
this.#cachedAreaBlocksBuilt = false;
|
|
1033
1140
|
}
|
|
1034
1141
|
|
|
1035
|
-
/**
|
|
1036
|
-
* Rebuilds the cached area blocks on first use when a mesh is attached; Carbon
|
|
1037
|
-
* 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.
|
|
1038
1145
|
*/
|
|
1039
1146
|
#EnsureCachedAreaBlocks() {
|
|
1040
1147
|
if (!this.#cachedAreaBlocksBuilt && this.mesh) this.RebuildCachedData();
|
|
1041
1148
|
}
|
|
1042
1149
|
|
|
1043
|
-
/**
|
|
1044
|
-
* Carbon EveSpaceObject2::GetPickingBatches (cpp:3645-3675): collects the
|
|
1045
|
-
* geometry a pick pass should test, by mask. It is ordinary batch collection
|
|
1046
|
-
* - the pick itself is an engine pass that renders these and reads IDs back.
|
|
1047
|
-
*
|
|
1048
|
-
* The OPAQUE bit deliberately pulls in the transparent and additive OVERLAY
|
|
1049
|
-
* effects too, so a cloaking hull stays pickable.
|
|
1050
|
-
*
|
|
1051
|
-
* @param {Object} batches - the picking accumulator
|
|
1052
|
-
* @param {Number} pickTypes - a Tr2PickType mask
|
|
1053
|
-
* @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
|
|
1054
1161
|
*/
|
|
1055
1162
|
GetPickingBatches(batches, pickTypes = TR2_PICK_TYPE_DEFAULT, perObjectData = null) {
|
|
1056
1163
|
if (pickTypes & Tr2PickType.PICK_TYPE_PICKING) {
|
|
@@ -1079,21 +1186,21 @@ new class extends _identity {
|
|
|
1079
1186
|
return true;
|
|
1080
1187
|
}
|
|
1081
1188
|
|
|
1082
|
-
/**
|
|
1083
|
-
* Carbon EveSpaceObject2::GetID (cpp:3640-3643): a picked area resolves to
|
|
1084
|
-
* the hull itself, so the area index is deliberately ignored.
|
|
1085
|
-
* @param {Number} [_areaID] - the picked area, unused by this class
|
|
1086
|
-
* @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
|
|
1087
1194
|
*/
|
|
1088
1195
|
GetID(_areaID = 0) {
|
|
1089
1196
|
return this;
|
|
1090
1197
|
}
|
|
1091
1198
|
|
|
1092
|
-
/** Carbon GetShadowBatches (EveSpaceObject2.cpp:1143-1184): one batch per
|
|
1093
|
-
* cached shared-material OPAQUE area block, using the area's own material.
|
|
1094
|
-
* Carbon bakes
|
|
1095
|
-
*
|
|
1096
|
-
* 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. */
|
|
1097
1204
|
GetShadowBatches(batches, perObjectData, _shadowPixelSize) {
|
|
1098
1205
|
if (!this.mesh || this.mesh.display === false) return false;
|
|
1099
1206
|
this.#EnsureCachedAreaBlocks();
|
|
@@ -1115,10 +1222,10 @@ new class extends _identity {
|
|
|
1115
1222
|
return committed;
|
|
1116
1223
|
}
|
|
1117
1224
|
|
|
1118
|
-
/** Carbon GetBatchesFromOverlayVector (EveSpaceObject2.cpp:1199-1285): the
|
|
1119
|
-
* impact overlay's armor-damage shader draws over the TYPE_ALL blocks at
|
|
1120
|
-
* maximum priority; each displayed overlay effect draws its per-batch-type
|
|
1121
|
-
* 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
|
|
1122
1229
|
* else -> TYPE_ALL). */
|
|
1123
1230
|
GetBatchesFromOverlayVector(batches, perObjectData, batchType, mesh) {
|
|
1124
1231
|
const impactEffect = this.impactOverlay?.GetArmorDamageShader?.(batchType) ?? null;
|
|
@@ -1163,10 +1270,10 @@ new class extends _identity {
|
|
|
1163
1270
|
return (batches.GetBatchCount?.() ?? 0) > committedBefore;
|
|
1164
1271
|
}
|
|
1165
1272
|
|
|
1166
|
-
/**
|
|
1167
|
-
* Builds and commits one render batch drawing a single cached area block with
|
|
1168
|
-
* the given material and optional priority, skipping the block when the
|
|
1169
|
-
* 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.
|
|
1170
1277
|
*/
|
|
1171
1278
|
#CommitBlockBatch(batches, material, geometry, meshIndex, block, perObjectData, priority, lod, vertexDeclaration) {
|
|
1172
1279
|
const batch = new Tr2RenderBatch();
|
|
@@ -1184,18 +1291,18 @@ new class extends _identity {
|
|
|
1184
1291
|
|
|
1185
1292
|
// EveMeshOverlayEffect::GetEffects (display-gated, per batch type).
|
|
1186
1293
|
|
|
1187
|
-
/**
|
|
1188
|
-
* Returns an overlay effect's display-gated effect list for a batch type, or
|
|
1189
|
-
* 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.
|
|
1190
1297
|
*/
|
|
1191
1298
|
#OverlayEffectsFor(overlay, batchType) {
|
|
1192
1299
|
return overlay?.GetEffects?.(batchType) ?? null;
|
|
1193
1300
|
}
|
|
1194
1301
|
|
|
1195
|
-
/**
|
|
1196
|
-
* Reports whether the hull mesh has transparent areas or any overlay effect
|
|
1197
|
-
* does, which tells the renderer to route this object through the sorted
|
|
1198
|
-
* 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.
|
|
1199
1306
|
*/
|
|
1200
1307
|
HasTransparentBatches() {
|
|
1201
1308
|
if (!this.mesh) return false;
|
|
@@ -1206,9 +1313,9 @@ new class extends _identity {
|
|
|
1206
1313
|
return false;
|
|
1207
1314
|
}
|
|
1208
1315
|
|
|
1209
|
-
/**
|
|
1210
|
-
* Returns the distance from the render context's view position to the hull
|
|
1211
|
-
* 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.
|
|
1212
1319
|
*/
|
|
1213
1320
|
GetSortValue(renderContext = null) {
|
|
1214
1321
|
const viewPosition = renderContext?.GetViewPosition();
|
|
@@ -1218,9 +1325,9 @@ new class extends _identity {
|
|
|
1218
1325
|
return Math.hypot(x, y, z);
|
|
1219
1326
|
}
|
|
1220
1327
|
|
|
1221
|
-
/** Carbon allocates Tr2PerObjectDataWithPersistentBuffers<EveSpaceObject2>.
|
|
1222
|
-
* This port retains persistent VS/PS RawData and returns those records
|
|
1223
|
-
* 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
|
|
1224
1331
|
* an engine supplies them; other CPU-known values are already encoded. */
|
|
1225
1332
|
GetPerObjectData(_accumulator = null) {
|
|
1226
1333
|
// Carbon cpp:1437-1445: the bone ring is uploaded and its OFFSETS stamped
|
|
@@ -1244,13 +1351,13 @@ new class extends _identity {
|
|
|
1244
1351
|
return this.GetPerObjectData(accumulator);
|
|
1245
1352
|
}
|
|
1246
1353
|
|
|
1247
|
-
/** Carbon EveSpaceObject2::GetLights (cpp:3536-3555): display gate only
|
|
1248
|
-
* (no lights-empty early-out, unlike EveChildMesh), then per light
|
|
1249
|
-
* AddLight(manager, worldTransform, 1, bones, boneCount) FOLLOWED by
|
|
1250
|
-
* SetBrightnessMultiplier(m_activationStrength) - the order is contract:
|
|
1251
|
-
* the submission uses the multiplier stamped on the PREVIOUS pass (first
|
|
1252
|
-
* pass uses the Tr2Light default 1) - one frame of activation-strength
|
|
1253
|
-
* 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
|
|
1254
1361
|
* not ported. */
|
|
1255
1362
|
GetLights(lightManager) {
|
|
1256
1363
|
if (!this.display) {
|
|
@@ -1269,11 +1376,11 @@ new class extends _identity {
|
|
|
1269
1376
|
}
|
|
1270
1377
|
}
|
|
1271
1378
|
|
|
1272
|
-
/**
|
|
1273
|
-
* Carbon EveSpaceObject2::IsCastingShadow (cpp:2252-2274): applies the
|
|
1274
|
-
* display, world-sphere and reflection gates, then tests the realized sphere
|
|
1275
|
-
* against the supplied shadow frustum. Carbon's float& result is represented
|
|
1276
|
-
* 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.
|
|
1277
1384
|
*/
|
|
1278
1385
|
IsCastingShadow(cameraFrustum, shadowFrustum, renderReason, sizeInShadowOut = null) {
|
|
1279
1386
|
if (!this.display || this.#boundingSphereWorldRadius <= 0) {
|
|
@@ -1296,9 +1403,9 @@ new class extends _identity {
|
|
|
1296
1403
|
return sizeInShadow > 15;
|
|
1297
1404
|
}
|
|
1298
1405
|
|
|
1299
|
-
/** Carbon EveSpaceObject2::RegisterComponents (cpp:3568-3609): registers its
|
|
1300
|
-
* own components and its children with the scene registration container "so
|
|
1301
|
-
* 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
|
|
1302
1409
|
* (cpp:3572-3575) is audio-engine-owned and unported. Gate m_display. */
|
|
1303
1410
|
RegisterComponents() {
|
|
1304
1411
|
const registry = this.GetComponentRegistry();
|
|
@@ -1321,10 +1428,10 @@ new class extends _identity {
|
|
|
1321
1428
|
}
|
|
1322
1429
|
}
|
|
1323
1430
|
|
|
1324
|
-
/** Carbon EveSpaceObject2::UnRegisterComponents (cpp:3615-3638): forwards
|
|
1325
|
-
* the un-registration to the children only - EveEntity::UnRegister already
|
|
1326
|
-
* called UnRegisterAllComponents(this) first (EveEntity.cpp:90) - and does
|
|
1327
|
-
* 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
|
|
1328
1435
|
* audio-engine-owned and unported. */
|
|
1329
1436
|
UnRegisterComponents() {
|
|
1330
1437
|
const registry = this.GetComponentRegistry();
|
|
@@ -1338,25 +1445,25 @@ new class extends _identity {
|
|
|
1338
1445
|
}
|
|
1339
1446
|
}
|
|
1340
1447
|
|
|
1341
|
-
/**
|
|
1342
|
-
* Reports whether children and effect children should be shown; always true on
|
|
1343
|
-
* 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.
|
|
1344
1451
|
*/
|
|
1345
1452
|
DisplayChildren() {
|
|
1346
1453
|
return true;
|
|
1347
1454
|
}
|
|
1348
1455
|
|
|
1349
|
-
/**
|
|
1350
|
-
* Returns the transform placement observers are attached to - the live hull
|
|
1351
|
-
* world transform.
|
|
1456
|
+
/**
|
|
1457
|
+
* Returns the transform placement observers are attached to - the live hull
|
|
1458
|
+
* world transform.
|
|
1352
1459
|
*/
|
|
1353
1460
|
GetObserverTransform() {
|
|
1354
1461
|
return this.worldTransform;
|
|
1355
1462
|
}
|
|
1356
1463
|
|
|
1357
|
-
/**
|
|
1358
|
-
* Returns the transform effect children are placed against - the live hull
|
|
1359
|
-
* world transform, not a copy.
|
|
1464
|
+
/**
|
|
1465
|
+
* Returns the transform effect children are placed against - the live hull
|
|
1466
|
+
* world transform, not a copy.
|
|
1360
1467
|
*/
|
|
1361
1468
|
GetLocalToWorldTransform() {
|
|
1362
1469
|
return this.worldTransform;
|
|
@@ -1367,26 +1474,26 @@ new class extends _identity {
|
|
|
1367
1474
|
vec3.transformMat4(out, this.boundingSphereCenter, this.worldTransform);
|
|
1368
1475
|
}
|
|
1369
1476
|
|
|
1370
|
-
/**
|
|
1371
|
-
* Returns the live curve-sampled ball position; the array is the object's own
|
|
1372
|
-
* 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.
|
|
1373
1480
|
*/
|
|
1374
1481
|
GetWorldPosition() {
|
|
1375
1482
|
return this.worldPosition;
|
|
1376
1483
|
}
|
|
1377
1484
|
|
|
1378
|
-
/**
|
|
1379
|
-
* Returns the live curve-sampled ball rotation, which excludes the model
|
|
1380
|
-
* rotation curve; the quaternion is the object's own field and is rewritten by
|
|
1381
|
-
* 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.
|
|
1382
1489
|
*/
|
|
1383
1490
|
GetWorldRotation() {
|
|
1384
1491
|
return this.worldRotation;
|
|
1385
1492
|
}
|
|
1386
1493
|
|
|
1387
|
-
/**
|
|
1388
|
-
* Finds a sound emitter by observer name on this hull and then recursively in
|
|
1389
|
-
* 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.
|
|
1390
1497
|
*/
|
|
1391
1498
|
FindSoundEmitter(name) {
|
|
1392
1499
|
const target = String(name ?? "");
|
|
@@ -1404,9 +1511,9 @@ new class extends _identity {
|
|
|
1404
1511
|
return null;
|
|
1405
1512
|
}
|
|
1406
1513
|
|
|
1407
|
-
/**
|
|
1408
|
-
* Sets the mute flag and pushes it to every effect child and placement
|
|
1409
|
-
* observer.
|
|
1514
|
+
/**
|
|
1515
|
+
* Sets the mute flag and pushes it to every effect child and placement
|
|
1516
|
+
* observer.
|
|
1410
1517
|
*/
|
|
1411
1518
|
SetMute(mute) {
|
|
1412
1519
|
this.mute = !!mute;
|
|
@@ -1418,19 +1525,19 @@ new class extends _identity {
|
|
|
1418
1525
|
}
|
|
1419
1526
|
}
|
|
1420
1527
|
|
|
1421
|
-
/**
|
|
1422
|
-
* Plays an animation with explicit loop, start, and speed settings
|
|
1423
|
-
* (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).
|
|
1424
1531
|
*/
|
|
1425
1532
|
PlayAnimationEx(animName, loopCount, start, speed, clearWhenDone = true) {
|
|
1426
1533
|
this.#PlayAnimation(animName, true, loopCount, start, speed, clearWhenDone);
|
|
1427
1534
|
}
|
|
1428
1535
|
|
|
1429
|
-
/**
|
|
1430
|
-
* Calculates the skinned bounding box under a transform (CMF path: the
|
|
1431
|
-
* local box corners transformed with perspective divide). The granny path
|
|
1432
|
-
* is unported. Returns an inverted-empty { min, max } box when dynamic
|
|
1433
|
-
* 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.
|
|
1434
1541
|
*/
|
|
1435
1542
|
CalculateSkinnedBoundingBoxFromTransform(transform) {
|
|
1436
1543
|
const min = vec3.fromValues(Infinity, Infinity, Infinity);
|
|
@@ -1454,10 +1561,10 @@ new class extends _identity {
|
|
|
1454
1561
|
};
|
|
1455
1562
|
}
|
|
1456
1563
|
|
|
1457
|
-
/**
|
|
1458
|
-
* Calculates the skinned bounding sphere (CMF path: the current bounding
|
|
1459
|
-
* sphere; granny path unported). Returns (0,0,0,-1) when dynamic bounds
|
|
1460
|
-
* 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.
|
|
1461
1568
|
*/
|
|
1462
1569
|
CalculateSkinnedBoundingSphere(out = vec4.create()) {
|
|
1463
1570
|
if (this.dynamicBoundingSphereEnabled && this.mesh?.GetGeometryResource()?.IsUsingCMF?.()) {
|
|
@@ -1476,9 +1583,9 @@ new class extends _identity {
|
|
|
1476
1583
|
}
|
|
1477
1584
|
}
|
|
1478
1585
|
|
|
1479
|
-
/**
|
|
1480
|
-
* Rebuilds the locator sets visible on this object from its own authored sets
|
|
1481
|
-
* 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.
|
|
1482
1589
|
*/
|
|
1483
1590
|
EnsureChildLocatorMerged() {
|
|
1484
1591
|
if (!this.#mergedLocatorSetsDirty) return;
|
|
@@ -1542,11 +1649,11 @@ new class extends _identity {
|
|
|
1542
1649
|
this.#damageFilterAreas.length = 0;
|
|
1543
1650
|
}
|
|
1544
1651
|
|
|
1545
|
-
/**
|
|
1546
|
-
* Collects prepared hull and child geometry and opens raycast sessions
|
|
1547
|
-
* (Carbon CollectOccluders, EveSpaceObject2.cpp:1960-2028): occluders carry
|
|
1548
|
-
* areaStart/areaCount ranges into the shared #damageFilterAreas pool, and
|
|
1549
|
-
* 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.
|
|
1550
1657
|
*/
|
|
1551
1658
|
#CollectDamageFilterOccluders() {
|
|
1552
1659
|
this.#damageFilterOccluders.length = 0;
|
|
@@ -1693,8 +1800,8 @@ new class extends _identity {
|
|
|
1693
1800
|
if (this.#damageFilterState === 0) this.#damageFilterState = 1;
|
|
1694
1801
|
}
|
|
1695
1802
|
|
|
1696
|
-
/**
|
|
1697
|
-
* Clears all impact and damage effects on the impact overlay.
|
|
1803
|
+
/**
|
|
1804
|
+
* Clears all impact and damage effects on the impact overlay.
|
|
1698
1805
|
*/
|
|
1699
1806
|
ClearImpactDamage() {
|
|
1700
1807
|
if (this.impactOverlay) this.impactOverlay.Clear();
|
|
@@ -1705,23 +1812,23 @@ new class extends _identity {
|
|
|
1705
1812
|
}
|
|
1706
1813
|
}
|
|
1707
1814
|
|
|
1708
|
-
/**
|
|
1709
|
-
* Clears all animations on the animation updater.
|
|
1815
|
+
/**
|
|
1816
|
+
* Clears all animations on the animation updater.
|
|
1710
1817
|
*/
|
|
1711
1818
|
ClearAnimations() {
|
|
1712
1819
|
this.animationUpdater?.ClearAnimations?.();
|
|
1713
1820
|
}
|
|
1714
1821
|
|
|
1715
|
-
/**
|
|
1716
|
-
* 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.
|
|
1717
1824
|
*/
|
|
1718
1825
|
CreateImpactFromPosition(position, direction, lifeTime, size) {
|
|
1719
1826
|
const closestDamageLocator = this.#GetClosestLocatorIndex(position, _EveSpaceObject.#damageLocatorSetName);
|
|
1720
1827
|
return this.CreateImpact(closestDamageLocator, direction, lifeTime, size);
|
|
1721
1828
|
}
|
|
1722
1829
|
|
|
1723
|
-
/**
|
|
1724
|
-
* 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.
|
|
1725
1832
|
*/
|
|
1726
1833
|
CreateImpact(damageLocatorIndex, direction, lifeTime, size) {
|
|
1727
1834
|
if (this.impactOverlay) {
|
|
@@ -1738,16 +1845,16 @@ new class extends _identity {
|
|
|
1738
1845
|
return -1;
|
|
1739
1846
|
}
|
|
1740
1847
|
|
|
1741
|
-
/**
|
|
1742
|
-
* Ends the current animation on the animation updater.
|
|
1848
|
+
/**
|
|
1849
|
+
* Ends the current animation on the animation updater.
|
|
1743
1850
|
*/
|
|
1744
1851
|
EndAnimation() {
|
|
1745
1852
|
this.animationUpdater?.EndAnimation?.();
|
|
1746
1853
|
}
|
|
1747
1854
|
|
|
1748
|
-
/**
|
|
1749
|
-
* Freezes LOD selection at the current mesh and marks decal geometry
|
|
1750
|
-
* frozen.
|
|
1855
|
+
/**
|
|
1856
|
+
* Freezes LOD selection at the current mesh and marks decal geometry
|
|
1857
|
+
* frozen.
|
|
1751
1858
|
*/
|
|
1752
1859
|
FreezeHighDetailMesh() {
|
|
1753
1860
|
this.#allowLodSelection = false;
|
|
@@ -1756,23 +1863,23 @@ new class extends _identity {
|
|
|
1756
1863
|
}
|
|
1757
1864
|
}
|
|
1758
1865
|
|
|
1759
|
-
/**
|
|
1760
|
-
* Gets the number of damage locators on this object.
|
|
1866
|
+
/**
|
|
1867
|
+
* Gets the number of damage locators on this object.
|
|
1761
1868
|
*/
|
|
1762
1869
|
GetDamageLocatorCount() {
|
|
1763
1870
|
return this.GetLocatorCount(_EveSpaceObject.#damageLocatorSetName);
|
|
1764
1871
|
}
|
|
1765
1872
|
|
|
1766
|
-
/**
|
|
1767
|
-
* Gets the number of locators in a named locator set.
|
|
1873
|
+
/**
|
|
1874
|
+
* Gets the number of locators in a named locator set.
|
|
1768
1875
|
*/
|
|
1769
1876
|
GetLocatorCount(locatorSetName) {
|
|
1770
1877
|
return this.#GetLocatorsForSet(locatorSetName)?.length ?? 0;
|
|
1771
1878
|
}
|
|
1772
1879
|
|
|
1773
|
-
/**
|
|
1774
|
-
* Gets the first locator list whose set has the requested Carbon name.
|
|
1775
|
-
* 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.
|
|
1776
1883
|
*/
|
|
1777
1884
|
GetLocatorsForSet(locatorSetName) {
|
|
1778
1885
|
return this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -1806,9 +1913,9 @@ new class extends _identity {
|
|
|
1806
1913
|
this.InvalidateMergedLocators("structure");
|
|
1807
1914
|
}
|
|
1808
1915
|
|
|
1809
|
-
/**
|
|
1810
|
-
* Gets the closest locator in a set to a world position, ignoring locator
|
|
1811
|
-
* 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.
|
|
1812
1919
|
*/
|
|
1813
1920
|
GetCloseLocatorIndex(position, locatorSetName) {
|
|
1814
1921
|
const locators = this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -1832,19 +1939,19 @@ new class extends _identity {
|
|
|
1832
1939
|
return closestIndex;
|
|
1833
1940
|
}
|
|
1834
1941
|
|
|
1835
|
-
/**
|
|
1836
|
-
* Carbon's script surface maps GetGoodLocatorIndex to GetCloseLocatorIndex
|
|
1837
|
-
* (EveSpaceObject2_Blue.cpp); the internal randomized fit heuristic is not
|
|
1838
|
-
* 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.
|
|
1839
1946
|
*/
|
|
1840
1947
|
GetGoodLocatorIndex(position, locatorSetName) {
|
|
1841
1948
|
return this.GetCloseLocatorIndex(position, locatorSetName);
|
|
1842
1949
|
}
|
|
1843
1950
|
|
|
1844
|
-
/**
|
|
1845
|
-
* Gets the local direction of an indexed damage locator, (0,0,0) for
|
|
1846
|
-
* indices out of range (Carbon script GetDamageLocatorDirection maps to
|
|
1847
|
-
* 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).
|
|
1848
1955
|
*/
|
|
1849
1956
|
GetDamageLocatorDirection(index, inWorldSpaceOrOut = vec3.create(), out = vec3.create()) {
|
|
1850
1957
|
const targetableCall = typeof inWorldSpaceOrOut === "boolean";
|
|
@@ -1873,10 +1980,10 @@ new class extends _identity {
|
|
|
1873
1980
|
return true;
|
|
1874
1981
|
}
|
|
1875
1982
|
|
|
1876
|
-
/**
|
|
1877
|
-
* Gets a damage locator's BIND position in object space - the merged set's
|
|
1878
|
-
* authored position, no animation (Carbon EveSpaceObject2.cpp:2785-2796).
|
|
1879
|
-
* 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.
|
|
1880
1987
|
*/
|
|
1881
1988
|
GetDamageLocatorBindPosition(index, out = vec3.create()) {
|
|
1882
1989
|
const locators = this.#GetLocatorsForSet(_EveSpaceObject.#damageLocatorSetName);
|
|
@@ -2017,9 +2124,9 @@ new class extends _identity {
|
|
|
2017
2124
|
return false;
|
|
2018
2125
|
}
|
|
2019
2126
|
|
|
2020
|
-
/**
|
|
2021
|
-
* Gets the local position of an indexed damage locator, (0,0,0) for
|
|
2022
|
-
* indices out of range.
|
|
2127
|
+
/**
|
|
2128
|
+
* Gets the local position of an indexed damage locator, (0,0,0) for
|
|
2129
|
+
* indices out of range.
|
|
2023
2130
|
*/
|
|
2024
2131
|
GetDamageLocator(index, out = vec3.create()) {
|
|
2025
2132
|
const locators = this.#GetLocatorsForSet(_EveSpaceObject.#damageLocatorSetName);
|
|
@@ -2031,9 +2138,9 @@ new class extends _identity {
|
|
|
2031
2138
|
return out;
|
|
2032
2139
|
}
|
|
2033
2140
|
|
|
2034
|
-
/**
|
|
2035
|
-
* Gets the world-space position of an indexed damage locator, (0,0,0) for
|
|
2036
|
-
* 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).
|
|
2037
2144
|
*/
|
|
2038
2145
|
GetTransformedDamageLocator(index, out = vec3.create()) {
|
|
2039
2146
|
const locators = this.#GetLocatorsForSet(_EveSpaceObject.#damageLocatorSetName);
|
|
@@ -2045,18 +2152,18 @@ new class extends _identity {
|
|
|
2045
2152
|
return vec3.transformMat4(out, out, this.worldTransform);
|
|
2046
2153
|
}
|
|
2047
2154
|
|
|
2048
|
-
/**
|
|
2049
|
-
* Checks whether this object is in impostor mode. The impostor system that
|
|
2050
|
-
* 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.
|
|
2051
2158
|
*/
|
|
2052
2159
|
IsImpostor() {
|
|
2053
2160
|
return this.#impostorMode;
|
|
2054
2161
|
}
|
|
2055
2162
|
|
|
2056
|
-
/**
|
|
2057
|
-
* Gets a locator position from a named set. Out-of-range or missing-set
|
|
2058
|
-
* queries return the world translation in world space and (0,0,0) in
|
|
2059
|
-
* 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.
|
|
2060
2167
|
*/
|
|
2061
2168
|
GetLocatorPositionFromSet(index, inWorldSpace, locatorSetName, out = vec3.create()) {
|
|
2062
2169
|
const locators = this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -2074,9 +2181,9 @@ new class extends _identity {
|
|
|
2074
2181
|
return out;
|
|
2075
2182
|
}
|
|
2076
2183
|
|
|
2077
|
-
/**
|
|
2078
|
-
* Gets a locator direction from a named set. Out-of-range or missing-set
|
|
2079
|
-
* 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.
|
|
2080
2187
|
*/
|
|
2081
2188
|
GetLocatorRotationFromSet(index, inWorldSpace, locatorSetName, out = vec3.create()) {
|
|
2082
2189
|
const locators = this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -2091,9 +2198,9 @@ new class extends _identity {
|
|
|
2091
2198
|
return out;
|
|
2092
2199
|
}
|
|
2093
2200
|
|
|
2094
|
-
/**
|
|
2095
|
-
* Raises a named controller event on this hull's controllers and forwards it
|
|
2096
|
-
* 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.
|
|
2097
2204
|
*/
|
|
2098
2205
|
HandleControllerEvent(name) {
|
|
2099
2206
|
const eventName = String(name ?? "");
|
|
@@ -2108,24 +2215,24 @@ new class extends _identity {
|
|
|
2108
2215
|
}
|
|
2109
2216
|
}
|
|
2110
2217
|
|
|
2111
|
-
/**
|
|
2112
|
-
* Plays an animation once, replacing the current one
|
|
2113
|
-
* (Carbon script PlayAnimation maps to PlayAnimationOnce).
|
|
2218
|
+
/**
|
|
2219
|
+
* Plays an animation once, replacing the current one
|
|
2220
|
+
* (Carbon script PlayAnimation maps to PlayAnimationOnce).
|
|
2114
2221
|
*/
|
|
2115
2222
|
PlayAnimation(animName) {
|
|
2116
2223
|
this.#PlayAnimation(animName, true, 1, 0, 1, true);
|
|
2117
2224
|
}
|
|
2118
2225
|
|
|
2119
|
-
/**
|
|
2120
|
-
* Chains an animation once after the current one (Carbon ChainAnimation).
|
|
2226
|
+
/**
|
|
2227
|
+
* Chains an animation once after the current one (Carbon ChainAnimation).
|
|
2121
2228
|
*/
|
|
2122
2229
|
ChainAnimation(animName) {
|
|
2123
2230
|
this.#PlayAnimation(animName, false, 1, 0, 1, true);
|
|
2124
2231
|
}
|
|
2125
2232
|
|
|
2126
|
-
/**
|
|
2127
|
-
* Chains an animation with explicit loop, start, and speed settings
|
|
2128
|
-
* (Carbon ChainAnimationEx).
|
|
2233
|
+
/**
|
|
2234
|
+
* Chains an animation with explicit loop, start, and speed settings
|
|
2235
|
+
* (Carbon ChainAnimationEx).
|
|
2129
2236
|
*/
|
|
2130
2237
|
ChainAnimationEx(animName, loopCount, start, speed) {
|
|
2131
2238
|
this.#PlayAnimation(animName, false, loopCount, start, speed, true);
|
|
@@ -2135,17 +2242,17 @@ new class extends _identity {
|
|
|
2135
2242
|
// into the animation updater, which owns playback state; a missing updater
|
|
2136
2243
|
// is a Carbon-faithful no-op.
|
|
2137
2244
|
|
|
2138
|
-
/**
|
|
2139
|
-
* Forwards a playback request to the animation updater, which owns all
|
|
2140
|
-
* 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.
|
|
2141
2248
|
*/
|
|
2142
2249
|
#PlayAnimation(animName, replace, loopCount, delay, speed, clearWhenDone) {
|
|
2143
2250
|
this.animationUpdater?.PlayAnimation?.(String(animName ?? ""), replace, loopCount, delay, speed, clearWhenDone);
|
|
2144
2251
|
}
|
|
2145
2252
|
|
|
2146
|
-
/**
|
|
2147
|
-
* Recalculates the authored bounding sphere from the mesh geometry
|
|
2148
|
-
* 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.
|
|
2149
2256
|
*/
|
|
2150
2257
|
RebuildBoundingSphereInformation() {
|
|
2151
2258
|
const mesh = this.mesh;
|
|
@@ -2175,9 +2282,9 @@ new class extends _identity {
|
|
|
2175
2282
|
return this;
|
|
2176
2283
|
}
|
|
2177
2284
|
|
|
2178
|
-
/**
|
|
2179
|
-
* Returns a plain-object snapshot of the controller variables currently
|
|
2180
|
-
* stamped on this hull.
|
|
2285
|
+
/**
|
|
2286
|
+
* Returns a plain-object snapshot of the controller variables currently
|
|
2287
|
+
* stamped on this hull.
|
|
2181
2288
|
*/
|
|
2182
2289
|
GetControllerVariables() {
|
|
2183
2290
|
return Object.fromEntries(this.#controllerVariables);
|
|
@@ -2191,11 +2298,11 @@ new class extends _identity {
|
|
|
2191
2298
|
return geometryResource.GetLodIndexForScreenSize?.(this.mesh?.GetMeshIndex?.() ?? 0, this.#meshScreenSize) ?? 0;
|
|
2192
2299
|
}
|
|
2193
2300
|
|
|
2194
|
-
/**
|
|
2195
|
-
* Gets a named locator's transform (Carbon script GetLocatorTransform maps
|
|
2196
|
-
* to GetEveLocatorTransform): the identity for unknown names, the animated
|
|
2197
|
-
* bone world transform when the animation updater resolves the name, else
|
|
2198
|
-
* 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.
|
|
2199
2306
|
*/
|
|
2200
2307
|
GetLocatorTransform(name, out = mat4.create()) {
|
|
2201
2308
|
const target = String(name ?? "");
|
|
@@ -2215,11 +2322,11 @@ new class extends _identity {
|
|
|
2215
2322
|
return mat4.copy(out, locator.GetTransform());
|
|
2216
2323
|
}
|
|
2217
2324
|
|
|
2218
|
-
/**
|
|
2219
|
-
* Gets the local axis-aligned bounding box: dynamic skinned bounds when
|
|
2220
|
-
* enabled, else the mesh box, else the cached box (at worst it lags one
|
|
2221
|
-
* frame). With out arguments it fills them and returns true; without, it
|
|
2222
|
-
* 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 }.
|
|
2223
2330
|
*/
|
|
2224
2331
|
GetLocalBoundingBox(minBounds, maxBounds) {
|
|
2225
2332
|
const min = vec3.create();
|
|
@@ -2269,9 +2376,9 @@ new class extends _identity {
|
|
|
2269
2376
|
return geometryResource ? geometryResource.IsGood() : false;
|
|
2270
2377
|
}
|
|
2271
2378
|
|
|
2272
|
-
/**
|
|
2273
|
-
* Gets Carbon's realized world sphere, optionally accumulated with transform
|
|
2274
|
-
* 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.
|
|
2275
2382
|
*/
|
|
2276
2383
|
GetBoundingSphere(out = sph3.create(), query = 0) {
|
|
2277
2384
|
if (this.boundingSphereRadius <= 0 && this.#dynamicBoundingSphere[3] <= 0) return false;
|
|
@@ -2307,9 +2414,9 @@ new class extends _identity {
|
|
|
2307
2414
|
return this.#isInFrustum;
|
|
2308
2415
|
}
|
|
2309
2416
|
|
|
2310
|
-
/**
|
|
2311
|
-
* Gets the bounding sphere center, preferring the dynamic skinned sphere
|
|
2312
|
-
* when one is published.
|
|
2417
|
+
/**
|
|
2418
|
+
* Gets the bounding sphere center, preferring the dynamic skinned sphere
|
|
2419
|
+
* when one is published.
|
|
2313
2420
|
*/
|
|
2314
2421
|
GetBoundingSphereCenter(out = vec3.create()) {
|
|
2315
2422
|
if (this.#dynamicBoundingSphere[3] !== -1) {
|
|
@@ -2318,9 +2425,9 @@ new class extends _identity {
|
|
|
2318
2425
|
return vec3.copy(out, this.boundingSphereCenter);
|
|
2319
2426
|
}
|
|
2320
2427
|
|
|
2321
|
-
/**
|
|
2322
|
-
* Gets the model-scaled bounding sphere radius, preferring the dynamic
|
|
2323
|
-
* 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.
|
|
2324
2431
|
*/
|
|
2325
2432
|
GetBoundingSphereRadius() {
|
|
2326
2433
|
if (this.#dynamicBoundingSphere[3] !== -1) {
|
|
@@ -2329,9 +2436,9 @@ new class extends _identity {
|
|
|
2329
2436
|
return this.modelScale * this.boundingSphereRadius;
|
|
2330
2437
|
}
|
|
2331
2438
|
|
|
2332
|
-
/**
|
|
2333
|
-
* Gets the number of mesh-bound bones. Carbon dereferences the animation
|
|
2334
|
-
* 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.
|
|
2335
2442
|
*/
|
|
2336
2443
|
GetBoneCount() {
|
|
2337
2444
|
const updater = this.animationUpdater;
|
|
@@ -2347,10 +2454,10 @@ new class extends _identity {
|
|
|
2347
2454
|
return updater.GetMeshBindingBoneCount?.() ?? 0;
|
|
2348
2455
|
}
|
|
2349
2456
|
|
|
2350
|
-
/**
|
|
2351
|
-
* Pushes shield, armor and hull damage levels to the impact overlay and
|
|
2352
|
-
* mirrors them into the ShieldDamage, ArmorDamage and HullDamage controller
|
|
2353
|
-
* 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.
|
|
2354
2461
|
*/
|
|
2355
2462
|
SetImpactDamageState(shield, armor, hull, doCreateArmorImpacts = true) {
|
|
2356
2463
|
if (this.impactOverlay) {
|
|
@@ -2366,8 +2473,8 @@ new class extends _identity {
|
|
|
2366
2473
|
this.SetControllerVariable("HullDamage", hull);
|
|
2367
2474
|
}
|
|
2368
2475
|
|
|
2369
|
-
/**
|
|
2370
|
-
* Toggles a named impact-overlay animation (boosters, hardeners, ...).
|
|
2476
|
+
/**
|
|
2477
|
+
* Toggles a named impact-overlay animation (boosters, hardeners, ...).
|
|
2371
2478
|
*/
|
|
2372
2479
|
SetImpactAnimation(name, enable, duration) {
|
|
2373
2480
|
if (!this.impactOverlay) return;
|
|
@@ -2399,10 +2506,10 @@ new class extends _identity {
|
|
|
2399
2506
|
return overlay;
|
|
2400
2507
|
}
|
|
2401
2508
|
|
|
2402
|
-
/**
|
|
2403
|
-
* Stores a controller variable on the hull and pushes it to the controllers,
|
|
2404
|
-
* effect children and overlay effects; the stored value is replayed onto
|
|
2405
|
-
* 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.
|
|
2406
2513
|
*/
|
|
2407
2514
|
SetControllerVariable(name, value) {
|
|
2408
2515
|
const key = String(name ?? "");
|
|
@@ -2419,9 +2526,9 @@ new class extends _identity {
|
|
|
2419
2526
|
}
|
|
2420
2527
|
}
|
|
2421
2528
|
|
|
2422
|
-
/**
|
|
2423
|
-
* Forwards a procedural-container variable to every effect child; the hull
|
|
2424
|
-
* itself keeps no copy.
|
|
2529
|
+
/**
|
|
2530
|
+
* Forwards a procedural-container variable to every effect child; the hull
|
|
2531
|
+
* itself keeps no copy.
|
|
2425
2532
|
*/
|
|
2426
2533
|
SetProceduralContainerVariable(name, value) {
|
|
2427
2534
|
for (const child of this.effectChildren) {
|
|
@@ -2429,9 +2536,9 @@ new class extends _identity {
|
|
|
2429
2536
|
}
|
|
2430
2537
|
}
|
|
2431
2538
|
|
|
2432
|
-
/**
|
|
2433
|
-
* Starts this hull's controllers and those of its effect children and overlay
|
|
2434
|
-
* effects.
|
|
2539
|
+
/**
|
|
2540
|
+
* Starts this hull's controllers and those of its effect children and overlay
|
|
2541
|
+
* effects.
|
|
2435
2542
|
*/
|
|
2436
2543
|
StartControllers() {
|
|
2437
2544
|
for (const controller of this.controllers) {
|
|
@@ -2445,13 +2552,13 @@ new class extends _identity {
|
|
|
2445
2552
|
}
|
|
2446
2553
|
}
|
|
2447
2554
|
|
|
2448
|
-
/**
|
|
2449
|
-
* Applies bone and model transforms to locators and returns
|
|
2450
|
-
* [position, rotation, boneIndex] tuples, as the Carbon script surface
|
|
2451
|
-
* does (TransformLocators maps to PyTransformLocators). Accepts either
|
|
2452
|
-
* locator records ({ position, direction, boneIndex }, Carbon's
|
|
2453
|
-
* LocatorStructureList shape) or the same [position, rotation, boneIndex]
|
|
2454
|
-
* 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.
|
|
2455
2562
|
*/
|
|
2456
2563
|
TransformLocators(locators = []) {
|
|
2457
2564
|
const result = [];
|
|
@@ -2480,10 +2587,10 @@ new class extends _identity {
|
|
|
2480
2587
|
// Carbon Blue TransformLocator: bone-attached records pick up the mesh
|
|
2481
2588
|
// bone matrix; without bone data the authored values pass through.
|
|
2482
2589
|
|
|
2483
|
-
/**
|
|
2484
|
-
* Applies the mesh bone matrix to a locator position and rotation for
|
|
2485
|
-
* bone-attached locators; the authored values pass through unchanged when
|
|
2486
|
-
* 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.
|
|
2487
2594
|
*/
|
|
2488
2595
|
#TransformLocator(position, rotation, boneIndex) {
|
|
2489
2596
|
const updater = this.animationUpdater;
|
|
@@ -2503,10 +2610,10 @@ new class extends _identity {
|
|
|
2503
2610
|
// origin (pure GetValueAt, no playback advance): translation adds, model
|
|
2504
2611
|
// rotation rotates the position and pre-multiplies.
|
|
2505
2612
|
|
|
2506
|
-
/**
|
|
2507
|
-
* Applies the model translation and rotation curves sampled at time 0 to a
|
|
2508
|
-
* locator position and rotation, matching Carbon's Blue locator surface, which
|
|
2509
|
-
* 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.
|
|
2510
2617
|
*/
|
|
2511
2618
|
#ApplyModelTransform(position, rotation) {
|
|
2512
2619
|
if (this.modelTranslationCurve) {
|
|
@@ -2524,9 +2631,9 @@ new class extends _identity {
|
|
|
2524
2631
|
|
|
2525
2632
|
// Carbon GetLocatorsForSet: first set matching the name wins.
|
|
2526
2633
|
|
|
2527
|
-
/**
|
|
2528
|
-
* Returns the locator list of the first locator set carrying the name, or null
|
|
2529
|
-
* 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.
|
|
2530
2637
|
*/
|
|
2531
2638
|
#GetLocatorsForSet(locatorSetName) {
|
|
2532
2639
|
const target = String(locatorSetName ?? "");
|
|
@@ -2539,19 +2646,19 @@ new class extends _identity {
|
|
|
2539
2646
|
return null;
|
|
2540
2647
|
}
|
|
2541
2648
|
|
|
2542
|
-
/**
|
|
2543
|
-
* Writes a locator's object-space position and direction (Carbon
|
|
2544
|
-
* EveSpaceObject2.cpp:3751-3772, rewritten upstream by 3d988b1d).
|
|
2545
|
-
*
|
|
2546
|
-
* A merged damage locator (mergedDamageIndex >= 0, indexing the merged
|
|
2547
|
-
* damage set) delegates to the owning child's animated pose - the locator's
|
|
2548
|
-
* boneIndex addresses the CHILD's skeleton, never this object's - then
|
|
2549
|
-
* lifts the result through the range's childToObject transform; Carbon
|
|
2550
|
-
* normalizes the direction HERE but not in EveGetLocatorPose, and that
|
|
2551
|
-
* asymmetry is preserved. Every other locator resolves against this
|
|
2552
|
-
* object's own animation updater.
|
|
2553
|
-
*
|
|
2554
|
-
* 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.
|
|
2555
2662
|
*/
|
|
2556
2663
|
GetLocatorInObjectSpace(outPosition, outDirection, locator, mergedDamageIndex = -1) {
|
|
2557
2664
|
if (mergedDamageIndex >= 0) {
|
|
@@ -2574,10 +2681,10 @@ new class extends _identity {
|
|
|
2574
2681
|
// Carbon GetClosestLocatorIndex: facing-gated closest search; 0 when the
|
|
2575
2682
|
// set is missing, -1 when no locator faces the position.
|
|
2576
2683
|
|
|
2577
|
-
/**
|
|
2578
|
-
* Returns the index of the nearest locator in a named set that faces the given
|
|
2579
|
-
* world position - 0 when the set is missing, -1 when no locator faces the
|
|
2580
|
-
* 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.
|
|
2581
2688
|
*/
|
|
2582
2689
|
#GetClosestLocatorIndex(position, locatorSetName) {
|
|
2583
2690
|
const locators = this.#GetLocatorsForSet(locatorSetName);
|
|
@@ -2604,9 +2711,9 @@ new class extends _identity {
|
|
|
2604
2711
|
return closestIndex;
|
|
2605
2712
|
}
|
|
2606
2713
|
|
|
2607
|
-
/**
|
|
2608
|
-
* Reports whether a locator faces a position, by testing that stepping the
|
|
2609
|
-
* 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.
|
|
2610
2717
|
*/
|
|
2611
2718
|
|
|
2612
2719
|
/** Rotates a direction by a matrix's rotation basis, ignoring its translation. */
|
|
@@ -2630,15 +2737,15 @@ new class extends _identity {
|
|
|
2630
2737
|
vec3.copy(this.generatedShapeEllipsoidRadius, outRadii);
|
|
2631
2738
|
}
|
|
2632
2739
|
|
|
2633
|
-
/**
|
|
2634
|
-
* Maps the negated dot product of a locator direction and an offset direction
|
|
2635
|
-
* onto Carbon's square-root fit score, the ranking used to pick a varied
|
|
2636
|
-
* 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.
|
|
2637
2744
|
*/
|
|
2638
2745
|
|
|
2639
|
-
/**
|
|
2640
|
-
* Intersects a ray with an axis-aligned ellipsoid in the ellipsoid's own space and writes the hit point into out.
|
|
2641
|
-
* @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.
|
|
2642
2749
|
*/
|
|
2643
2750
|
|
|
2644
2751
|
/** Reports whether a point lies inside an axis-aligned ellipsoid. */
|
|
@@ -2646,42 +2753,42 @@ new class extends _identity {
|
|
|
2646
2753
|
// Mesh bone matrices come from the animation updater; only mat4-shaped
|
|
2647
2754
|
// entries are usable.
|
|
2648
2755
|
|
|
2649
|
-
/**
|
|
2650
|
-
* Unpacks one bone from the updater's palette into a mat4, or null when the
|
|
2651
|
-
* index is out of range.
|
|
2652
|
-
*
|
|
2653
|
-
* The palette is Carbon's storage - one contiguous Float4x3 buffer, stride
|
|
2654
|
-
* 12 - so a bone is expanded rather than borrowed. Carbon does the same at
|
|
2655
|
-
* 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.
|
|
2656
2763
|
*/
|
|
2657
2764
|
|
|
2658
|
-
/**
|
|
2659
|
-
* Replays every stored controller variable onto a newly added controller or
|
|
2660
|
-
* effect child through the named setter, so late additions start with the same
|
|
2661
|
-
* 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.
|
|
2662
2769
|
*/
|
|
2663
2770
|
|
|
2664
|
-
/**
|
|
2665
|
-
* Samples a curve into out through whichever of Update or GetValueAt it
|
|
2666
|
-
* exposes, writing the fallback when there is no curve and copying back curves
|
|
2667
|
-
* 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.
|
|
2668
2775
|
*/
|
|
2669
2776
|
|
|
2670
|
-
/**
|
|
2671
|
-
* Reads a numeric value from the update context, preferring a getter method
|
|
2672
|
-
* and falling back to the named properties, and yields 0 when nothing supplies
|
|
2673
|
-
* 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.
|
|
2674
2781
|
*/
|
|
2675
2782
|
|
|
2676
|
-
/**
|
|
2677
|
-
* Returns a world sphere's on-screen diameter in pixels from the frustum's
|
|
2678
|
-
* 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.
|
|
2679
2786
|
*/
|
|
2680
2787
|
|
|
2681
|
-
/**
|
|
2682
|
-
* Returns a world sphere's on-screen diameter in pixels, preferring the
|
|
2683
|
-
* frustum's cheaper estimated query and falling back to the exact one, or 0
|
|
2684
|
-
* 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.
|
|
2685
2792
|
*/
|
|
2686
2793
|
|
|
2687
2794
|
/** Writes a center and radius into a caller-owned sph3. */
|
|
@@ -2822,7 +2929,7 @@ new class extends _identity {
|
|
|
2822
2929
|
super(_EveSpaceObject), _initClass();
|
|
2823
2930
|
}
|
|
2824
2931
|
}();
|
|
2825
|
-
CjsSchema.decorateField(_EveSpaceObject, "meshLod",
|
|
2932
|
+
CjsSchema.decorateField(_EveSpaceObject, "meshLod", edit.persist, type.objectRef("Tr2MeshBase"));
|
|
2826
2933
|
|
|
2827
2934
|
export { _EveSpaceObject as EveSpaceObject2 };
|
|
2828
2935
|
//# sourceMappingURL=EveSpaceObject2.js.map
|