@p100-web/core 100.1.27 → 100.2.1
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/package.json +1 -1
- package/dist/AdaptivePerformance.d.ts +0 -20
- package/dist/AdaptivePerformance.d.ts.map +0 -1
- package/dist/AdaptivePerformance.js +0 -110
- package/dist/AdaptivePerformance.js.map +0 -1
- package/dist/DBEvent.d.ts +0 -22
- package/dist/DBEvent.d.ts.map +0 -1
- package/dist/DBEvent.js +0 -19
- package/dist/DBEvent.js.map +0 -1
- package/dist/DBNode.d.ts +0 -35
- package/dist/DBNode.d.ts.map +0 -1
- package/dist/DBNode.js +0 -33
- package/dist/DBNode.js.map +0 -1
- package/dist/DBScene.d.ts +0 -11
- package/dist/DBScene.d.ts.map +0 -1
- package/dist/DBScene.js +0 -9
- package/dist/DBScene.js.map +0 -1
- package/dist/DBVariable.d.ts +0 -22
- package/dist/DBVariable.d.ts.map +0 -1
- package/dist/DBVariable.js +0 -19
- package/dist/DBVariable.js.map +0 -1
- package/dist/DevTools.d.ts +0 -4
- package/dist/DevTools.d.ts.map +0 -1
- package/dist/DevTools.js +0 -10
- package/dist/DevTools.js.map +0 -1
- package/dist/GameContext.d.ts +0 -184
- package/dist/GameContext.d.ts.map +0 -1
- package/dist/GameContext.js +0 -602
- package/dist/GameContext.js.map +0 -1
- package/dist/IAudioListener.d.ts +0 -4
- package/dist/IAudioListener.d.ts.map +0 -1
- package/dist/IAudioListener.js +0 -2
- package/dist/IAudioListener.js.map +0 -1
- package/dist/ICameraControls.d.ts +0 -17
- package/dist/ICameraControls.d.ts.map +0 -1
- package/dist/ICameraControls.js +0 -2
- package/dist/ICameraControls.js.map +0 -1
- package/dist/IComponentFactory.d.ts +0 -8
- package/dist/IComponentFactory.d.ts.map +0 -1
- package/dist/IComponentFactory.js +0 -2
- package/dist/IComponentFactory.js.map +0 -1
- package/dist/IEngine.d.ts +0 -23
- package/dist/IEngine.d.ts.map +0 -1
- package/dist/IEngine.js +0 -2
- package/dist/IEngine.js.map +0 -1
- package/dist/IPMaterial.d.ts +0 -12
- package/dist/IPMaterial.d.ts.map +0 -1
- package/dist/IPMaterial.js +0 -2
- package/dist/IPMaterial.js.map +0 -1
- package/dist/IPNodeRenderer.d.ts +0 -25
- package/dist/IPNodeRenderer.d.ts.map +0 -1
- package/dist/IPNodeRenderer.js +0 -2
- package/dist/IPNodeRenderer.js.map +0 -1
- package/dist/IStats.d.ts +0 -9
- package/dist/IStats.d.ts.map +0 -1
- package/dist/IStats.js +0 -3
- package/dist/IStats.js.map +0 -1
- package/dist/MathTools.d.ts +0 -8
- package/dist/MathTools.d.ts.map +0 -1
- package/dist/MathTools.js +0 -20
- package/dist/MathTools.js.map +0 -1
- package/dist/PAction.d.ts +0 -77
- package/dist/PAction.d.ts.map +0 -1
- package/dist/PAction.js +0 -242
- package/dist/PAction.js.map +0 -1
- package/dist/PCanvas.d.ts +0 -171
- package/dist/PCanvas.d.ts.map +0 -1
- package/dist/PCanvas.js +0 -648
- package/dist/PCanvas.js.map +0 -1
- package/dist/PComponent.d.ts +0 -50
- package/dist/PComponent.d.ts.map +0 -1
- package/dist/PComponent.js +0 -73
- package/dist/PComponent.js.map +0 -1
- package/dist/PEnums.d.ts +0 -124
- package/dist/PEnums.d.ts.map +0 -1
- package/dist/PEnums.js +0 -138
- package/dist/PEnums.js.map +0 -1
- package/dist/PEvent.d.ts +0 -27
- package/dist/PEvent.d.ts.map +0 -1
- package/dist/PEvent.js +0 -40
- package/dist/PEvent.js.map +0 -1
- package/dist/PNode.d.ts +0 -135
- package/dist/PNode.d.ts.map +0 -1
- package/dist/PNode.js +0 -582
- package/dist/PNode.js.map +0 -1
- package/dist/POutValue.d.ts +0 -18
- package/dist/POutValue.d.ts.map +0 -1
- package/dist/POutValue.js +0 -28
- package/dist/POutValue.js.map +0 -1
- package/dist/PPayload.d.ts +0 -7
- package/dist/PPayload.d.ts.map +0 -1
- package/dist/PPayload.js +0 -19
- package/dist/PPayload.js.map +0 -1
- package/dist/PTypes.d.ts +0 -36
- package/dist/PTypes.d.ts.map +0 -1
- package/dist/PTypes.js +0 -2
- package/dist/PTypes.js.map +0 -1
- package/dist/PVariable.d.ts +0 -29
- package/dist/PVariable.d.ts.map +0 -1
- package/dist/PVariable.js +0 -51
- package/dist/PVariable.js.map +0 -1
- package/dist/PVector2.d.ts +0 -14
- package/dist/PVector2.d.ts.map +0 -1
- package/dist/PVector2.js +0 -25
- package/dist/PVector2.js.map +0 -1
- package/dist/PVector3.d.ts +0 -19
- package/dist/PVector3.d.ts.map +0 -1
- package/dist/PVector3.js +0 -44
- package/dist/PVector3.js.map +0 -1
- package/dist/animations/AnimationTools.d.ts +0 -3
- package/dist/animations/AnimationTools.d.ts.map +0 -1
- package/dist/animations/AnimationTools.js +0 -12
- package/dist/animations/AnimationTools.js.map +0 -1
- package/dist/animations/IModelAnimation.d.ts +0 -17
- package/dist/animations/IModelAnimation.d.ts.map +0 -1
- package/dist/animations/IModelAnimation.js +0 -2
- package/dist/animations/IModelAnimation.js.map +0 -1
- package/dist/assets/AssetLoader.d.ts +0 -10
- package/dist/assets/AssetLoader.d.ts.map +0 -1
- package/dist/assets/AssetLoader.js +0 -12
- package/dist/assets/AssetLoader.js.map +0 -1
- package/dist/index.d.ts +0 -151
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -111
- package/dist/index.js.map +0 -1
- package/dist/media/MediaManager.d.ts +0 -17
- package/dist/media/MediaManager.d.ts.map +0 -1
- package/dist/media/MediaManager.js +0 -19
- package/dist/media/MediaManager.js.map +0 -1
- package/dist/media/PFile.d.ts +0 -13
- package/dist/media/PFile.d.ts.map +0 -1
- package/dist/media/PFile.js +0 -28
- package/dist/media/PFile.js.map +0 -1
- package/dist/pcomponents/BaseMaterial.d.ts +0 -50
- package/dist/pcomponents/BaseMaterial.d.ts.map +0 -1
- package/dist/pcomponents/BaseMaterial.js +0 -62
- package/dist/pcomponents/BaseMaterial.js.map +0 -1
- package/dist/pcomponents/PAnimator.d.ts +0 -40
- package/dist/pcomponents/PAnimator.d.ts.map +0 -1
- package/dist/pcomponents/PAnimator.js +0 -50
- package/dist/pcomponents/PAnimator.js.map +0 -1
- package/dist/pcomponents/PBackground.d.ts +0 -37
- package/dist/pcomponents/PBackground.d.ts.map +0 -1
- package/dist/pcomponents/PBackground.js +0 -48
- package/dist/pcomponents/PBackground.js.map +0 -1
- package/dist/pcomponents/PBasicMaterial.d.ts +0 -22
- package/dist/pcomponents/PBasicMaterial.d.ts.map +0 -1
- package/dist/pcomponents/PBasicMaterial.js +0 -31
- package/dist/pcomponents/PBasicMaterial.js.map +0 -1
- package/dist/pcomponents/PCallAction.d.ts +0 -19
- package/dist/pcomponents/PCallAction.d.ts.map +0 -1
- package/dist/pcomponents/PCallAction.js +0 -24
- package/dist/pcomponents/PCallAction.js.map +0 -1
- package/dist/pcomponents/PCallActions.d.ts +0 -24
- package/dist/pcomponents/PCallActions.d.ts.map +0 -1
- package/dist/pcomponents/PCallActions.js +0 -37
- package/dist/pcomponents/PCallActions.js.map +0 -1
- package/dist/pcomponents/PCameraPosition.d.ts +0 -32
- package/dist/pcomponents/PCameraPosition.d.ts.map +0 -1
- package/dist/pcomponents/PCameraPosition.js +0 -84
- package/dist/pcomponents/PCameraPosition.js.map +0 -1
- package/dist/pcomponents/PCameraTarget.d.ts +0 -32
- package/dist/pcomponents/PCameraTarget.d.ts.map +0 -1
- package/dist/pcomponents/PCameraTarget.js +0 -85
- package/dist/pcomponents/PCameraTarget.js.map +0 -1
- package/dist/pcomponents/PCollider.d.ts +0 -40
- package/dist/pcomponents/PCollider.d.ts.map +0 -1
- package/dist/pcomponents/PCollider.js +0 -58
- package/dist/pcomponents/PCollider.js.map +0 -1
- package/dist/pcomponents/PCompareBoolean.d.ts +0 -23
- package/dist/pcomponents/PCompareBoolean.d.ts.map +0 -1
- package/dist/pcomponents/PCompareBoolean.js +0 -38
- package/dist/pcomponents/PCompareBoolean.js.map +0 -1
- package/dist/pcomponents/PCompareInteger.d.ts +0 -32
- package/dist/pcomponents/PCompareInteger.d.ts.map +0 -1
- package/dist/pcomponents/PCompareInteger.js +0 -82
- package/dist/pcomponents/PCompareInteger.js.map +0 -1
- package/dist/pcomponents/PCompareNumber.d.ts +0 -25
- package/dist/pcomponents/PCompareNumber.d.ts.map +0 -1
- package/dist/pcomponents/PCompareNumber.js +0 -44
- package/dist/pcomponents/PCompareNumber.js.map +0 -1
- package/dist/pcomponents/PCompareString.d.ts +0 -25
- package/dist/pcomponents/PCompareString.d.ts.map +0 -1
- package/dist/pcomponents/PCompareString.js +0 -42
- package/dist/pcomponents/PCompareString.js.map +0 -1
- package/dist/pcomponents/PCompareVariable.d.ts +0 -28
- package/dist/pcomponents/PCompareVariable.d.ts.map +0 -1
- package/dist/pcomponents/PCompareVariable.js +0 -50
- package/dist/pcomponents/PCompareVariable.js.map +0 -1
- package/dist/pcomponents/PControllerInput.d.ts +0 -30
- package/dist/pcomponents/PControllerInput.d.ts.map +0 -1
- package/dist/pcomponents/PControllerInput.js +0 -39
- package/dist/pcomponents/PControllerInput.js.map +0 -1
- package/dist/pcomponents/PCubeGeometry.d.ts +0 -18
- package/dist/pcomponents/PCubeGeometry.d.ts.map +0 -1
- package/dist/pcomponents/PCubeGeometry.js +0 -23
- package/dist/pcomponents/PCubeGeometry.js.map +0 -1
- package/dist/pcomponents/PDebug.d.ts +0 -25
- package/dist/pcomponents/PDebug.d.ts.map +0 -1
- package/dist/pcomponents/PDebug.js +0 -34
- package/dist/pcomponents/PDebug.js.map +0 -1
- package/dist/pcomponents/PEnvironment.d.ts +0 -27
- package/dist/pcomponents/PEnvironment.d.ts.map +0 -1
- package/dist/pcomponents/PEnvironment.js +0 -43
- package/dist/pcomponents/PEnvironment.js.map +0 -1
- package/dist/pcomponents/PFadeAnimation.d.ts +0 -30
- package/dist/pcomponents/PFadeAnimation.d.ts.map +0 -1
- package/dist/pcomponents/PFadeAnimation.js +0 -113
- package/dist/pcomponents/PFadeAnimation.js.map +0 -1
- package/dist/pcomponents/PHud.d.ts +0 -12
- package/dist/pcomponents/PHud.d.ts.map +0 -1
- package/dist/pcomponents/PHud.js +0 -12
- package/dist/pcomponents/PHud.js.map +0 -1
- package/dist/pcomponents/PImageCache.d.ts +0 -18
- package/dist/pcomponents/PImageCache.d.ts.map +0 -1
- package/dist/pcomponents/PImageCache.js +0 -44
- package/dist/pcomponents/PImageCache.js.map +0 -1
- package/dist/pcomponents/PImageDetector.d.ts +0 -28
- package/dist/pcomponents/PImageDetector.d.ts.map +0 -1
- package/dist/pcomponents/PImageDetector.js +0 -39
- package/dist/pcomponents/PImageDetector.js.map +0 -1
- package/dist/pcomponents/PInteger.d.ts +0 -39
- package/dist/pcomponents/PInteger.d.ts.map +0 -1
- package/dist/pcomponents/PInteger.js +0 -75
- package/dist/pcomponents/PInteger.js.map +0 -1
- package/dist/pcomponents/PIntegerAnimator.d.ts +0 -36
- package/dist/pcomponents/PIntegerAnimator.d.ts.map +0 -1
- package/dist/pcomponents/PIntegerAnimator.js +0 -105
- package/dist/pcomponents/PIntegerAnimator.js.map +0 -1
- package/dist/pcomponents/PLight.d.ts +0 -15
- package/dist/pcomponents/PLight.d.ts.map +0 -1
- package/dist/pcomponents/PLight.js +0 -19
- package/dist/pcomponents/PLight.js.map +0 -1
- package/dist/pcomponents/PLightDirectional.d.ts +0 -19
- package/dist/pcomponents/PLightDirectional.d.ts.map +0 -1
- package/dist/pcomponents/PLightDirectional.js +0 -25
- package/dist/pcomponents/PLightDirectional.js.map +0 -1
- package/dist/pcomponents/PMaskedMaterial.d.ts +0 -19
- package/dist/pcomponents/PMaskedMaterial.d.ts.map +0 -1
- package/dist/pcomponents/PMaskedMaterial.js +0 -28
- package/dist/pcomponents/PMaskedMaterial.js.map +0 -1
- package/dist/pcomponents/PMaterialModifier.d.ts +0 -38
- package/dist/pcomponents/PMaterialModifier.d.ts.map +0 -1
- package/dist/pcomponents/PMaterialModifier.js +0 -68
- package/dist/pcomponents/PMaterialModifier.js.map +0 -1
- package/dist/pcomponents/PModelAnnotation.d.ts +0 -46
- package/dist/pcomponents/PModelAnnotation.d.ts.map +0 -1
- package/dist/pcomponents/PModelAnnotation.js +0 -119
- package/dist/pcomponents/PModelAnnotation.js.map +0 -1
- package/dist/pcomponents/PModelAnnotations.d.ts +0 -45
- package/dist/pcomponents/PModelAnnotations.d.ts.map +0 -1
- package/dist/pcomponents/PModelAnnotations.js +0 -128
- package/dist/pcomponents/PModelAnnotations.js.map +0 -1
- package/dist/pcomponents/PModelGLTF.d.ts +0 -36
- package/dist/pcomponents/PModelGLTF.d.ts.map +0 -1
- package/dist/pcomponents/PModelGLTF.js +0 -61
- package/dist/pcomponents/PModelGLTF.js.map +0 -1
- package/dist/pcomponents/PModelNode.d.ts +0 -16
- package/dist/pcomponents/PModelNode.d.ts.map +0 -1
- package/dist/pcomponents/PModelNode.js +0 -18
- package/dist/pcomponents/PModelNode.js.map +0 -1
- package/dist/pcomponents/PMoveAnimation.d.ts +0 -27
- package/dist/pcomponents/PMoveAnimation.d.ts.map +0 -1
- package/dist/pcomponents/PMoveAnimation.js +0 -65
- package/dist/pcomponents/PMoveAnimation.js.map +0 -1
- package/dist/pcomponents/PMoveToAnimation.d.ts +0 -26
- package/dist/pcomponents/PMoveToAnimation.d.ts.map +0 -1
- package/dist/pcomponents/PMoveToAnimation.js +0 -81
- package/dist/pcomponents/PMoveToAnimation.js.map +0 -1
- package/dist/pcomponents/PNumberAnimator.d.ts +0 -40
- package/dist/pcomponents/PNumberAnimator.d.ts.map +0 -1
- package/dist/pcomponents/PNumberAnimator.js +0 -103
- package/dist/pcomponents/PNumberAnimator.js.map +0 -1
- package/dist/pcomponents/PPhysicalMaterial.d.ts +0 -28
- package/dist/pcomponents/PPhysicalMaterial.d.ts.map +0 -1
- package/dist/pcomponents/PPhysicalMaterial.js +0 -35
- package/dist/pcomponents/PPhysicalMaterial.js.map +0 -1
- package/dist/pcomponents/PPlaneDetector.d.ts +0 -20
- package/dist/pcomponents/PPlaneDetector.d.ts.map +0 -1
- package/dist/pcomponents/PPlaneDetector.js +0 -25
- package/dist/pcomponents/PPlaneDetector.js.map +0 -1
- package/dist/pcomponents/PPlaneGeometry.d.ts +0 -20
- package/dist/pcomponents/PPlaneGeometry.d.ts.map +0 -1
- package/dist/pcomponents/PPlaneGeometry.js +0 -26
- package/dist/pcomponents/PPlaneGeometry.js.map +0 -1
- package/dist/pcomponents/PProjectRoot.d.ts +0 -41
- package/dist/pcomponents/PProjectRoot.d.ts.map +0 -1
- package/dist/pcomponents/PProjectRoot.js +0 -94
- package/dist/pcomponents/PProjectRoot.js.map +0 -1
- package/dist/pcomponents/PRotateAnimation.d.ts +0 -32
- package/dist/pcomponents/PRotateAnimation.d.ts.map +0 -1
- package/dist/pcomponents/PRotateAnimation.js +0 -81
- package/dist/pcomponents/PRotateAnimation.js.map +0 -1
- package/dist/pcomponents/PScaleAnimation.d.ts +0 -28
- package/dist/pcomponents/PScaleAnimation.d.ts.map +0 -1
- package/dist/pcomponents/PScaleAnimation.js +0 -82
- package/dist/pcomponents/PScaleAnimation.js.map +0 -1
- package/dist/pcomponents/PSceneContainer.d.ts +0 -22
- package/dist/pcomponents/PSceneContainer.d.ts.map +0 -1
- package/dist/pcomponents/PSceneContainer.js +0 -50
- package/dist/pcomponents/PSceneContainer.js.map +0 -1
- package/dist/pcomponents/PSceneRoot.d.ts +0 -16
- package/dist/pcomponents/PSceneRoot.d.ts.map +0 -1
- package/dist/pcomponents/PSceneRoot.js +0 -21
- package/dist/pcomponents/PSceneRoot.js.map +0 -1
- package/dist/pcomponents/PSlider.d.ts +0 -34
- package/dist/pcomponents/PSlider.d.ts.map +0 -1
- package/dist/pcomponents/PSlider.js +0 -39
- package/dist/pcomponents/PSlider.js.map +0 -1
- package/dist/pcomponents/PSound.d.ts +0 -34
- package/dist/pcomponents/PSound.d.ts.map +0 -1
- package/dist/pcomponents/PSound.js +0 -45
- package/dist/pcomponents/PSound.js.map +0 -1
- package/dist/pcomponents/PSphereGeometry.d.ts +0 -19
- package/dist/pcomponents/PSphereGeometry.d.ts.map +0 -1
- package/dist/pcomponents/PSphereGeometry.js +0 -25
- package/dist/pcomponents/PSphereGeometry.js.map +0 -1
- package/dist/pcomponents/PSprite.d.ts +0 -19
- package/dist/pcomponents/PSprite.d.ts.map +0 -1
- package/dist/pcomponents/PSprite.js +0 -27
- package/dist/pcomponents/PSprite.js.map +0 -1
- package/dist/pcomponents/PSpriteSheet.d.ts +0 -27
- package/dist/pcomponents/PSpriteSheet.d.ts.map +0 -1
- package/dist/pcomponents/PSpriteSheet.js +0 -42
- package/dist/pcomponents/PSpriteSheet.js.map +0 -1
- package/dist/pcomponents/PText.d.ts +0 -35
- package/dist/pcomponents/PText.d.ts.map +0 -1
- package/dist/pcomponents/PText.js +0 -49
- package/dist/pcomponents/PText.js.map +0 -1
- package/dist/pcomponents/PTransform.d.ts +0 -23
- package/dist/pcomponents/PTransform.d.ts.map +0 -1
- package/dist/pcomponents/PTransform.js +0 -67
- package/dist/pcomponents/PTransform.js.map +0 -1
- package/dist/pcomponents/PVarList.d.ts +0 -36
- package/dist/pcomponents/PVarList.d.ts.map +0 -1
- package/dist/pcomponents/PVarList.js +0 -71
- package/dist/pcomponents/PVarList.js.map +0 -1
- package/dist/pcomponents/PVarReader.d.ts +0 -19
- package/dist/pcomponents/PVarReader.d.ts.map +0 -1
- package/dist/pcomponents/PVarReader.js +0 -25
- package/dist/pcomponents/PVarReader.js.map +0 -1
- package/dist/pcomponents/PVarWriter.d.ts +0 -25
- package/dist/pcomponents/PVarWriter.d.ts.map +0 -1
- package/dist/pcomponents/PVarWriter.js +0 -45
- package/dist/pcomponents/PVarWriter.js.map +0 -1
- package/dist/pcomponents/PVideoPlayer.d.ts +0 -35
- package/dist/pcomponents/PVideoPlayer.d.ts.map +0 -1
- package/dist/pcomponents/PVideoPlayer.js +0 -94
- package/dist/pcomponents/PVideoPlayer.js.map +0 -1
- package/dist/pcomponents/PVisibility.d.ts +0 -36
- package/dist/pcomponents/PVisibility.d.ts.map +0 -1
- package/dist/pcomponents/PVisibility.js +0 -68
- package/dist/pcomponents/PVisibility.js.map +0 -1
- package/dist/pcomponents/PXRTools.d.ts +0 -32
- package/dist/pcomponents/PXRTools.d.ts.map +0 -1
- package/dist/pcomponents/PXRTools.js +0 -44
- package/dist/pcomponents/PXRTools.js.map +0 -1
- package/dist/settings/ICameraSettings.d.ts +0 -16
- package/dist/settings/ICameraSettings.d.ts.map +0 -1
- package/dist/settings/ICameraSettings.js +0 -2
- package/dist/settings/ICameraSettings.js.map +0 -1
- package/dist/settings/IQualitySettings.d.ts +0 -14
- package/dist/settings/IQualitySettings.d.ts.map +0 -1
- package/dist/settings/IQualitySettings.js +0 -2
- package/dist/settings/IQualitySettings.js.map +0 -1
- package/dist/settings/IRenderSetting.d.ts +0 -7
- package/dist/settings/IRenderSetting.d.ts.map +0 -1
- package/dist/settings/IRenderSetting.js +0 -2
- package/dist/settings/IRenderSetting.js.map +0 -1
- package/dist/settings/ISetting.d.ts +0 -4
- package/dist/settings/ISetting.d.ts.map +0 -1
- package/dist/settings/ISetting.js +0 -2
- package/dist/settings/ISetting.js.map +0 -1
- package/dist/settings/IWebSettings.d.ts +0 -6
- package/dist/settings/IWebSettings.d.ts.map +0 -1
- package/dist/settings/IWebSettings.js +0 -2
- package/dist/settings/IWebSettings.js.map +0 -1
- package/dist/settings/Settings_Babylonjs.d.ts +0 -101
- package/dist/settings/Settings_Babylonjs.d.ts.map +0 -1
- package/dist/settings/Settings_Babylonjs.js +0 -85
- package/dist/settings/Settings_Babylonjs.js.map +0 -1
- package/dist/settings/Settings_Base.d.ts +0 -11
- package/dist/settings/Settings_Base.d.ts.map +0 -1
- package/dist/settings/Settings_Base.js +0 -45
- package/dist/settings/Settings_Base.js.map +0 -1
- package/dist/settings/Settings_Threejs.d.ts +0 -106
- package/dist/settings/Settings_Threejs.d.ts.map +0 -1
- package/dist/settings/Settings_Threejs.js +0 -165
- package/dist/settings/Settings_Threejs.js.map +0 -1
package/dist/index.js
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// CONTEXT
|
|
3
|
-
//
|
|
4
|
-
export { default as GameContext, Workers, } from "./GameContext";
|
|
5
|
-
export { default as PCanvas } from "./PCanvas";
|
|
6
|
-
//
|
|
7
|
-
// RENDERING
|
|
8
|
-
//
|
|
9
|
-
export { default as AdaptivePerformance } from "./AdaptivePerformance";
|
|
10
|
-
//
|
|
11
|
-
// NODES
|
|
12
|
-
//
|
|
13
|
-
export { default as PNode } from "./PNode";
|
|
14
|
-
export { default as DBNode } from "./DBNode";
|
|
15
|
-
//
|
|
16
|
-
// SCENES
|
|
17
|
-
//
|
|
18
|
-
export { default as DBScene } from "./DBScene";
|
|
19
|
-
//
|
|
20
|
-
// ACTIONS
|
|
21
|
-
//
|
|
22
|
-
export { PInAction, POutAction } from "./PAction";
|
|
23
|
-
export { default as PEvent } from "./PEvent";
|
|
24
|
-
export { PVariable } from "./PVariable";
|
|
25
|
-
export { default as DBEvent } from "./DBEvent";
|
|
26
|
-
export { default as DBVariable } from "./DBVariable";
|
|
27
|
-
//
|
|
28
|
-
// MATH
|
|
29
|
-
//
|
|
30
|
-
export { default as MathTools } from "./MathTools";
|
|
31
|
-
export { default as PVector2 } from "./PVector2";
|
|
32
|
-
export { default as PVector3 } from "./PVector3";
|
|
33
|
-
//
|
|
34
|
-
// TOOLS
|
|
35
|
-
//
|
|
36
|
-
export { orNull, orEmpty } from "./DevTools";
|
|
37
|
-
export { default as PComponent, } from "./PComponent";
|
|
38
|
-
//
|
|
39
|
-
// ENUMS & TYPES
|
|
40
|
-
//
|
|
41
|
-
export { Platform, PProperties, Language, FileSubType, FileType, DataType, Quality, ObjectType, ActionType, PayloadSource, Coordinates, NodeEvents, Curves, } from "./PEnums";
|
|
42
|
-
//
|
|
43
|
-
// MEDIA & FILES
|
|
44
|
-
//
|
|
45
|
-
export { default as PFile } from "./media/PFile";
|
|
46
|
-
export { default as MediaManager, } from "./media/MediaManager";
|
|
47
|
-
export { default as AssetLoader } from "./assets/AssetLoader";
|
|
48
|
-
export { default as Settings_Base } from "./settings/Settings_Base";
|
|
49
|
-
export { PostProcessingSystems } from "./settings/Settings_Threejs";
|
|
50
|
-
export { default as Settings_Threejs, } from "./settings/Settings_Threejs";
|
|
51
|
-
export { default as Settings_Babylonjs, } from "./settings/Settings_Babylonjs";
|
|
52
|
-
//
|
|
53
|
-
// PCOMPONENTS
|
|
54
|
-
//
|
|
55
|
-
export { default as PTransform } from "./pcomponents/PTransform";
|
|
56
|
-
export { default as BaseMaterial } from "./pcomponents/BaseMaterial";
|
|
57
|
-
export { default as PCollider } from "./pcomponents/PCollider";
|
|
58
|
-
export { default as PSceneRoot } from "./pcomponents/PSceneRoot";
|
|
59
|
-
export { default as PProjectRoot } from "./pcomponents/PProjectRoot";
|
|
60
|
-
export { default as PCallAction } from "./pcomponents/PCallAction";
|
|
61
|
-
export { default as PCallActions } from "./pcomponents/PCallActions";
|
|
62
|
-
export { default as PCompareNumber } from "./pcomponents/PCompareNumber";
|
|
63
|
-
export { default as PCompareInteger } from "./pcomponents/PCompareInteger";
|
|
64
|
-
export { default as PCompareBoolean } from "./pcomponents/PCompareBoolean";
|
|
65
|
-
export { default as PCompareVariable } from "./pcomponents/PCompareVariable";
|
|
66
|
-
export { default as PCompareString } from "./pcomponents/PCompareString";
|
|
67
|
-
export { default as PBackground } from "./pcomponents/PBackground";
|
|
68
|
-
export { default as PVideoPlayer } from "./pcomponents/PVideoPlayer";
|
|
69
|
-
export { default as PBasicMaterial } from "./pcomponents/PBasicMaterial";
|
|
70
|
-
export { default as PAnimator } from "./pcomponents/PAnimator";
|
|
71
|
-
export { default as PPlaneGeometry } from "./pcomponents/PPlaneGeometry";
|
|
72
|
-
export { default as PVisibility } from "./pcomponents/PVisibility";
|
|
73
|
-
export { default as PPhysicalMaterial } from "./pcomponents/PPhysicalMaterial";
|
|
74
|
-
export { default as PMoveAnimation } from "./pcomponents/PMoveAnimation";
|
|
75
|
-
export { default as PSphereGeometry } from "./pcomponents/PSphereGeometry";
|
|
76
|
-
export { default as PFadeAnimation } from "./pcomponents/PFadeAnimation";
|
|
77
|
-
export { default as PRotateAnimation } from "./pcomponents/PRotateAnimation";
|
|
78
|
-
export { default as PDebug } from "./pcomponents/PDebug";
|
|
79
|
-
export { default as PSceneContainer } from "./pcomponents/PSceneContainer";
|
|
80
|
-
export { default as PVarList } from "./pcomponents/PVarList";
|
|
81
|
-
export { default as PVarWriter } from "./pcomponents/PVarWriter";
|
|
82
|
-
export { default as PVarReader } from "./pcomponents/PVarReader";
|
|
83
|
-
export { default as PImageCache } from "./pcomponents/PImageCache";
|
|
84
|
-
export { default as PText } from "./pcomponents/PText";
|
|
85
|
-
export { default as PModelGLTF } from "./pcomponents/PModelGLTF";
|
|
86
|
-
export { default as PLight } from "./pcomponents/PLight";
|
|
87
|
-
export { default as PLightDirectional } from "./pcomponents/PLightDirectional";
|
|
88
|
-
export { default as PXRTools } from "./pcomponents/PXRTools";
|
|
89
|
-
export { default as PHud } from "./pcomponents/PHud";
|
|
90
|
-
export { default as PSlider } from "./pcomponents/PSlider";
|
|
91
|
-
export { default as PEnvironment } from "./pcomponents/PEnvironment";
|
|
92
|
-
export { default as PScaleAnimation } from "./pcomponents/PScaleAnimation";
|
|
93
|
-
export { default as PMoveToAnimation } from "./pcomponents/PMoveToAnimation";
|
|
94
|
-
export { default as PSound } from "./pcomponents/PSound";
|
|
95
|
-
export { default as PImageDetector } from "./pcomponents/PImageDetector";
|
|
96
|
-
export { default as PPlaneDetector } from "./pcomponents/PPlaneDetector";
|
|
97
|
-
export { default as PCubeGeometry } from "./pcomponents/PCubeGeometry";
|
|
98
|
-
export { default as PCameraPosition } from "./pcomponents/PCameraPosition";
|
|
99
|
-
export { default as PCameraTarget } from "./pcomponents/PCameraTarget";
|
|
100
|
-
export { default as PSprite } from "./pcomponents/PSprite";
|
|
101
|
-
export { default as PControllerInput } from "./pcomponents/PControllerInput";
|
|
102
|
-
export { default as PMaskedMaterial } from "./pcomponents/PMaskedMaterial";
|
|
103
|
-
export { default as PModelNode } from "./pcomponents/PModelNode";
|
|
104
|
-
export { default as PMaterialModifier } from "./pcomponents/PMaterialModifier";
|
|
105
|
-
export { default as PModelAnnotations } from "./pcomponents/PModelAnnotations";
|
|
106
|
-
export { default as PModelAnnotation } from "./pcomponents/PModelAnnotation";
|
|
107
|
-
export { default as PSpriteSheet } from "./pcomponents/PSpriteSheet";
|
|
108
|
-
export { default as PIntegerAnimator } from "./pcomponents/PIntegerAnimator";
|
|
109
|
-
export { default as PInteger } from "./pcomponents/PInteger";
|
|
110
|
-
export { default as PNumberAnimator } from "./pcomponents/PNumberAnimator";
|
|
111
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,WAAW;AACX,EAAE;AAEF,OAAO,EACL,OAAO,IAAI,WAAW,EAEtB,OAAO,GACR,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAE/C,EAAE;AACF,aAAa;AACb,EAAE;AAEF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGvE,EAAE;AACF,SAAS;AACT,EAAE;AAEF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAgB,MAAM,UAAU,CAAC;AAG3D,EAAE;AACF,UAAU;AACV,EAAE;AAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAiB,MAAM,WAAW,CAAC;AAQ9D,EAAE;AACF,WAAW;AACX,EAAE;AAEF,OAAO,EAAE,SAAS,EAAE,UAAU,EAAmB,MAAM,WAAW,CAAC;AACnE,OAAO,EAA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
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import PFile from "./PFile";
|
|
2
|
-
interface IMediaManager {
|
|
3
|
-
requestFile: (id: string) => PFile | null;
|
|
4
|
-
releaseFile: (file: PFile) => void;
|
|
5
|
-
dispose: () => void;
|
|
6
|
-
}
|
|
7
|
-
export { type IMediaManager };
|
|
8
|
-
declare class MediaManager implements IMediaManager {
|
|
9
|
-
files: PFile[];
|
|
10
|
-
requestFile(id: string): PFile | null;
|
|
11
|
-
releaseFile(_file: PFile): void;
|
|
12
|
-
setFiles(files: PFile[]): void;
|
|
13
|
-
dispose(): void;
|
|
14
|
-
}
|
|
15
|
-
declare const _MediaManager: MediaManager;
|
|
16
|
-
export default _MediaManager;
|
|
17
|
-
//# sourceMappingURL=MediaManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MediaManager.d.ts","sourceRoot":"","sources":["../../src/media/MediaManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,UAAU,aAAa;IACrB,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,KAAK,GAAG,IAAI,CAAC;IAC1C,WAAW,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,IAAI,CAAC;IACnC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,OAAO,EAAE,KAAK,aAAa,EAAE,CAAC;AAE9B,cAAM,YAAa,YAAW,aAAa;IACzC,KAAK,EAAE,KAAK,EAAE,CAAM;IAEpB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI;IAMrC,WAAW,CAAC,KAAK,EAAE,KAAK;IAIxB,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE;IAIvB,OAAO;CACR;AAED,QAAA,MAAM,aAAa,cAAqB,CAAC;AACzC,eAAe,aAAa,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
class MediaManager {
|
|
2
|
-
files = [];
|
|
3
|
-
requestFile(id) {
|
|
4
|
-
const file = this.files.find((f) => f._id === id) || null;
|
|
5
|
-
if (file)
|
|
6
|
-
file._refs++;
|
|
7
|
-
return file;
|
|
8
|
-
}
|
|
9
|
-
releaseFile(_file) {
|
|
10
|
-
_file._refs--;
|
|
11
|
-
}
|
|
12
|
-
setFiles(files) {
|
|
13
|
-
this.files = files;
|
|
14
|
-
}
|
|
15
|
-
dispose() { }
|
|
16
|
-
}
|
|
17
|
-
const _MediaManager = new MediaManager();
|
|
18
|
-
export default _MediaManager;
|
|
19
|
-
//# sourceMappingURL=MediaManager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MediaManager.js","sourceRoot":"","sources":["../../src/media/MediaManager.ts"],"names":[],"mappings":"AAUA,MAAM,YAAY;IAChB,KAAK,GAAY,EAAE,CAAC;IAEpB,WAAW,CAAC,EAAU;QACpB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,IAAI,IAAI,CAAC;QAC1D,IAAI,IAAI;YAAE,IAAI,CAAC,KAAK,EAAE,CAAC;QACvB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,WAAW,CAAC,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE,CAAC;IAChB,CAAC;IAED,QAAQ,CAAC,KAAc;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED,OAAO,KAAI,CAAC;CACb;AAED,MAAM,aAAa,GAAG,IAAI,YAAY,EAAE,CAAC;AACzC,eAAe,aAAa,CAAC"}
|
package/dist/media/PFile.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default class PFile {
|
|
2
|
-
_id: string;
|
|
3
|
-
_parent: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: number;
|
|
6
|
-
subType: number;
|
|
7
|
-
extension: string | null;
|
|
8
|
-
size: number;
|
|
9
|
-
url: string | null;
|
|
10
|
-
_refs: number;
|
|
11
|
-
constructor(dbItem: any);
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=PFile.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PFile.d.ts","sourceRoot":"","sources":["../../src/media/PFile.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,KAAK;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,IAAI,EAAE,MAAM,CAAK;IACjB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAQ;IAG1B,KAAK,SAAK;gBAEE,MAAM,EAAE,GAAG;CAcxB"}
|
package/dist/media/PFile.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export default class PFile {
|
|
2
|
-
_id;
|
|
3
|
-
_parent;
|
|
4
|
-
name;
|
|
5
|
-
type;
|
|
6
|
-
subType;
|
|
7
|
-
// Binary
|
|
8
|
-
extension = null;
|
|
9
|
-
size = 0;
|
|
10
|
-
url = null;
|
|
11
|
-
// runtime
|
|
12
|
-
_refs = 0;
|
|
13
|
-
constructor(dbItem) {
|
|
14
|
-
this._id = dbItem._id;
|
|
15
|
-
this._parent = dbItem._parent;
|
|
16
|
-
this.name = dbItem.name;
|
|
17
|
-
this.type = dbItem.type;
|
|
18
|
-
this.subType = dbItem.subType;
|
|
19
|
-
// Binary data, probably change this later:
|
|
20
|
-
if (dbItem.binaries.length > 0) {
|
|
21
|
-
const binary = dbItem.binaries[0];
|
|
22
|
-
this.url = binary.key;
|
|
23
|
-
this.extension = binary.extension;
|
|
24
|
-
this.size = binary.size;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=PFile.js.map
|
package/dist/media/PFile.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PFile.js","sourceRoot":"","sources":["../../src/media/PFile.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,KAAK;IACxB,GAAG,CAAS;IACZ,OAAO,CAAS;IAChB,IAAI,CAAS;IACb,IAAI,CAAS;IACb,OAAO,CAAS;IAEhB,SAAS;IACT,SAAS,GAAkB,IAAI,CAAC;IAChC,IAAI,GAAW,CAAC,CAAC;IACjB,GAAG,GAAkB,IAAI,CAAC;IAE1B,UAAU;IACV,KAAK,GAAG,CAAC,CAAC;IAEV,YAAY,MAAW;QACrB,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,2CAA2C;QAC3C,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC/B,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAClC,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC;YACtB,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;YAClC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QAC1B,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import PComponent, { DBComponent } from "../PComponent";
|
|
2
|
-
import PNode from "../PNode";
|
|
3
|
-
import PFile from "../media/PFile";
|
|
4
|
-
import GameContext from "../GameContext";
|
|
5
|
-
import { IPMaterial } from "../IPMaterial";
|
|
6
|
-
interface DBBaseMaterial extends DBComponent {
|
|
7
|
-
file_texture: string | null;
|
|
8
|
-
color: string;
|
|
9
|
-
opacity: number;
|
|
10
|
-
transparent: boolean;
|
|
11
|
-
renderOrder: number;
|
|
12
|
-
inverted: boolean;
|
|
13
|
-
alphaTest: number;
|
|
14
|
-
depthWrite: boolean;
|
|
15
|
-
}
|
|
16
|
-
export { type DBBaseMaterial };
|
|
17
|
-
export default abstract class BaseMaterial extends PComponent implements IPMaterial {
|
|
18
|
-
file_texture: PFile | null;
|
|
19
|
-
color: string;
|
|
20
|
-
opacity: number;
|
|
21
|
-
transparent: boolean;
|
|
22
|
-
renderOrder: number;
|
|
23
|
-
inverted: boolean;
|
|
24
|
-
alphaTest: number;
|
|
25
|
-
depthWrite: boolean;
|
|
26
|
-
isImageMaterial: boolean;
|
|
27
|
-
isVideoMaterial: boolean;
|
|
28
|
-
constructor(primitive: string, name: string, dbComponent: DBBaseMaterial, node: PNode, context: GameContext);
|
|
29
|
-
abstract getTexture<T>(): T | null;
|
|
30
|
-
abstract getOpacity(): number;
|
|
31
|
-
abstract setOpacity(value: number): void;
|
|
32
|
-
dispose(): void;
|
|
33
|
-
toDB(): {
|
|
34
|
-
file_texture: string | null;
|
|
35
|
-
color: string;
|
|
36
|
-
inverted: boolean;
|
|
37
|
-
opacity: number;
|
|
38
|
-
transparent: boolean;
|
|
39
|
-
renderOrder: number;
|
|
40
|
-
alphaTest: number;
|
|
41
|
-
depthWrite: boolean;
|
|
42
|
-
id?: number;
|
|
43
|
-
primitive: string;
|
|
44
|
-
cname?: string;
|
|
45
|
-
comment?: string;
|
|
46
|
-
platform?: number;
|
|
47
|
-
language?: number;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=BaseMaterial.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseMaterial.d.ts","sourceRoot":"","sources":["../../src/pcomponents/BaseMater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AAE,MAAM,GAAG,IAAI;IAMxC,OAAO;IAYP,IAAI;;;;;;;;;;;;;;;;CAaL"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import PComponent from "../PComponent";
|
|
2
|
-
export default class BaseMaterial extends PComponent {
|
|
3
|
-
file_texture;
|
|
4
|
-
color;
|
|
5
|
-
opacity;
|
|
6
|
-
transparent;
|
|
7
|
-
renderOrder;
|
|
8
|
-
inverted;
|
|
9
|
-
alphaTest;
|
|
10
|
-
depthWrite;
|
|
11
|
-
isImageMaterial;
|
|
12
|
-
isVideoMaterial;
|
|
13
|
-
constructor(primitive, name, dbComponent, node, context) {
|
|
14
|
-
super(dbComponent, primitive, name, node, context);
|
|
15
|
-
this.file_texture = this.context.requestFile(dbComponent.file_texture);
|
|
16
|
-
this.color = dbComponent.color;
|
|
17
|
-
this.opacity = dbComponent.opacity;
|
|
18
|
-
this.transparent = dbComponent.transparent || false;
|
|
19
|
-
this.renderOrder = dbComponent.renderOrder || 0;
|
|
20
|
-
this.inverted = dbComponent.inverted || false;
|
|
21
|
-
this.alphaTest = dbComponent.alphaTest || 0;
|
|
22
|
-
// Save inverted value
|
|
23
|
-
this.depthWrite = dbComponent.depthWrite || false;
|
|
24
|
-
this.isImageMaterial = false;
|
|
25
|
-
this.isVideoMaterial = false;
|
|
26
|
-
// Register as material for PNode
|
|
27
|
-
if (this.valid) {
|
|
28
|
-
if (this.node.material) {
|
|
29
|
-
this.context.error("Node already had material");
|
|
30
|
-
}
|
|
31
|
-
this.node.material = this;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
//
|
|
35
|
-
// PComponent
|
|
36
|
-
//
|
|
37
|
-
dispose() {
|
|
38
|
-
// Release files
|
|
39
|
-
if (this.file_texture)
|
|
40
|
-
this.context.releaseFile(this.file_texture);
|
|
41
|
-
if (this.node.material === this) {
|
|
42
|
-
this.node.material = null;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
//
|
|
46
|
-
// BaseMaterial
|
|
47
|
-
//
|
|
48
|
-
toDB() {
|
|
49
|
-
return {
|
|
50
|
-
...super.toDB(),
|
|
51
|
-
file_texture: this.file_texture !== null ? this.file_texture._id : null,
|
|
52
|
-
color: this.color,
|
|
53
|
-
inverted: this.inverted,
|
|
54
|
-
opacity: this.opacity,
|
|
55
|
-
transparent: this.transparent,
|
|
56
|
-
renderOrder: this.renderOrder,
|
|
57
|
-
alphaTest: this.alphaTest,
|
|
58
|
-
depthWrite: this.depthWrite,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
//# sourceMappingURL=BaseMaterial.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseMaterial.js","sourceRoot":"","sources":["../../src/pcomponents/BaseMaterial.ts"],"names":[],"mappings":"AAAA,OAAO,UAA2B,MAAM,eAAe,CAAC;AAmBxD,MAAM,CAAC,OAAO,OAAgB,YAC5B,SAAQ,UAAU;IAGlB,YAAY,CAAe;IAE3B,KAAK,CAAS;IACd,OAAO,CAAS;IAChB,WAAW,CAAU;IACrB,WAAW,CAAS;IACpB,QAAQ,CAAU;IAClB,SAAS,CAAS;IAClB,UAAU,CAAU;IAEpB,eAAe,CAAU;IACzB,eAAe,CAAU;IAEzB,YACE,SAAiB,EACjB,IAAY,EACZ,WAA2B,EAC3B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEnD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAEvE,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC,WAAW,IAAI,KAAK,CAAC;QACpD,IAAI,CAAC,WAAW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CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import PComponent, { DBComponent } from "../PComponent";
|
|
2
|
-
import { IInAction, IOutAction, PInAction, POutAction } from "../PAction";
|
|
3
|
-
import PNode from "../PNode";
|
|
4
|
-
import GameContext from "../GameContext";
|
|
5
|
-
import POutValue, { IOutValue } from "../POutValue";
|
|
6
|
-
interface DBAnimator extends DBComponent {
|
|
7
|
-
clip: string;
|
|
8
|
-
segment: boolean;
|
|
9
|
-
from: number;
|
|
10
|
-
to: number;
|
|
11
|
-
loop: boolean;
|
|
12
|
-
inevent_play: IInAction | null;
|
|
13
|
-
inevent_stop: IInAction | null;
|
|
14
|
-
outevent_onPlay: IOutAction | null;
|
|
15
|
-
outevent_onFinished: IOutAction | null;
|
|
16
|
-
outevent_onStopped: IOutAction | null;
|
|
17
|
-
outvalue_animation: IOutValue | null;
|
|
18
|
-
}
|
|
19
|
-
export { type DBAnimator };
|
|
20
|
-
export default abstract class PAnimator extends PComponent {
|
|
21
|
-
inevent_play: PInAction | null;
|
|
22
|
-
inevent_stop: PInAction | null;
|
|
23
|
-
outevent_onPlay: POutAction | null;
|
|
24
|
-
outevent_onFinished: POutAction | null;
|
|
25
|
-
outevent_onStopped: POutAction | null;
|
|
26
|
-
outvalue_animation: POutValue | null;
|
|
27
|
-
clip: string;
|
|
28
|
-
segment: boolean;
|
|
29
|
-
from: number;
|
|
30
|
-
to: number;
|
|
31
|
-
loop: boolean;
|
|
32
|
-
loaded: boolean;
|
|
33
|
-
validAnimation: boolean;
|
|
34
|
-
constructor(dbComponent: DBAnimator, node: PNode, context: GameContext);
|
|
35
|
-
toDB(): DBAnimator;
|
|
36
|
-
abstract getAnimationClips(): string[];
|
|
37
|
-
protected abstract callback_onPlay(): void;
|
|
38
|
-
protected abstract callback_onStop(): void;
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=PAnimator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PAnimator.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PAnimator.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,SAAS,EAAE,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,UAAU,UAAW,SAAQ,WAAW;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,mBAAmB,EAAE,UAAU,GAAG,IAAI,CAAC;IACvC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEtC,kBAAkB,EAAE,SAAS,GAAG,IAAI,CAAC;CACtC;AAED,OAAO,EAAE,KAAK,UAAU,EAAE,CAAC;AAE3B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,SAAU,SAAQ,UAAU;IACxD,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,mBAAmB,EAAE,UAAU,GAAG,IAAI,CAAC;IACvC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,kBAAkB,EAAE,SAAS,GAAG,IAAI,CAAC;IAErC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;IAEd,MAAM,UAAS;IACf,cAAc,UAAS;gBAEX,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAgDtE,IAAI,IAAI,UAAU;IAiBlB,QAAQ,CAAC,iBAAiB,IAAI,MAAM,EAAE;IAEtC,SAAS,CAAC,QAAQ,CAAC,eAAe,IAAI,IAAI;IAC1C,SAAS,CAAC,QAAQ,CAAC,eAAe,IAAI,IAAI;CAC3C"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import PComponent from "../PComponent";
|
|
2
|
-
import { PInAction, POutAction } from "../PAction";
|
|
3
|
-
import POutValue from "../POutValue";
|
|
4
|
-
import { DataType } from "../PEnums";
|
|
5
|
-
export default class PAnimator extends PComponent {
|
|
6
|
-
inevent_play;
|
|
7
|
-
inevent_stop;
|
|
8
|
-
outevent_onPlay;
|
|
9
|
-
outevent_onFinished;
|
|
10
|
-
outevent_onStopped;
|
|
11
|
-
outvalue_animation;
|
|
12
|
-
clip;
|
|
13
|
-
segment;
|
|
14
|
-
from;
|
|
15
|
-
to;
|
|
16
|
-
loop;
|
|
17
|
-
loaded = false;
|
|
18
|
-
validAnimation = false;
|
|
19
|
-
constructor(dbComponent, node, context) {
|
|
20
|
-
super(dbComponent, "PAnimator", "Animator", node, context);
|
|
21
|
-
this.inevent_play = node.registerInAction(this, "Play", dbComponent.inevent_play, this.callback_onPlay);
|
|
22
|
-
this.inevent_stop = node.registerInAction(this, "Stop", dbComponent.inevent_stop, this.callback_onStop);
|
|
23
|
-
this.outevent_onPlay = node.registerOutAction(this, "On Play", dbComponent.outevent_onPlay);
|
|
24
|
-
this.outevent_onFinished = node.registerOutAction(this, "On Finished", dbComponent.outevent_onFinished);
|
|
25
|
-
this.outevent_onStopped = node.registerOutAction(this, "On Stopped", dbComponent.outevent_onStopped);
|
|
26
|
-
this.outvalue_animation = node.registerOutValue(this, dbComponent.outvalue_animation, DataType.String, dbComponent.clip);
|
|
27
|
-
this.from = dbComponent.from || 0;
|
|
28
|
-
this.to = dbComponent.to || 0;
|
|
29
|
-
this.loop = dbComponent.loop === true ? true : false;
|
|
30
|
-
this.segment = dbComponent.segment; // || false;
|
|
31
|
-
this.clip = dbComponent.clip; // || "";
|
|
32
|
-
}
|
|
33
|
-
toDB() {
|
|
34
|
-
return {
|
|
35
|
-
...super.toDB(),
|
|
36
|
-
inevent_play: PInAction.toDB(this.inevent_play),
|
|
37
|
-
inevent_stop: PInAction.toDB(this.inevent_stop),
|
|
38
|
-
outevent_onPlay: POutAction.toDB(this.outevent_onPlay),
|
|
39
|
-
outevent_onFinished: POutAction.toDB(this.outevent_onFinished),
|
|
40
|
-
outevent_onStopped: POutAction.toDB(this.outevent_onStopped),
|
|
41
|
-
outvalue_animation: POutValue.toDB(this.outvalue_animation),
|
|
42
|
-
clip: this.clip,
|
|
43
|
-
segment: this.segment,
|
|
44
|
-
from: this.from,
|
|
45
|
-
to: this.to,
|
|
46
|
-
loop: this.loop,
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=PAnimator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PAnimator.js","sourceRoot":"","sources":["../../src/pcomponents/PAnimator.ts"],"names":[],"mappings":"AAAA,OAAO,UAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAAyB,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG1E,OAAO,SAAwB,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW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AAI,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC;QAClC,IAAI,CAAC,EAAE,GAAG,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC;QAE9B,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;QAErD,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,YAAY;QAChD,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,SAAS;IACzC,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,YAAY,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC;YAC/C,YAAY,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC;YAC/C,eAAe,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;YACtD,mBAAmB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC;YAC9D,kBAAkB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC;YAC5D,kBAAkB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC;YAC3D,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,CAAC;IACJ,CAAC;CAMF"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import GameContext from "../GameContext";
|
|
2
|
-
import PNode from "../PNode";
|
|
3
|
-
import PComponent, { DBComponent } from "../PComponent";
|
|
4
|
-
import PFile from "../media/PFile";
|
|
5
|
-
import { IPMaterial } from "../IPMaterial";
|
|
6
|
-
interface DBBackground extends DBComponent {
|
|
7
|
-
file_texture: string | null;
|
|
8
|
-
rotation: number;
|
|
9
|
-
radius: number;
|
|
10
|
-
}
|
|
11
|
-
export type { DBBackground };
|
|
12
|
-
export default abstract class PBackground extends PComponent implements IPMaterial {
|
|
13
|
-
file_texture: PFile | null;
|
|
14
|
-
rotation: number;
|
|
15
|
-
radius: number;
|
|
16
|
-
isImageMaterial: boolean;
|
|
17
|
-
isVideoMaterial: boolean;
|
|
18
|
-
constructor(dbComponent: DBBackground, node: PNode, context: GameContext);
|
|
19
|
-
toDB(): {
|
|
20
|
-
file_texture: string | null;
|
|
21
|
-
rotation: number;
|
|
22
|
-
radius: number;
|
|
23
|
-
id?: number;
|
|
24
|
-
primitive: string;
|
|
25
|
-
cname?: string;
|
|
26
|
-
comment?: string;
|
|
27
|
-
platform?: number;
|
|
28
|
-
language?: number;
|
|
29
|
-
};
|
|
30
|
-
abstract getTexture<T>(): T | null;
|
|
31
|
-
abstract getOpacity(): number;
|
|
32
|
-
abstract setOpacity(value: number): void;
|
|
33
|
-
dispose(): void;
|
|
34
|
-
protected abstract _dispose(unrender: boolean): void;
|
|
35
|
-
unrender(): void;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=PBackground.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PBackground.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PBackground.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,UAAU,YAAa,SAAQ,WAAW;IACxC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,WAC5B,SAAQ,UACR,YAAW,UAAU;IAErB,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IAEf,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;gBAEb,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAsBxE,IAAI;;;;;;;;;;;IAaJ,QAAQ,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI;IAClC,QAAQ,CAAC,UAAU,IAAI,MAAM;IAC7B,QAAQ,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAMxC,OAAO;IAQP,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAEpD,QAAQ;CAGT"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import PComponent from "../PComponent";
|
|
2
|
-
export default class PBackground extends PComponent {
|
|
3
|
-
file_texture;
|
|
4
|
-
rotation;
|
|
5
|
-
radius;
|
|
6
|
-
isImageMaterial;
|
|
7
|
-
isVideoMaterial;
|
|
8
|
-
constructor(dbComponent, node, context) {
|
|
9
|
-
super(dbComponent, "PBackground", "Background", node, context);
|
|
10
|
-
this.requireTransform = true;
|
|
11
|
-
this.file_texture = this.context.requestFile(dbComponent.file_texture);
|
|
12
|
-
this.rotation = dbComponent.rotation;
|
|
13
|
-
this.radius = dbComponent.radius || 100;
|
|
14
|
-
// Support image
|
|
15
|
-
this.isImageMaterial = true;
|
|
16
|
-
// Support video
|
|
17
|
-
this.isVideoMaterial = true;
|
|
18
|
-
if (this.valid) {
|
|
19
|
-
if (this.node.material) {
|
|
20
|
-
this.context.error("Node already had material");
|
|
21
|
-
}
|
|
22
|
-
this.node.material = this;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
toDB() {
|
|
26
|
-
return {
|
|
27
|
-
...super.toDB(),
|
|
28
|
-
file_texture: this.file_texture !== null ? this.file_texture._id : null,
|
|
29
|
-
rotation: this.rotation,
|
|
30
|
-
radius: this.radius,
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
//
|
|
34
|
-
// PComponent
|
|
35
|
-
//
|
|
36
|
-
dispose() {
|
|
37
|
-
// Release files
|
|
38
|
-
if (this.file_texture)
|
|
39
|
-
this.context.releaseFile(this.file_texture);
|
|
40
|
-
if (this.node.material === this) {
|
|
41
|
-
this.node.material = null;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
unrender() {
|
|
45
|
-
this._dispose(true);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=PBackground.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PBackground.js","sourceRoot":"","sources":["../../src/pcomponents/PBackground.ts"],"names":[],"mappings":"AAEA,OAAO,UAA2B,MAAM,eAAe,CAAC;AAYxD,MAAM,CAAC,OAAO,OAAgB,WAC5B,SAAQ,UAAU;IAGlB,YAAY,CAAe;IAC3B,QAAQ,CAAS;IACjB,MAAM,CAAS;IAEf,eAAe,CAAU;IACzB,eAAe,CAAU;IAEzB,YAAY,WAAyB,EAAE,IAAW,EAAE,OAAoB;QACtE,KAAK,CAAC,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAE/D,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAE7B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QACvE,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAC,QAAQ,CA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, PInAction } from "../PAction";
|
|
4
|
-
import GameContext from "../GameContext";
|
|
5
|
-
import PNode from "../PNode";
|
|
6
|
-
interface DBBasicMaterial extends DBBaseMaterial {
|
|
7
|
-
inevent_setOpacity: IInAction | null;
|
|
8
|
-
repeat: IVector2;
|
|
9
|
-
offset: IVector2;
|
|
10
|
-
mipMaps: boolean;
|
|
11
|
-
}
|
|
12
|
-
export type { DBBasicMaterial };
|
|
13
|
-
export default abstract class PBasicMaterial extends BaseMaterial {
|
|
14
|
-
inevent_setOpacity: PInAction | null;
|
|
15
|
-
mipMaps: boolean;
|
|
16
|
-
repeat: PVector2;
|
|
17
|
-
offset: PVector2;
|
|
18
|
-
constructor(dbComponent: DBBasicMaterial, node: PNode, context: GameContext);
|
|
19
|
-
toDB(): DBBasicMaterial;
|
|
20
|
-
protected abstract callback_setOpacity(payloadValue: string | null): void;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=PBasicMaterial.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PBasicMaterial.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PBasicMaterial.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,EAAE,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAG7B,UAAU,eAAgB,SAAQ,cAAc;IAC9C,kBAAkB,EAAE,SAAS,GAAG,IAAI,CAAC;IACrC,MAAM,EAAE,QAAQ,CAAC;IACjB,MAAM,EAAE,QAAQ,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,cAAe,SAAQ,YAAY;IAC/D,kBAAkB,EAAE,SAAS,GAAG,IAAI,CAAC;IAErC,OAAO,EAAE,OAAO,CAAC;IAEjB,MAAM,EAAE,QAAQ,CAAC;IACjB,MAAM,EAAE,QAAQ,CAAC;gBAEL,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAsB3E,IAAI,IAAI,eAAe;IAUvB,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;CAC1E"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import BaseMaterial from "./BaseMaterial";
|
|
2
|
-
import PVector2 from "../PVector2";
|
|
3
|
-
import { PInAction } from "../PAction";
|
|
4
|
-
import { DataType } from "../PEnums";
|
|
5
|
-
export default class PBasicMaterial extends BaseMaterial {
|
|
6
|
-
inevent_setOpacity;
|
|
7
|
-
mipMaps;
|
|
8
|
-
repeat;
|
|
9
|
-
offset;
|
|
10
|
-
constructor(dbComponent, node, context) {
|
|
11
|
-
super("PBasicMaterial", "Basic Material", dbComponent, node, context);
|
|
12
|
-
this.inevent_setOpacity = node.registerInAction(this, "Set Opacity", dbComponent.inevent_setOpacity, this.callback_setOpacity, DataType.Number);
|
|
13
|
-
this.repeat = new PVector2(dbComponent.repeat);
|
|
14
|
-
this.offset = new PVector2(dbComponent.offset || { x: 0, y: 0 });
|
|
15
|
-
this.mipMaps = dbComponent.mipMaps || false;
|
|
16
|
-
// Support image
|
|
17
|
-
this.isImageMaterial = true;
|
|
18
|
-
// Support video
|
|
19
|
-
this.isVideoMaterial = true;
|
|
20
|
-
}
|
|
21
|
-
toDB() {
|
|
22
|
-
return {
|
|
23
|
-
...super.toDB(),
|
|
24
|
-
inevent_setOpacity: PInAction.toDB(this.inevent_setOpacity),
|
|
25
|
-
repeat: this.repeat,
|
|
26
|
-
offset: this.offset,
|
|
27
|
-
mipMaps: this.mipMaps,
|
|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AAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,kBAAkB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC;YAC3D,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,OAAO,EAAE,IAAI,CAAC,OAAO;SACtB,CAAC;IACJ,CAAC;CAGF"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IInAction, IOutAction, PInAction, POutAction } from "../PAction";
|
|
2
|
-
import PComponent, { DBComponent } from "../PComponent";
|
|
3
|
-
import GameContext from "../GameContext";
|
|
4
|
-
import PNode from "../PNode";
|
|
5
|
-
interface DBCallAction extends DBComponent {
|
|
6
|
-
inevent_on: IInAction | null;
|
|
7
|
-
outevent_do: IOutAction | null;
|
|
8
|
-
}
|
|
9
|
-
export { type DBCallAction };
|
|
10
|
-
export default class PCallAction extends PComponent {
|
|
11
|
-
inevent_on: PInAction | null;
|
|
12
|
-
outevent_do: POutAction | null;
|
|
13
|
-
constructor(dbComponent: DBCallAction, node: PNode, context: GameContext);
|
|
14
|
-
toDB(): DBCallAction;
|
|
15
|
-
callback_onTrigger(_payloadValue: string | null): void;
|
|
16
|
-
render(): void;
|
|
17
|
-
unrender(): void;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=PCallAction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PCallAction.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PCallAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,YAAa,SAAQ,WAAW;IACxC,UAAU,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,WAAW,EAAE,UAAU,GAAG,IAAI,CAAC;CAChC;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,CAAC;AAE7B,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,UAAU;IACjD,UAAU,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,WAAW,EAAE,UAAU,GAAG,IAAI,CAAC;gBAEnB,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAgBxE,IAAI,IAAI,YAAY;IAQpB,kBAAkB,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI;IAI/C,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
|