├── .gitignore ├── AUTHORS ├── CONTRIBUTORS ├── Content └── Scripts │ ├── debugtest.py │ ├── upy_redirect_print.py │ ├── upycmd.py │ ├── upymodule_importer.py │ ├── upypip.py │ ├── upystartup.py │ └── upythread.py ├── LICENSE ├── README.md ├── Resources ├── Font │ └── DroidSansMono.ttf ├── Icon128.png └── UI │ ├── DeleteFile.png │ ├── Excute_x40.png │ ├── FolderClosed.png │ ├── FolderOpen.png │ ├── GenericFile.png │ ├── PythonEditor_16x.png │ ├── SaveAll_40x.png │ ├── Save_40x.png │ ├── TextBlockHighlightShape.png │ └── TextEditorBorder.png ├── Source ├── PythonAutomation │ ├── Private │ │ ├── PythonAutomationModule.cpp │ │ ├── UEPyFAutomationEditorCommonUtils.cpp │ │ └── UEPyFAutomationEditorCommonUtils.h │ ├── Public │ │ └── PythonAutomationModule.h │ └── PythonAutomation.Build.cs ├── PythonConsole │ ├── Private │ │ ├── PyFbxFactory.cpp │ │ ├── PythonConsoleModule.cpp │ │ ├── PythonScriptFactory.cpp │ │ ├── SPythonConsole.cpp │ │ ├── SPythonConsole.h │ │ ├── SPythonLog.cpp │ │ └── SPythonLog.h │ ├── Public │ │ ├── PyFactory.h │ │ ├── PyFbxFactory.h │ │ ├── PythonConsoleModule.h │ │ └── PythonScriptFactory.h │ └── PythonConsole.Build.cs ├── PythonEditor │ ├── Private │ │ ├── DirectoryScanner.cpp │ │ ├── DirectoryScanner.h │ │ ├── PYRichTextSyntaxHighlighterTextLayoutMarshaller.cpp │ │ ├── PYRichTextSyntaxHighlighterTextLayoutMarshaller.h │ │ ├── PythonEditor.cpp │ │ ├── PythonEditorCustomization.cpp │ │ ├── PythonEditorCustomization.h │ │ ├── PythonEditorStyle.cpp │ │ ├── PythonEditorStyle.h │ │ ├── PythonProject.cpp │ │ ├── PythonProject.h │ │ ├── PythonProjectEditor.cpp │ │ ├── PythonProjectEditor.h │ │ ├── PythonProjectEditorCommands.cpp │ │ ├── PythonProjectEditorCommands.h │ │ ├── PythonProjectEditorToolbar.cpp │ │ ├── PythonProjectEditorToolbar.h │ │ ├── PythonProjectItem.cpp │ │ ├── PythonProjectItem.h │ │ ├── PythonSyntaxTokenizer.cpp │ │ ├── PythonSyntaxTokenizer.h │ │ ├── SProjectViewItem.cpp │ │ ├── SProjectViewItem.h │ │ ├── SPythonEditableText.cpp │ │ ├── SPythonEditableText.h │ │ ├── SPythonEditor.cpp │ │ ├── SPythonEditor.h │ │ ├── SPythonProjectEditor.cpp │ │ ├── SPythonProjectEditor.h │ │ ├── WhiteSpaceTextRun.cpp │ │ └── WhiteSpaceTextRun.h │ └── PythonEditor.Build.cs └── UnrealEnginePython │ ├── Private │ ├── Blueprint │ │ ├── UEPyEdGraph.cpp │ │ ├── UEPyEdGraph.h │ │ ├── UEPyEdGraphPin.cpp │ │ └── UEPyEdGraphPin.h │ ├── CollectionManager │ │ ├── UEPyICollectionManager.cpp │ │ └── UEPyICollectionManager.h │ ├── ConsoleManager │ │ ├── UEPyIConsoleManager.cpp │ │ └── UEPyIConsoleManager.h │ ├── Fbx │ │ ├── UEPyFbx.h │ │ ├── UEPyFbxIOSettings.cpp │ │ ├── UEPyFbxIOSettings.h │ │ ├── UEPyFbxImporter.cpp │ │ ├── UEPyFbxImporter.h │ │ ├── UEPyFbxManager.cpp │ │ ├── UEPyFbxManager.h │ │ ├── UEPyFbxMesh.cpp │ │ ├── UEPyFbxMesh.h │ │ ├── UEPyFbxNode.cpp │ │ ├── UEPyFbxNode.h │ │ ├── UEPyFbxObject.cpp │ │ ├── UEPyFbxObject.h │ │ ├── UEPyFbxPose.cpp │ │ ├── UEPyFbxPose.h │ │ ├── UEPyFbxProperty.cpp │ │ ├── UEPyFbxProperty.h │ │ ├── UEPyFbxScene.cpp │ │ └── UEPyFbxScene.h │ ├── Http │ │ ├── UEPyIHttp.h │ │ ├── UEPyIHttpBase.cpp │ │ ├── UEPyIHttpBase.h │ │ ├── UEPyIHttpRequest.cpp │ │ ├── UEPyIHttpRequest.h │ │ ├── UEPyIHttpResponse.cpp │ │ └── UEPyIHttpResponse.h │ ├── MaterialEditorUtilities │ │ ├── UEPyFMaterialEditorUtilities.cpp │ │ └── UEPyFMaterialEditorUtilities.h │ ├── PipConsoleManager.cpp │ ├── PyActor.cpp │ ├── PyCharacter.cpp │ ├── PyCommandlet.cpp │ ├── PyHUD.cpp │ ├── PyNativeWidgetHost.cpp │ ├── PyPawn.cpp │ ├── PyUserWidget.cpp │ ├── PythonBlueprintFunctionLibrary.cpp │ ├── PythonComponent.cpp │ ├── PythonDelegate.cpp │ ├── PythonFunction.cpp │ ├── PythonHouseKeeper.cpp │ ├── PythonScript.cpp │ ├── PythonSmartDelegate.cpp │ ├── Slate │ │ ├── UEPyFCharacterEvent.cpp │ │ ├── UEPyFCharacterEvent.h │ │ ├── UEPyFGeometry.cpp │ │ ├── UEPyFGeometry.h │ │ ├── UEPyFInputEvent.cpp │ │ ├── UEPyFInputEvent.h │ │ ├── UEPyFKeyEvent.cpp │ │ ├── UEPyFKeyEvent.h │ │ ├── UEPyFMenuBuilder.cpp │ │ ├── UEPyFMenuBuilder.h │ │ ├── UEPyFModifierKeysState.cpp │ │ ├── UEPyFModifierKeysState.h │ │ ├── UEPyFPaintContext.cpp │ │ ├── UEPyFPaintContext.h │ │ ├── UEPyFPointerEvent.cpp │ │ ├── UEPyFPointerEvent.h │ │ ├── UEPyFSlateIcon.cpp │ │ ├── UEPyFSlateIcon.h │ │ ├── UEPyFSlateStyleSet.cpp │ │ ├── UEPyFSlateStyleSet.h │ │ ├── UEPyFTabManager.cpp │ │ ├── UEPyFTabManager.h │ │ ├── UEPyFTabSpawnerEntry.cpp │ │ ├── UEPyFTabSpawnerEntry.h │ │ ├── UEPyFToolBarBuilder.cpp │ │ ├── UEPyFToolBarBuilder.h │ │ ├── UEPyIDetailsView.cpp │ │ ├── UEPyIDetailsView.h │ │ ├── UEPyIStructureDetailsView.cpp │ │ ├── UEPyIStructureDetailsView.h │ │ ├── UEPySAssetDropTarget.cpp │ │ ├── UEPySAssetDropTarget.h │ │ ├── UEPySBorder.cpp │ │ ├── UEPySBorder.h │ │ ├── UEPySBox.cpp │ │ ├── UEPySBox.h │ │ ├── UEPySBoxPanel.cpp │ │ ├── UEPySBoxPanel.h │ │ ├── UEPySButton.cpp │ │ ├── UEPySButton.h │ │ ├── UEPySCanvas.cpp │ │ ├── UEPySCanvas.h │ │ ├── UEPySCheckBox.cpp │ │ ├── UEPySCheckBox.h │ │ ├── UEPySColorBlock.cpp │ │ ├── UEPySColorBlock.h │ │ ├── UEPySCompoundWidget.cpp │ │ ├── UEPySCompoundWidget.h │ │ ├── UEPySDirectoryPicker.cpp │ │ ├── UEPySDirectoryPicker.h │ │ ├── UEPySDockTab.cpp │ │ ├── UEPySDockTab.h │ │ ├── UEPySDropTarget.cpp │ │ ├── UEPySDropTarget.h │ │ ├── UEPySEditableTextBox.cpp │ │ ├── UEPySEditableTextBox.h │ │ ├── UEPySEditorViewport.cpp │ │ ├── UEPySEditorViewport.h │ │ ├── UEPySFilePathPicker.cpp │ │ ├── UEPySFilePathPicker.h │ │ ├── UEPySGraphEditor.cpp │ │ ├── UEPySGraphEditor.h │ │ ├── UEPySGraphPanel.cpp │ │ ├── UEPySGraphPanel.h │ │ ├── UEPySGridPanel.cpp │ │ ├── UEPySGridPanel.h │ │ ├── UEPySHeaderRow.cpp │ │ ├── UEPySHeaderRow.h │ │ ├── UEPySHorizontalBox.cpp │ │ ├── UEPySHorizontalBox.h │ │ ├── UEPySImage.cpp │ │ ├── UEPySImage.h │ │ ├── UEPySLeafWidget.cpp │ │ ├── UEPySLeafWidget.h │ │ ├── UEPySLevelViewport.cpp │ │ ├── UEPySLevelViewport.h │ │ ├── UEPySListView.cpp │ │ ├── UEPySListView.h │ │ ├── UEPySMultiLineEditableText.cpp │ │ ├── UEPySMultiLineEditableText.h │ │ ├── UEPySNodePanel.cpp │ │ ├── UEPySNodePanel.h │ │ ├── UEPySNumericEntryBox.cpp │ │ ├── UEPySNumericEntryBox.h │ │ ├── UEPySObjectPropertyEntryBox.cpp │ │ ├── UEPySObjectPropertyEntryBox.h │ │ ├── UEPySOverlay.cpp │ │ ├── UEPySOverlay.h │ │ ├── UEPySPanel.cpp │ │ ├── UEPySPanel.h │ │ ├── UEPySProgressBar.cpp │ │ ├── UEPySProgressBar.h │ │ ├── UEPySPythonComboBox.cpp │ │ ├── UEPySPythonComboBox.h │ │ ├── UEPySPythonEditorViewport.cpp │ │ ├── UEPySPythonEditorViewport.h │ │ ├── UEPySPythonListView.cpp │ │ ├── UEPySPythonListView.h │ │ ├── UEPySPythonMultiColumnTableRow.cpp │ │ ├── UEPySPythonMultiColumnTableRow.h │ │ ├── UEPySPythonShelf.cpp │ │ ├── UEPySPythonShelf.h │ │ ├── UEPySPythonTreeView.cpp │ │ ├── UEPySPythonTreeView.h │ │ ├── UEPySPythonWidget.cpp │ │ ├── UEPySPythonWidget.h │ │ ├── UEPySRotatorInputBox.cpp │ │ ├── UEPySRotatorInputBox.h │ │ ├── UEPySScrollBox.cpp │ │ ├── UEPySScrollBox.h │ │ ├── UEPySSlider.cpp │ │ ├── UEPySSlider.h │ │ ├── UEPySSpacer.cpp │ │ ├── UEPySSpacer.h │ │ ├── UEPySSplitter.cpp │ │ ├── UEPySSplitter.h │ │ ├── UEPySTableViewBase.cpp │ │ ├── UEPySTableViewBase.h │ │ ├── UEPySTextBlock.cpp │ │ ├── UEPySTextBlock.h │ │ ├── UEPySTreeView.cpp │ │ ├── UEPySTreeView.h │ │ ├── UEPySVectorInputBox.cpp │ │ ├── UEPySVectorInputBox.h │ │ ├── UEPySVerticalBox.cpp │ │ ├── UEPySVerticalBox.h │ │ ├── UEPySViewport.cpp │ │ ├── UEPySViewport.h │ │ ├── UEPySWidget.cpp │ │ ├── UEPySWidget.h │ │ ├── UEPySWindow.cpp │ │ ├── UEPySWindow.h │ │ ├── UEPySlate.cpp │ │ ├── UEPySlate.h │ │ ├── UEPySlateDelegate.h │ │ └── UEPySlatePythonItem.h │ ├── SlateApplication │ │ ├── UEPyFSlateApplication.cpp │ │ └── UEPyFSlateApplication.h │ ├── UEPyAssetUserData.cpp │ ├── UEPyAssetUserData.h │ ├── UEPyCallable.cpp │ ├── UEPyCallable.h │ ├── UEPyEditor.cpp │ ├── UEPyEditor.h │ ├── UEPyEngine.cpp │ ├── UEPyEngine.h │ ├── UEPyEnumsImporter.cpp │ ├── UEPyEnumsImporter.h │ ├── UEPyIPlugin.cpp │ ├── UEPyIPlugin.h │ ├── UEPyLambda.cpp │ ├── UEPyLambda.h │ ├── UEPyModule.cpp │ ├── UEPyModule.h │ ├── UEPySubclassing.cpp │ ├── UEPyTicker.cpp │ ├── UEPyTicker.h │ ├── UEPyTimer.cpp │ ├── UEPyTimer.h │ ├── UEPyUClassesImporter.cpp │ ├── UEPyUClassesImporter.h │ ├── UEPyUScriptStruct.cpp │ ├── UEPyUScriptStruct.h │ ├── UEPyUStructsImporter.cpp │ ├── UEPyUStructsImporter.h │ ├── UEPyVisualLogger.cpp │ ├── UEPyVisualLogger.h │ ├── UObject │ │ ├── UEPyActor.cpp │ │ ├── UEPyActor.h │ │ ├── UEPyAnimSequence.cpp │ │ ├── UEPyAnimSequence.h │ │ ├── UEPyAttaching.cpp │ │ ├── UEPyAttaching.h │ │ ├── UEPyAudio.cpp │ │ ├── UEPyAudio.h │ │ ├── UEPyCapture.cpp │ │ ├── UEPyCapture.h │ │ ├── UEPyController.cpp │ │ ├── UEPyController.h │ │ ├── UEPyDataTable.cpp │ │ ├── UEPyDataTable.h │ │ ├── UEPyExporter.cpp │ │ ├── UEPyExporter.h │ │ ├── UEPyFoliage.cpp │ │ ├── UEPyFoliage.h │ │ ├── UEPyHUD.cpp │ │ ├── UEPyHUD.h │ │ ├── UEPyInput.cpp │ │ ├── UEPyInput.h │ │ ├── UEPyLandscape.cpp │ │ ├── UEPyLandscape.h │ │ ├── UEPyMaterial.cpp │ │ ├── UEPyMaterial.h │ │ ├── UEPyMovements.cpp │ │ ├── UEPyMovements.h │ │ ├── UEPyNavigation.cpp │ │ ├── UEPyNavigation.h │ │ ├── UEPyObject.cpp │ │ ├── UEPyObject.h │ │ ├── UEPyPackage.cpp │ │ ├── UEPyPackage.h │ │ ├── UEPyPawn.cpp │ │ ├── UEPyPawn.h │ │ ├── UEPyPhysics.cpp │ │ ├── UEPyPhysics.h │ │ ├── UEPyPlayer.cpp │ │ ├── UEPyPlayer.h │ │ ├── UEPySequencer.cpp │ │ ├── UEPySequencer.h │ │ ├── UEPySkeletal.cpp │ │ ├── UEPySkeletal.h │ │ ├── UEPySpline.cpp │ │ ├── UEPySpline.h │ │ ├── UEPyStaticMesh.cpp │ │ ├── UEPyStaticMesh.h │ │ ├── UEPyTexture.cpp │ │ ├── UEPyTexture.h │ │ ├── UEPyTraceAndSweep.cpp │ │ ├── UEPyTraceAndSweep.h │ │ ├── UEPyTransform.cpp │ │ ├── UEPyTransform.h │ │ ├── UEPyUPropertyBackwardsCompatibility.h │ │ ├── UEPyUserDefinedStruct.cpp │ │ ├── UEPyUserDefinedStruct.h │ │ ├── UEPyViewport.cpp │ │ ├── UEPyViewport.h │ │ ├── UEPyWidget.cpp │ │ ├── UEPyWidget.h │ │ ├── UEPyWidgetComponent.cpp │ │ ├── UEPyWidgetComponent.h │ │ ├── UEPyWorld.cpp │ │ └── UEPyWorld.h │ ├── UnrealEnginePython.cpp │ ├── UnrealEnginePythonPrivatePCH.h │ ├── Voice │ │ ├── UEPyIVoiceCapture.cpp │ │ └── UEPyIVoiceCapture.h │ ├── Wrappers │ │ ├── UEPyESlateEnums.cpp │ │ ├── UEPyESlateEnums.h │ │ ├── UEPyFARFilter.cpp │ │ ├── UEPyFARFilter.h │ │ ├── UEPyFAssetData.cpp │ │ ├── UEPyFAssetData.h │ │ ├── UEPyFColor.cpp │ │ ├── UEPyFColor.h │ │ ├── UEPyFEditorViewportClient.cpp │ │ ├── UEPyFEditorViewportClient.h │ │ ├── UEPyFFoliageInstance.cpp │ │ ├── UEPyFFoliageInstance.h │ │ ├── UEPyFFrameNumber.cpp │ │ ├── UEPyFFrameNumber.h │ │ ├── UEPyFHitResult.cpp │ │ ├── UEPyFHitResult.h │ │ ├── UEPyFLinearColor.cpp │ │ ├── UEPyFLinearColor.h │ │ ├── UEPyFMorphTargetDelta.cpp │ │ ├── UEPyFMorphTargetDelta.h │ │ ├── UEPyFObjectThumbnail.cpp │ │ ├── UEPyFObjectThumbnail.h │ │ ├── UEPyFPythonOutputDevice.cpp │ │ ├── UEPyFPythonOutputDevice.h │ │ ├── UEPyFQuat.cpp │ │ ├── UEPyFQuat.h │ │ ├── UEPyFRandomStream.cpp │ │ ├── UEPyFRandomStream.h │ │ ├── UEPyFRawAnimSequenceTrack.cpp │ │ ├── UEPyFRawAnimSequenceTrack.h │ │ ├── UEPyFRawMesh.cpp │ │ ├── UEPyFRawMesh.h │ │ ├── UEPyFRotator.cpp │ │ ├── UEPyFRotator.h │ │ ├── UEPyFSlowTask.cpp │ │ ├── UEPyFSlowTask.h │ │ ├── UEPyFSocket.cpp │ │ ├── UEPyFSocket.h │ │ ├── UEPyFSoftSkinVertex.cpp │ │ ├── UEPyFSoftSkinVertex.h │ │ ├── UEPyFStringAssetReference.cpp │ │ ├── UEPyFStringAssetReference.h │ │ ├── UEPyFTransform.cpp │ │ ├── UEPyFTransform.h │ │ ├── UEPyFVector.cpp │ │ ├── UEPyFVector.h │ │ ├── UEPyFVector2D.cpp │ │ ├── UEPyFVector2D.h │ │ ├── UEPyFViewportClient.cpp │ │ ├── UEPyFViewportClient.h │ │ ├── UEPyIAssetEditorInstance.cpp │ │ └── UEPyIAssetEditorInstance.h │ └── hosts-per-state.py │ ├── Public │ ├── PipConsoleManager.h │ ├── PyActor.h │ ├── PyCharacter.h │ ├── PyCommandlet.h │ ├── PyHUD.h │ ├── PyNativeWidgetHost.h │ ├── PyPawn.h │ ├── PyUserWidget.h │ ├── PythonBlueprintFunctionLibrary.h │ ├── PythonClass.h │ ├── PythonComponent.h │ ├── PythonDelegate.h │ ├── PythonFunction.h │ ├── PythonHouseKeeper.h │ ├── PythonScript.h │ ├── PythonSmartDelegate.h │ └── UnrealEnginePython.h │ ├── UnrealEnginePython.Build.cs │ └── UnrealEnginePython_APL.xml ├── ThirdParty ├── Pip │ ├── InstallPip.bat │ └── get-pip.py ├── Python27 │ └── Include │ │ ├── Python-ast.h │ │ ├── Python.h │ │ ├── abstract.h │ │ ├── asdl.h │ │ ├── ast.h │ │ ├── bitset.h │ │ ├── boolobject.h │ │ ├── bufferobject.h │ │ ├── bytearrayobject.h │ │ ├── bytes_methods.h │ │ ├── bytesobject.h │ │ ├── cStringIO.h │ │ ├── cellobject.h │ │ ├── ceval.h │ │ ├── classobject.h │ │ ├── cobject.h │ │ ├── code.h │ │ ├── codecs.h │ │ ├── compile.h │ │ ├── complexobject.h │ │ ├── datetime.h │ │ ├── descrobject.h │ │ ├── dictobject.h │ │ ├── dtoa.h │ │ ├── enumobject.h │ │ ├── errcode.h │ │ ├── eval.h │ │ ├── fileobject.h │ │ ├── floatobject.h │ │ ├── frameobject.h │ │ ├── funcobject.h │ │ ├── genobject.h │ │ ├── graminit.h │ │ ├── grammar.h │ │ ├── import.h │ │ ├── intobject.h │ │ ├── intrcheck.h │ │ ├── iterobject.h │ │ ├── listobject.h │ │ ├── longintrepr.h │ │ ├── longobject.h │ │ ├── marshal.h │ │ ├── memoryobject.h │ │ ├── metagrammar.h │ │ ├── methodobject.h │ │ ├── modsupport.h │ │ ├── moduleobject.h │ │ ├── node.h │ │ ├── object.h │ │ ├── objimpl.h │ │ ├── opcode.h │ │ ├── osdefs.h │ │ ├── parsetok.h │ │ ├── patchlevel.h │ │ ├── pgen.h │ │ ├── pgenheaders.h │ │ ├── py_curses.h │ │ ├── pyarena.h │ │ ├── pycapsule.h │ │ ├── pyctype.h │ │ ├── pydebug.h │ │ ├── pyerrors.h │ │ ├── pyexpat.h │ │ ├── pyfpe.h │ │ ├── pygetopt.h │ │ ├── pymacconfig.h │ │ ├── pymactoolbox.h │ │ ├── pymath.h │ │ ├── pymem.h │ │ ├── pyport.h │ │ ├── pystate.h │ │ ├── pystrcmp.h │ │ ├── pystrtod.h │ │ ├── pythonrun.h │ │ ├── pythread.h │ │ ├── rangeobject.h │ │ ├── setobject.h │ │ ├── sliceobject.h │ │ ├── stringobject.h │ │ ├── structmember.h │ │ ├── structseq.h │ │ ├── symtable.h │ │ ├── sysmodule.h │ │ ├── timefuncs.h │ │ ├── token.h │ │ ├── traceback.h │ │ ├── tupleobject.h │ │ ├── ucnhash.h │ │ ├── unicodeobject.h │ │ ├── warnings.h │ │ └── weakrefobject.h └── Python36 │ └── Include │ ├── Python-ast.h │ ├── Python.h │ ├── abstract.h │ ├── accu.h │ ├── asdl.h │ ├── ast.h │ ├── bitset.h │ ├── bltinmodule.h │ ├── boolobject.h │ ├── bytearrayobject.h │ ├── bytes_methods.h │ ├── bytesobject.h │ ├── cellobject.h │ ├── ceval.h │ ├── classobject.h │ ├── code.h │ ├── codecs.h │ ├── compile.h │ ├── complexobject.h │ ├── datetime.h │ ├── descrobject.h │ ├── dictobject.h │ ├── dtoa.h │ ├── dynamic_annotations.h │ ├── enumobject.h │ ├── errcode.h │ ├── eval.h │ ├── fileobject.h │ ├── fileutils.h │ ├── floatobject.h │ ├── frameobject.h │ ├── funcobject.h │ ├── genobject.h │ ├── graminit.h │ ├── grammar.h │ ├── import.h │ ├── intrcheck.h │ ├── iterobject.h │ ├── listobject.h │ ├── longintrepr.h │ ├── longobject.h │ ├── marshal.h │ ├── memoryobject.h │ ├── metagrammar.h │ ├── methodobject.h │ ├── modsupport.h │ ├── moduleobject.h │ ├── namespaceobject.h │ ├── node.h │ ├── object.h │ ├── objimpl.h │ ├── odictobject.h │ ├── opcode.h │ ├── osdefs.h │ ├── osmodule.h │ ├── parsetok.h │ ├── patchlevel.h │ ├── pgen.h │ ├── pgenheaders.h │ ├── py_curses.h │ ├── pyarena.h │ ├── pyatomic.h │ ├── pycapsule.h │ ├── pyconfig.h │ ├── pyctype.h │ ├── pydebug.h │ ├── pydtrace.d │ ├── pydtrace.h │ ├── pyerrors.h │ ├── pyexpat.h │ ├── pyfpe.h │ ├── pygetopt.h │ ├── pyhash.h │ ├── pylifecycle.h │ ├── pymacconfig.h │ ├── pymacro.h │ ├── pymath.h │ ├── pymem.h │ ├── pyport.h │ ├── pystate.h │ ├── pystrcmp.h │ ├── pystrhex.h │ ├── pystrtod.h │ ├── pythonrun.h │ ├── pythread.h │ ├── pytime.h │ ├── rangeobject.h │ ├── setobject.h │ ├── sliceobject.h │ ├── structmember.h │ ├── structseq.h │ ├── symtable.h │ ├── sysmodule.h │ ├── token.h │ ├── traceback.h │ ├── tupleobject.h │ ├── typeslots.h │ ├── ucnhash.h │ ├── unicodeobject.h │ ├── warnings.h │ └── weakrefobject.h ├── UnrealEnginePython.uplugin ├── android ├── armeabi-v7a │ ├── libcrystax.so │ ├── libpython2.7.so │ └── libpython3.5m.so ├── python27 │ ├── include │ │ ├── Python-ast.h │ │ ├── Python.h │ │ ├── abstract.h │ │ ├── asdl.h │ │ ├── ast.h │ │ ├── bitset.h │ │ ├── boolobject.h │ │ ├── bufferobject.h │ │ ├── bytearrayobject.h │ │ ├── bytes_methods.h │ │ ├── bytesobject.h │ │ ├── cStringIO.h │ │ ├── cellobject.h │ │ ├── ceval.h │ │ ├── classobject.h │ │ ├── cobject.h │ │ ├── code.h │ │ ├── codecs.h │ │ ├── compile.h │ │ ├── complexobject.h │ │ ├── datetime.h │ │ ├── descrobject.h │ │ ├── dictobject.h │ │ ├── dtoa.h │ │ ├── enumobject.h │ │ ├── errcode.h │ │ ├── eval.h │ │ ├── fileobject.h │ │ ├── floatobject.h │ │ ├── frameobject.h │ │ ├── funcobject.h │ │ ├── genobject.h │ │ ├── graminit.h │ │ ├── grammar.h │ │ ├── import.h │ │ ├── intobject.h │ │ ├── intrcheck.h │ │ ├── iterobject.h │ │ ├── listobject.h │ │ ├── longintrepr.h │ │ ├── longobject.h │ │ ├── marshal.h │ │ ├── memoryobject.h │ │ ├── metagrammar.h │ │ ├── methodobject.h │ │ ├── modsupport.h │ │ ├── moduleobject.h │ │ ├── node.h │ │ ├── object.h │ │ ├── objimpl.h │ │ ├── opcode.h │ │ ├── osdefs.h │ │ ├── parsetok.h │ │ ├── patchlevel.h │ │ ├── pgen.h │ │ ├── pgenheaders.h │ │ ├── py_curses.h │ │ ├── pyarena.h │ │ ├── pycapsule.h │ │ ├── pyconfig.h │ │ ├── pyconfig_arm64_v8a.h │ │ ├── pyconfig_armeabi.h │ │ ├── pyconfig_armeabi_v7a.h │ │ ├── pyconfig_armeabi_v7a_hard.h │ │ ├── pyconfig_mips.h │ │ ├── pyconfig_mips64.h │ │ ├── pyconfig_x86.h │ │ ├── pyconfig_x86_64.h │ │ ├── pyctype.h │ │ ├── pydebug.h │ │ ├── pyerrors.h │ │ ├── pyexpat.h │ │ ├── pyfpe.h │ │ ├── pygetopt.h │ │ ├── pymacconfig.h │ │ ├── pymactoolbox.h │ │ ├── pymath.h │ │ ├── pymem.h │ │ ├── pyport.h │ │ ├── pystate.h │ │ ├── pystrcmp.h │ │ ├── pystrtod.h │ │ ├── pythonrun.h │ │ ├── pythread.h │ │ ├── rangeobject.h │ │ ├── setobject.h │ │ ├── sliceobject.h │ │ ├── stringobject.h │ │ ├── structmember.h │ │ ├── structseq.h │ │ ├── symtable.h │ │ ├── sysmodule.h │ │ ├── timefuncs.h │ │ ├── token.h │ │ ├── traceback.h │ │ ├── tupleobject.h │ │ ├── ucnhash.h │ │ ├── unicodeobject.h │ │ ├── warnings.h │ │ └── weakrefobject.h │ └── stdlib.zip └── python35 │ ├── include │ ├── Python-ast.h │ ├── Python.h │ ├── abstract.h │ ├── accu.h │ ├── asdl.h │ ├── ast.h │ ├── bitset.h │ ├── bltinmodule.h │ ├── boolobject.h │ ├── bytearrayobject.h │ ├── bytes_methods.h │ ├── bytesobject.h │ ├── cellobject.h │ ├── ceval.h │ ├── classobject.h │ ├── code.h │ ├── codecs.h │ ├── compile.h │ ├── complexobject.h │ ├── datetime.h │ ├── descrobject.h │ ├── dictobject.h │ ├── dtoa.h │ ├── dynamic_annotations.h │ ├── enumobject.h │ ├── errcode.h │ ├── eval.h │ ├── fileobject.h │ ├── fileutils.h │ ├── floatobject.h │ ├── frameobject.h │ ├── funcobject.h │ ├── genobject.h │ ├── graminit.h │ ├── grammar.h │ ├── import.h │ ├── intrcheck.h │ ├── iterobject.h │ ├── listobject.h │ ├── longintrepr.h │ ├── longobject.h │ ├── marshal.h │ ├── memoryobject.h │ ├── metagrammar.h │ ├── methodobject.h │ ├── modsupport.h │ ├── moduleobject.h │ ├── namespaceobject.h │ ├── node.h │ ├── object.h │ ├── objimpl.h │ ├── odictobject.h │ ├── opcode.h │ ├── osdefs.h │ ├── parsetok.h │ ├── patchlevel.h │ ├── pgen.h │ ├── pgenheaders.h │ ├── py_curses.h │ ├── pyarena.h │ ├── pyatomic.h │ ├── pycapsule.h │ ├── pyconfig.h │ ├── pyconfig_arm64_v8a.h │ ├── pyconfig_armeabi.h │ ├── pyconfig_armeabi_v7a.h │ ├── pyconfig_armeabi_v7a_hard.h │ ├── pyconfig_mips.h │ ├── pyconfig_mips64.h │ ├── pyconfig_x86.h │ ├── pyconfig_x86_64.h │ ├── pyctype.h │ ├── pydebug.h │ ├── pyerrors.h │ ├── pyexpat.h │ ├── pyfpe.h │ ├── pygetopt.h │ ├── pyhash.h │ ├── pylifecycle.h │ ├── pymacconfig.h │ ├── pymacro.h │ ├── pymath.h │ ├── pymem.h │ ├── pyport.h │ ├── pystate.h │ ├── pystrcmp.h │ ├── pystrhex.h │ ├── pystrtod.h │ ├── pythonrun.h │ ├── pythread.h │ ├── pytime.h │ ├── rangeobject.h │ ├── setobject.h │ ├── sliceobject.h │ ├── structmember.h │ ├── structseq.h │ ├── symtable.h │ ├── sysmodule.h │ ├── token.h │ ├── traceback.h │ ├── tupleobject.h │ ├── typeslots.h │ ├── ucnhash.h │ ├── unicodeobject.h │ ├── warnings.h │ └── weakrefobject.h │ └── stdlib.zip ├── docs ├── Android.md ├── Animation_API.md ├── Audio_API.md ├── Collections_API.md ├── DataTable_API.md ├── Foliage_API.md ├── Fracturing_API.md ├── Graph_API.md ├── Http_API.md ├── Landscape_API.md ├── Level_API.md ├── ManagingAssets.md ├── Material_API.md ├── MemoryManagement.md ├── MigrateAssets.md ├── Navigation_API.md ├── Physics_API.md ├── Plugin_API.md ├── PythonConsole.md ├── Settings.md ├── Slate_API.md ├── Splines_API.md ├── Subclassing_API.md ├── Tagging_API.md ├── Thumbnail_API.md ├── Timer_API.md ├── Transactions_API.md ├── UnrealEngineModule.md ├── Viewport_API.md ├── android_packaging.png ├── screenshots │ ├── slate_Nomad.png │ ├── slate_OOP.png │ ├── slate_Padding.png │ ├── slate_Padding2.png │ ├── slate_Padding3.png │ ├── slate_Padding4.png │ ├── slate_SBorder.png │ ├── slate_SButton.png │ ├── slate_SCheckBox.png │ ├── slate_SDetailView.png │ ├── slate_SEditableTextBox.png │ ├── slate_SGridPanel.png │ ├── slate_SHorizontalBox.png │ ├── slate_SHorizontalBox2.png │ ├── slate_SImage.png │ ├── slate_SObjectPropertyEntryBox.png │ ├── slate_SPythonEditorViewport.png │ ├── slate_SScrollBox.png │ ├── slate_STextBlock.png │ ├── slate_STextBlock_red.png │ ├── slate_SVerticalBox.png │ ├── slate_SWindow.png │ └── slate_Slot.png ├── sequencer_API.md └── uobject_API.md ├── examples ├── MaterialExpressionStaticSwitch.md ├── MaterialExpressionStaticSwitch.png ├── add_instance_component.py ├── asset_editors.py ├── asset_metadata_tag.py ├── blueprint_dynamic_cast.py ├── blueprint_example_generator.py ├── blueprint_variables.py ├── builder_nif.py ├── create_user_defined_struct.py ├── curve_generator.py ├── custom_settings.py ├── dynamic_combo_box.py ├── edit_level_blueprint.py ├── editor_scripting001.py ├── extenders_example.py ├── fasset_data_thumbnails.py ├── fbx_curves_extractor.py ├── get_uobjects_in_loaded_levels.py ├── get_windows.py ├── graphs_creator.py ├── import_fbx_animations_from_dir.py ├── kaiju_builder.py ├── kdop.py ├── mass_renamer.py ├── multi_in_editor_capture.py ├── pie_screenshotter.py ├── register_new_native_component.py ├── rotate_texture.py ├── sequencer_scripting.py ├── slate_example.py ├── slate_file_path_picker.py ├── slow_task.py ├── slow_task_with_progress_bar.py ├── sub_menu.py ├── subclassing_simple_example.py ├── thumbnail_viewer.py ├── viewport_manager.py ├── widget_blueprint_generator.py └── world_folders_and_groups.py ├── run_tests.py ├── screenshots ├── python_editor_screenshot001.png ├── unreal_screenshot1.png ├── unreal_screenshot2.png ├── unreal_screenshot3.png ├── unreal_screenshot4.png └── unreal_screenshot_PythonEditor.png ├── tests ├── __init__.py ├── test_actor.py ├── test_blueprint.py ├── test_clipboard.py ├── test_console_manager.py ├── test_http.py ├── test_plugin.py ├── test_randomstream.py ├── test_sequencer.py ├── test_structs.py ├── test_transform.py └── test_uobject.py ├── tools ├── build_mac.sh ├── build_win64.py ├── generate_pyi_stubs.py ├── generate_sublime_text_autocomplete.py ├── release_check.py └── release_win64.py └── tutorials ├── AsyncIOAndUnrealEngine.md ├── AsyncIO_Assets ├── py_user_widget_designer.PNG ├── py_user_widget_graph.PNG └── py_user_widget_level_blueprint.PNG ├── FaceRecognitionWithOpenCVAndUnrealEnginePython.md ├── FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets ├── eyes.py ├── eyes_fifth.py ├── eyes_first.py ├── eyes_fourth.py ├── eyes_second.py ├── eyes_third.py ├── hud.py ├── hud_first.py ├── hud_second.py └── utils.py ├── FixingMixamoRootMotionWithPython.md ├── FixingMixamoRootMotionWithPython_Assets ├── animation_fixed.png ├── broken_run.png ├── default_skeleton.png ├── fixed_influences.png ├── mixamo.png ├── mixamo.py └── no_influences.png ├── PlottingGraphsWithMatplotlibAndUnrealEnginePython.md ├── PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets ├── enable_plugin.png ├── graph_blueprint.png ├── graph_texture.py ├── pip_install.png ├── platforms_event_graph.png ├── platforms_notify_plotter.png ├── platforms_viewport.png ├── play.png ├── plotter.py ├── test_plotter_platforms.py ├── texture_created.png └── third_person.png ├── SnippetsForStaticAndSkeletalMeshes.md ├── SnippetsForStaticAndSkeletalMeshes_Assets ├── bezier.PNG ├── bezier_path.svg ├── bone_tree.PNG ├── broken_pivot.PNG ├── bvh.PNG ├── collada.PNG ├── content_browser.PNG ├── cube_skel.PNG ├── cube_skel_sections.PNG ├── fixed_pivot.PNG ├── get_selected_assets.PNG ├── knight.PNG ├── knight.js ├── knight_morph.PNG ├── mannequin.PNG ├── mannequin_lods.PNG ├── mannequin_reskeleted.PNG ├── merged_skel.PNG ├── mesh_bounds.PNG ├── mesh_merged.PNG ├── morph_0_to_1.PNG ├── morph_target.PNG ├── python_exception.PNG ├── renamed_bones.PNG ├── root_motion.PNG ├── skel_colors.PNG ├── sockets.PNG ├── static_meshes_to_merge.PNG ├── threejs_importer.py └── vertex_color_material.PNG ├── WritingAColladaFactoryWithPython.md ├── WritingAColladaFactoryWithPython_Assets ├── Vampire_diffuse.png ├── Vampire_emission.png ├── Vampire_normal.png ├── Vampire_specular.png ├── added_pycollada.png ├── auto_options.png ├── broken_vampire.png ├── class_prototype.png ├── collada_factory.py ├── duck_triangles.dae ├── empty_mesh.png ├── first_import.png ├── import_options.png ├── multiple_runs.png ├── slate_demo.png ├── the_duck.png └── vampire.dae ├── YourFirstAutomatedPipeline.md ├── YourFirstAutomatedPipeline_Assets ├── Kaiju_Assets.zip ├── check_plugin.png ├── first_script_console.png ├── first_script_editor.png ├── kaiju_slicer_pipeline.py ├── python_console.png ├── python_editor.png ├── screenshot_window_menu.png ├── slicer_anim_blueprint.png ├── slicer_anim_blueprint_event_graph.png ├── slicer_anim_blueprint_with_nodes.png ├── slicer_animations.png ├── slicer_blades_material.png ├── slicer_blueprint.png ├── slicer_body_material.png ├── slicer_locomotion.png ├── slicer_materials.png ├── slicer_mesh.png ├── slicer_state_machine.png ├── slicer_state_machine_connections.png ├── slicer_state_machine_transitions.png ├── slicer_states.png ├── slicer_states_attack.png ├── slicer_states_bored.png ├── slicer_states_locomotion.png ├── slicer_textures.png ├── slicer_with_materials.png └── slicer_without_materials.png └── YourFirstAutomatedPipeline_Part2.md /AUTHORS: -------------------------------------------------------------------------------- 1 | Roberto De Ioris (info@20tab.com) 2 | -------------------------------------------------------------------------------- /CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Roberto De Ioris (maintainer and developer, 20Tab) 2 | Ikrima Elhassan (developer and sponsor, Kite & Lightning) 3 | Tony Barbieri 4 | Huey Park 5 | Eric Feng 6 | 7 | -------------------------------------------------------------------------------- /Content/Scripts/upy_redirect_print.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import unreal_engine as ue 3 | 4 | class Redirector(object): 5 | def __init__(self): 6 | pass 7 | 8 | def write(self, message): 9 | ue.log(message) 10 | 11 | def flush(self): 12 | sys.stdout.flush() 13 | 14 | def splitlines(self): 15 | sys.stdout.splitlines() 16 | 17 | sys.stdout = Redirector() 18 | sys.stderr = Redirector() -------------------------------------------------------------------------------- /Content/Scripts/upythread.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from threading import Thread 3 | 4 | #internal, don't call directly 5 | def backgroundAction(args=None): 6 | #ue.log(args) 7 | 8 | action = args[0] 9 | actionArgs = None 10 | 11 | if len(args) >1: 12 | actionArgs = args[1] 13 | 14 | if len(args) >2: 15 | callback = args[2] 16 | 17 | #call the blocking action 18 | if actionArgs: 19 | result = action(actionArgs) 20 | else: 21 | result = action() 22 | 23 | #return the result if we have a callback 24 | if callback: 25 | if result: 26 | ue.run_on_gt(callback, result) 27 | else: 28 | ue.run_on_gt(callback) 29 | 30 | #run function on a background thread, optional callback when complete on game thread 31 | def run_on_bt(actionfunction, functionArgs=None, callback=None): 32 | t = Thread(target=backgroundAction, args=([actionfunction, functionArgs, callback],)) 33 | t.start() 34 | -------------------------------------------------------------------------------- /Resources/Font/DroidSansMono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/Font/DroidSansMono.ttf -------------------------------------------------------------------------------- /Resources/Icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/Icon128.png -------------------------------------------------------------------------------- /Resources/UI/DeleteFile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/DeleteFile.png -------------------------------------------------------------------------------- /Resources/UI/Excute_x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/Excute_x40.png -------------------------------------------------------------------------------- /Resources/UI/FolderClosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/FolderClosed.png -------------------------------------------------------------------------------- /Resources/UI/FolderOpen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/FolderOpen.png -------------------------------------------------------------------------------- /Resources/UI/GenericFile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/GenericFile.png -------------------------------------------------------------------------------- /Resources/UI/PythonEditor_16x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/PythonEditor_16x.png -------------------------------------------------------------------------------- /Resources/UI/SaveAll_40x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/SaveAll_40x.png -------------------------------------------------------------------------------- /Resources/UI/Save_40x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/Save_40x.png -------------------------------------------------------------------------------- /Resources/UI/TextBlockHighlightShape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/TextBlockHighlightShape.png -------------------------------------------------------------------------------- /Resources/UI/TextEditorBorder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/Resources/UI/TextEditorBorder.png -------------------------------------------------------------------------------- /Source/PythonAutomation/Private/PythonAutomationModule.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. 2 | 3 | #include "PythonAutomationModule.h" 4 | #include "UnrealEnginePython.h" 5 | #include "UEPyFAutomationEditorCommonUtils.h" 6 | 7 | IMPLEMENT_MODULE(FPythonAutomationModule, PythonAutomation); 8 | 9 | 10 | void FPythonAutomationModule::StartupModule() 11 | { 12 | FScopePythonGIL gil; 13 | PyObject *py_automation_module = ue_py_register_module("unreal_engine.automation"); 14 | ue_python_init_fautomation_editor_common_utils(py_automation_module); 15 | } 16 | 17 | void FPythonAutomationModule::ShutdownModule() 18 | { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /Source/PythonAutomation/Private/UEPyFAutomationEditorCommonUtils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "Tests/AutomationEditorCommon.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | } ue_PyFAutomationEditorCommonUtils; 12 | 13 | void ue_python_init_fautomation_editor_common_utils(PyObject *); 14 | -------------------------------------------------------------------------------- /Source/PythonAutomation/Public/PythonAutomationModule.h: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2018 20Tab S.r.l. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "CoreMinimal.h" 6 | #if ENGINE_MAJOR_VERSION==4 && ENGINE_MINOR_VERSION>=22 7 | #include "Modules/ModuleInterface.h" 8 | #else 9 | #include "ModuleInterface.h" 10 | #endif 11 | 12 | class FPythonAutomationModule : public IModuleInterface 13 | { 14 | public: 15 | virtual void StartupModule(); 16 | virtual void ShutdownModule(); 17 | 18 | }; 19 | -------------------------------------------------------------------------------- /Source/PythonConsole/Private/PythonScriptFactory.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "PythonScriptFactory.h" 3 | #include "PythonScript.h" 4 | 5 | UPythonScriptFactory::UPythonScriptFactory(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { 6 | 7 | Formats.Add(FString("py;Python Script")); 8 | 9 | bCreateNew = false; 10 | bEditAfterNew = true; 11 | 12 | bEditorImport = true; 13 | 14 | SupportedClass = UPythonScript::StaticClass(); 15 | } 16 | 17 | UObject* UPythonScriptFactory::FactoryCreateFile(UClass * Class, UObject *InParent, FName InName, EObjectFlags Flags, const FString& Filename, const TCHAR* Parms, FFeedbackContext *Warn, bool& bOutOperationCanceled) { 18 | UPythonScript *NewAsset = NewObject(InParent, Class, InName, Flags); 19 | 20 | NewAsset->ScriptPath = Filename; 21 | 22 | bOutOperationCanceled = false; 23 | return NewAsset; 24 | } -------------------------------------------------------------------------------- /Source/PythonConsole/Public/PythonScriptFactory.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEd.h" 4 | #include "PythonScriptFactory.generated.h" 5 | 6 | UCLASS() 7 | class UPythonScriptFactory : public UFactory 8 | { 9 | GENERATED_UCLASS_BODY() 10 | 11 | public: 12 | virtual UObject* FactoryCreateFile(UClass * Class, UObject *InParent, FName InName, EObjectFlags Flags, const FString& Filename, const TCHAR* Parms, FFeedbackContext *Warn, bool& bOutOperationCanceled) override; 13 | }; 14 | 15 | 16 | -------------------------------------------------------------------------------- /Source/PythonEditor/Private/DirectoryScanner.h: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "PythonProjectItem.h" 6 | 7 | DECLARE_DELEGATE_TwoParams(FOnDirectoryScanned, const FString& /*InPathName*/, EPythonProjectItemType::Type /*InType*/); 8 | 9 | class FDirectoryScanner 10 | { 11 | public: 12 | static bool Tick(); 13 | 14 | static void AddDirectory(const FString& PathName, const FOnDirectoryScanned& OnDirectoryScanned); 15 | 16 | static bool IsScanning() ; 17 | 18 | public: 19 | static TArray CommandQueue; 20 | 21 | static bool bDataDirty; 22 | }; -------------------------------------------------------------------------------- /Source/PythonEditor/Private/PythonEditorCustomization.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. 2 | 3 | #include "PythonEditorCustomization.h" 4 | 5 | UPythonEditorCustomization::UPythonEditorCustomization(const FObjectInitializer& ObjectInitializer) 6 | : Super(ObjectInitializer) 7 | { 8 | } 9 | 10 | const FControlCustomization& UPythonEditorCustomization::GetControl(const FName& ControlCustomizationName) 11 | { 12 | static FControlCustomization Default; 13 | 14 | return Default; 15 | } 16 | 17 | const FTextCustomization& UPythonEditorCustomization::GetText(const FName& TextCustomizationName) 18 | { 19 | static FTextCustomization Default; 20 | 21 | return Default; 22 | } -------------------------------------------------------------------------------- /Source/PythonEditor/Private/PythonEditorStyle.h: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "Runtime/SlateCore/Public/Styling/SlateStyle.h" 6 | 7 | class FPythonEditorStyle 8 | { 9 | public: 10 | 11 | static void Initialize(); 12 | static void Shutdown(); 13 | 14 | static const ISlateStyle& Get(); 15 | 16 | static const FName& GetStyleSetName(); 17 | 18 | private: 19 | 20 | /** Singleton instances of this style. */ 21 | static TSharedPtr< class FSlateStyleSet > StyleSet; 22 | }; -------------------------------------------------------------------------------- /Source/PythonEditor/Private/PythonProject.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. 2 | 3 | #include "PythonProject.h" 4 | #include "UnrealEnginePython.h" 5 | 6 | 7 | UPythonProject::UPythonProject(const FObjectInitializer& ObjectInitializer) 8 | : Super(ObjectInitializer) 9 | { 10 | FUnrealEnginePythonModule &PythonModule = FModuleManager::GetModuleChecked("UnrealEnginePython"); 11 | Path = PythonModule.ScriptsPaths[0]; 12 | } 13 | -------------------------------------------------------------------------------- /Source/PythonEditor/Private/PythonProject.h: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "PythonProjectItem.h" 6 | #include "PythonProject.generated.h" 7 | 8 | UCLASS() 9 | class UPythonProject : public UPythonProjectItem 10 | { 11 | GENERATED_UCLASS_BODY() 12 | 13 | // @TODO: This class should probably be mostly config/settings stuff, with a details panel allowing editing somewhere 14 | }; -------------------------------------------------------------------------------- /Source/PythonEditor/Private/PythonProjectEditorCommands.h: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "Runtime/Slate/Public/Framework/Commands/Commands.h" 6 | 7 | class FPythonProjectEditorCommands : public TCommands 8 | { 9 | public: 10 | FPythonProjectEditorCommands(); 11 | 12 | TSharedPtr New; 13 | TSharedPtr NewDirectory; 14 | TSharedPtr Delete; 15 | TSharedPtr Save; 16 | TSharedPtr SaveAll; 17 | TSharedPtr Execute; 18 | #if PLATFORM_MAC 19 | TSharedPtr ExecuteInMainThread; 20 | #endif 21 | TSharedPtr PEP8ize; 22 | /** Initialize commands */ 23 | virtual void RegisterCommands() override; 24 | }; 25 | -------------------------------------------------------------------------------- /Source/PythonEditor/Private/PythonProjectEditorToolbar.h: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "PythonProjectEditor.h" 6 | #include "Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h" 7 | 8 | class FPythonProjectEditorToolbar : public TSharedFromThis 9 | { 10 | public: 11 | FPythonProjectEditorToolbar(TSharedPtr InPythonProjectEditor) 12 | : PythonProjectEditor(InPythonProjectEditor) {} 13 | 14 | void AddEditorToolbar(TSharedPtr Extender); 15 | 16 | private: 17 | void FillEditorToolbar(FToolBarBuilder& ToolbarBuilder); 18 | 19 | protected: 20 | /** Pointer back to the Python editor tool that owns us */ 21 | TWeakPtr PythonProjectEditor; 22 | }; 23 | -------------------------------------------------------------------------------- /Source/PythonEditor/Private/WhiteSpaceTextRun.h: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "Runtime/Slate/Public/Framework/Text/SlateTextRun.h" 6 | 7 | class FWhiteSpaceTextRun : public FSlateTextRun 8 | { 9 | public: 10 | static TSharedRef< FWhiteSpaceTextRun > Create( const FRunInfo& InRunInfo, const TSharedRef< const FString >& InText, const FTextBlockStyle& Style, const FTextRange& InRange, int32 NumSpacesPerTab ); 11 | 12 | public: 13 | virtual FVector2D Measure( int32 StartIndex, int32 EndIndex, float Scale, const FRunTextContext& TextContext) const override; 14 | 15 | protected: 16 | FWhiteSpaceTextRun( const FRunInfo& InRunInfo, const TSharedRef< const FString >& InText, const FTextBlockStyle& InStyle, const FTextRange& InRange, int32 InNumSpacesPerTab ); 17 | 18 | private: 19 | int32 NumSpacesPerTab; 20 | 21 | float TabWidth; 22 | 23 | float SpaceWidth; 24 | }; -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Blueprint/UEPyEdGraphPin.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | 8 | 9 | #include "Runtime/Engine/Classes/EdGraph/EdGraphPin.h" 10 | 11 | typedef struct 12 | { 13 | PyObject_HEAD 14 | /* Type-specific fields go here. */ 15 | UEdGraphPin *pin; 16 | } ue_PyEdGraphPin; 17 | 18 | PyObject *py_ue_new_edgraphpin(UEdGraphPin *); 19 | ue_PyEdGraphPin *py_ue_is_edgraphpin(PyObject *); 20 | 21 | void ue_python_init_edgraphpin(PyObject *); 22 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/CollectionManager/UEPyICollectionManager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #if WITH_EDITOR 4 | 5 | #include "UnrealEnginePython.h" 6 | 7 | #include "Developer/CollectionManager/Public/ICollectionManager.h" 8 | 9 | 10 | typedef struct 11 | { 12 | PyObject_HEAD 13 | /* Type-specific fields go here. */ 14 | } ue_PyICollectionManager; 15 | 16 | void ue_python_init_icollection_manager(PyObject *); 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbx.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #if ENGINE_MINOR_VERSION > 12 4 | #include "UEPyModule.h" 5 | 6 | #if WITH_EDITOR 7 | 8 | #include "UEPyFbxManager.h" 9 | #include "UEPyFbxIOSettings.h" 10 | #include "UEPyFbxImporter.h" 11 | #include "UEPyFbxScene.h" 12 | #include "UEPyFbxNode.h" 13 | #include "UEPyFbxObject.h" 14 | #include "UEPyFbxProperty.h" 15 | #include "UEPyFbxPose.h" 16 | #include "UEPyFbxMesh.h" 17 | 18 | void ue_python_init_fbx(PyObject *); 19 | 20 | #endif 21 | #endif 22 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbxIOSettings.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #if PLATFORM_LINUX 7 | #if defined(__clang__) 8 | #pragma clang diagnostic ignored "-Wnull-dereference" 9 | #endif 10 | #endif 11 | 12 | #include 13 | 14 | struct ue_PyFbxIOSettings 15 | { 16 | PyObject_HEAD 17 | /* Type-specific fields go here. */ 18 | FbxIOSettings *fbx_io_settings; 19 | }; 20 | 21 | 22 | void ue_python_init_fbx_io_settings(PyObject *); 23 | 24 | ue_PyFbxIOSettings *py_ue_is_fbx_io_settings(PyObject *); 25 | #endif 26 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbxImporter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #if PLATFORM_LINUX 7 | #if defined(__clang__) 8 | #pragma clang diagnostic ignored "-Wnull-dereference" 9 | #endif 10 | #endif 11 | 12 | #include 13 | 14 | struct ue_PyFbxImporter 15 | { 16 | PyObject_HEAD 17 | /* Type-specific fields go here. */ 18 | FbxImporter *fbx_importer; 19 | }; 20 | 21 | 22 | void ue_python_init_fbx_importer(PyObject *); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbxManager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #if PLATFORM_LINUX 7 | #if defined(__clang__) 8 | #pragma clang diagnostic ignored "-Wnull-dereference" 9 | #endif 10 | #endif 11 | 12 | 13 | #include 14 | 15 | struct ue_PyFbxManager 16 | { 17 | PyObject_HEAD 18 | /* Type-specific fields go here. */ 19 | FbxManager *fbx_manager; 20 | }; 21 | 22 | 23 | void ue_python_init_fbx_manager(PyObject *); 24 | 25 | ue_PyFbxManager *py_ue_is_fbx_manager(PyObject *); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbxMesh.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | #if ENGINE_MINOR_VERSION > 12 6 | 7 | #if PLATFORM_LINUX 8 | #if defined(__clang__) 9 | #pragma clang diagnostic ignored "-Wnull-dereference" 10 | #endif 11 | #endif 12 | 13 | #include 14 | 15 | struct ue_PyFbxMesh 16 | { 17 | PyObject_HEAD 18 | /* Type-specific fields go here. */ 19 | FbxMesh *fbx_mesh; 20 | }; 21 | 22 | 23 | void ue_python_init_fbx_mesh(PyObject *); 24 | 25 | PyObject *py_ue_new_fbx_mesh(FbxMesh *); 26 | 27 | #endif 28 | #endif 29 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbxNode.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | #if ENGINE_MINOR_VERSION > 12 6 | 7 | #if PLATFORM_LINUX 8 | #if defined(__clang__) 9 | #pragma clang diagnostic ignored "-Wnull-dereference" 10 | #endif 11 | #endif 12 | 13 | #include 14 | 15 | struct ue_PyFbxNode 16 | { 17 | PyObject_HEAD 18 | /* Type-specific fields go here. */ 19 | FbxNode *fbx_node; 20 | }; 21 | 22 | 23 | void ue_python_init_fbx_node(PyObject *); 24 | 25 | PyObject *py_ue_new_fbx_node(FbxNode *); 26 | 27 | ue_PyFbxNode *py_ue_is_fbx_node(PyObject *); 28 | 29 | #endif 30 | #endif 31 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbxObject.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | 7 | #if PLATFORM_LINUX 8 | #if defined(__clang__) 9 | #pragma clang diagnostic ignored "-Wnull-dereference" 10 | #endif 11 | #endif 12 | 13 | #include 14 | 15 | struct ue_PyFbxObject { 16 | PyObject_HEAD 17 | /* Type-specific fields go here. */ 18 | FbxObject *fbx_object; 19 | }; 20 | 21 | 22 | void ue_python_init_fbx_object(PyObject *); 23 | 24 | PyObject *py_ue_new_fbx_object(FbxObject *); 25 | 26 | ue_PyFbxObject *py_ue_is_fbx_object(PyObject *); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbxPose.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #if PLATFORM_LINUX 7 | #if defined(__clang__) 8 | #pragma clang diagnostic ignored "-Wnull-dereference" 9 | #endif 10 | #endif 11 | 12 | #include 13 | 14 | struct ue_PyFbxPose 15 | { 16 | PyObject_HEAD 17 | /* Type-specific fields go here. */ 18 | FbxPose *fbx_pose; 19 | }; 20 | 21 | 22 | void ue_python_init_fbx_pose(PyObject *); 23 | 24 | PyObject *py_ue_new_fbx_pose(FbxPose *); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbxProperty.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #if PLATFORM_LINUX 7 | #if defined(__clang__) 8 | #pragma clang diagnostic ignored "-Wnull-dereference" 9 | #endif 10 | #endif 11 | 12 | #include 13 | 14 | struct ue_PyFbxProperty { 15 | PyObject_HEAD 16 | /* Type-specific fields go here. */ 17 | FbxProperty fbx_property; 18 | }; 19 | 20 | 21 | void ue_python_init_fbx_property(PyObject *); 22 | 23 | PyObject *py_ue_new_fbx_property(FbxProperty); 24 | 25 | ue_PyFbxProperty *py_ue_is_fbx_property(PyObject *); 26 | #endif 27 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Fbx/UEPyFbxScene.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #if PLATFORM_LINUX 7 | #if defined(__clang__) 8 | #pragma clang diagnostic ignored "-Wnull-dereference" 9 | #endif 10 | #endif 11 | 12 | #include 13 | 14 | struct ue_PyFbxScene { 15 | PyObject_HEAD 16 | /* Type-specific fields go here. */ 17 | FbxScene *fbx_scene; 18 | }; 19 | 20 | 21 | void ue_python_init_fbx_scene(PyObject *); 22 | 23 | ue_PyFbxScene *py_ue_is_fbx_scene(PyObject *); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Http/UEPyIHttp.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyIHttpBase.h" 4 | #include "UEPyIHttpRequest.h" 5 | #include "UEPyIHttpResponse.h" -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Http/UEPyIHttpBase.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #include "Runtime/Online/HTTP/Public/HttpModule.h" 6 | #include "Runtime/Online/HTTP/Public/Interfaces/IHttpBase.h" 7 | 8 | typedef struct { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | IHttpBase *http_base; 12 | } ue_PyIHttpBase; 13 | 14 | 15 | void ue_python_init_ihttp_base(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Http/UEPyIHttpResponse.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #include "Runtime/Online/HTTP/Public/Interfaces/IHttpResponse.h" 6 | #include "Runtime/Online/HTTP/Public/HttpModule.h" 7 | 8 | #include "UEPyIHttpBase.h" 9 | 10 | extern PyTypeObject ue_PyIHttpBaseType; 11 | 12 | typedef struct 13 | { 14 | ue_PyIHttpBase base; 15 | /* Type-specific fields go here. */ 16 | IHttpResponse *http_response; 17 | } ue_PyIHttpResponse; 18 | 19 | 20 | void ue_python_init_ihttp_response(PyObject *); 21 | PyObject *py_ue_new_ihttp_response(IHttpResponse *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/MaterialEditorUtilities/UEPyFMaterialEditorUtilities.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | #include "Editor/MaterialEditor/Public/MaterialEditorUtilities.h" 8 | #include "Editor/MaterialEditor/Public/MaterialEditorActions.h" 9 | #include "Editor/UnrealEd/Public/Toolkits/AssetEditorManager.h" 10 | #include "Editor/MaterialEditor/Public/IMaterialEditor.h" 11 | 12 | typedef struct 13 | { 14 | PyObject_HEAD 15 | /* Type-specific fields go here. */ 16 | } ue_PyFMaterialEditorUtilities; 17 | 18 | void ue_python_init_fmaterial_editor_utilities(PyObject *); 19 | #endif 20 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/PyNativeWidgetHost.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "PyNativeWidgetHost.h" 3 | 4 | 5 | 6 | 7 | 8 | UPyNativeWidgetHost::UPyNativeWidgetHost(const FObjectInitializer& ObjectInitializer) 9 | : Super(ObjectInitializer) 10 | { 11 | bIsVariable = true; 12 | } 13 | 14 | #if WITH_EDITOR 15 | const FText UPyNativeWidgetHost::GetPaletteCategory() 16 | { 17 | return NSLOCTEXT("Python", "Python", "Python"); 18 | } 19 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/PythonBlueprintFunctionLibrary.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include "PythonBlueprintFunctionLibrary.h" 4 | 5 | void UPythonBlueprintFunctionLibrary::ExecutePythonScript(FString script) 6 | { 7 | FUnrealEnginePythonModule &PythonModule = FModuleManager::GetModuleChecked("UnrealEnginePython"); 8 | PythonModule.RunFile(TCHAR_TO_UTF8(*script)); 9 | } 10 | 11 | void UPythonBlueprintFunctionLibrary::ExecutePythonString(const FString& PythonCmd) 12 | { 13 | FUnrealEnginePythonModule &PythonModule = FModuleManager::GetModuleChecked("UnrealEnginePython"); 14 | PythonModule.RunString(TCHAR_TO_UTF8(*PythonCmd)); 15 | } 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFCharacterEvent.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyFInputEvent.h" 4 | 5 | extern PyTypeObject ue_PyFInputEventType; 6 | 7 | typedef struct 8 | { 9 | /* Type-specific fields go here. */ 10 | ue_PyFInputEvent f_input; 11 | FCharacterEvent character_event; 12 | } ue_PyFCharacterEvent; 13 | 14 | void ue_python_init_fcharacter_event(PyObject *); 15 | 16 | PyObject *py_ue_new_fcharacter_event(FCharacterEvent); 17 | ue_PyFCharacterEvent *py_ue_is_fcharacter_event(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFGeometry.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #include "Runtime/SlateCore/Public/Layout/Geometry.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FGeometry geometry; 12 | } ue_PyFGeometry; 13 | 14 | void ue_python_init_fgeometry(PyObject *); 15 | 16 | ue_PyFGeometry *py_ue_is_fgeometry(PyObject *); 17 | 18 | PyObject *py_ue_new_fgeometry(FGeometry); 19 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFInputEvent.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #include "Runtime/SlateCore/Public/Input/Events.h" 6 | 7 | typedef struct { 8 | PyObject_HEAD 9 | /* Type-specific fields go here. */ 10 | FInputEvent input; 11 | } ue_PyFInputEvent; 12 | 13 | void ue_python_init_finput_event(PyObject *); 14 | 15 | PyObject *py_ue_new_finput_event(FInputEvent); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFKeyEvent.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPyFInputEvent.h" 6 | 7 | extern PyTypeObject ue_PyFInputEventType; 8 | 9 | typedef struct { 10 | /* Type-specific fields go here. */ 11 | ue_PyFInputEvent f_input; 12 | FKeyEvent key_event; 13 | } ue_PyFKeyEvent; 14 | 15 | void ue_python_init_fkey_event(PyObject *); 16 | 17 | PyObject *py_ue_new_fkey_event(FKeyEvent); 18 | 19 | ue_PyFKeyEvent *py_ue_is_fkey_event(PyObject *); 20 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFMenuBuilder.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySlate.h" 4 | 5 | #include "Runtime/Slate/Public/Framework/Commands/UIAction.h" 6 | #if WITH_EDITOR 7 | #include "Developer/AssetTools/Public/AssetToolsModule.h" 8 | #include "Developer/AssetTools/Public/IAssetTools.h" 9 | #endif 10 | 11 | #include "Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h" 12 | 13 | typedef struct 14 | { 15 | PyObject_HEAD 16 | /* Type-specific fields go here. */ 17 | FMenuBuilder menu_builder; 18 | } ue_PyFMenuBuilder; 19 | 20 | void ue_python_init_fmenu_builder(PyObject *); 21 | 22 | PyObject *py_ue_new_fmenu_builder(FMenuBuilder); 23 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFModifierKeysState.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #if ENGINE_MINOR_VERSION <= 17 6 | #include "Runtime/Core/Public/GenericPlatform/GenericApplication.h" 7 | #else 8 | #include "Runtime/ApplicationCore/Public/GenericPlatform/GenericApplication.h" 9 | #endif 10 | 11 | typedef struct 12 | { 13 | PyObject_HEAD 14 | /* Type-specific fields go here. */ 15 | FModifierKeysState modifier; 16 | } ue_PyFModifierKeysState; 17 | 18 | void ue_python_init_fmodifier_keys_state(PyObject *); 19 | 20 | PyObject *py_ue_new_fmodifier_keys_state(FModifierKeysState); 21 | ue_PyFModifierKeysState *py_ue_is_fmodifier_keys_state(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFPaintContext.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #include "Runtime/UMG/Public/Blueprint/UserWidget.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FPaintContext paint_context; 12 | } ue_PyFPaintContext; 13 | 14 | void ue_python_init_fpaint_context(PyObject *); 15 | 16 | PyObject *py_ue_new_fpaint_context(FPaintContext); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFPointerEvent.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyFInputEvent.h" 4 | 5 | extern PyTypeObject ue_PyFInputEventType; 6 | 7 | typedef struct 8 | { 9 | /* Type-specific fields go here. */ 10 | ue_PyFInputEvent f_input; 11 | FPointerEvent pointer; 12 | } ue_PyFPointerEvent; 13 | 14 | void ue_python_init_fpointer_event(PyObject *); 15 | 16 | PyObject *py_ue_new_fpointer_event(FPointerEvent); 17 | ue_PyFPointerEvent *py_ue_is_fpointer_event(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFSlateIcon.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #include "Runtime/SlateCore/Public/Textures/SlateIcon.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FSlateIcon icon; 12 | } ue_PyFSlateIcon; 13 | 14 | void ue_python_init_fslate_icon(PyObject *); 15 | 16 | ue_PyFSlateIcon *py_ue_new_fslate_icon(const FSlateIcon slate_icon); 17 | ue_PyFSlateIcon *py_ue_is_fslate_icon(PyObject *); 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFSlateStyleSet.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySlate.h" 4 | #include "Wrappers/UEPyFColor.h" 5 | #include "Wrappers/UEPyFLinearColor.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FSlateStyleSet *style_set; 12 | } ue_PyFSlateStyleSet; 13 | 14 | ue_PyFSlateStyleSet* py_ue_new_fslate_style_set(FSlateStyleSet* styleSet); 15 | 16 | void ue_python_init_fslate_style_set(PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFTabManager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #include "Runtime/Slate/Public/Framework/Docking/TabManager.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | TSharedRef tab_manager; 12 | } ue_PyFTabManager; 13 | 14 | PyObject *py_ue_new_ftab_manager(TSharedRef); 15 | 16 | void ue_python_init_ftab_manager(PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFTabSpawnerEntry.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "Runtime/Slate/Public/Framework/Docking/TabManager.h" 6 | 7 | typedef struct { 8 | PyObject_HEAD 9 | /* Type-specific fields go here. */ 10 | FTabSpawnerEntry *spawner_entry; 11 | } ue_PyFTabSpawnerEntry; 12 | 13 | PyObject *py_ue_new_ftab_spawner_entry(FTabSpawnerEntry *); 14 | 15 | void ue_python_init_ftab_spawner_entry(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyFToolBarBuilder.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySlate.h" 4 | 5 | #include "Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FToolBarBuilder tool_bar_builder; 12 | } ue_PyFToolBarBuilder; 13 | 14 | void ue_python_init_ftool_bar_builder(PyObject *); 15 | 16 | PyObject *py_ue_new_ftool_bar_builder(FToolBarBuilder); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyIDetailsView.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #if WITH_EDITOR 6 | #include "UEPySCompoundWidget.h" 7 | 8 | extern PyTypeObject ue_PySCompoundWidgetType; 9 | 10 | typedef struct { 11 | ue_PySCompoundWidget s_compound_widget; 12 | /* Type-specific fields go here. */ 13 | } ue_PyIDetailsView; 14 | 15 | void ue_python_init_idetails_view(PyObject *); 16 | 17 | ue_PyIDetailsView * py_ue_is_idetails_view(PyObject *obj); 18 | 19 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPyIStructureDetailsView.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | 6 | #if WITH_EDITOR 7 | 8 | #include "IStructureDetailsView.h" 9 | 10 | typedef struct 11 | { 12 | PyObject_HEAD 13 | /* Type-specific fields go here. */ 14 | TSharedRef istructure_details_view; 15 | ue_PyUScriptStruct *ue_py_struct; 16 | } ue_PyIStructureDetailsView; 17 | 18 | void ue_python_init_istructure_details_view(PyObject *); 19 | 20 | ue_PyIStructureDetailsView * py_ue_is_istructure_details_view(PyObject *obj); 21 | 22 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySAssetDropTarget.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySDropTarget.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | #include "Editor/EditorWidgets/Public/SAssetDropTarget.h" 8 | 9 | extern PyTypeObject ue_PySAssetDropTargetType; 10 | 11 | typedef struct { 12 | ue_PySDropTarget s_drop_target; 13 | /* Type-specific fields go here. */ 14 | } ue_PySAssetDropTarget; 15 | 16 | void ue_python_init_sasset_drop_target(PyObject *); 17 | #endif 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySBorder.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPySCompoundWidget.h" 6 | 7 | #include "Runtime/Slate/Public/Widgets/Layout/SBorder.h" 8 | 9 | extern PyTypeObject ue_PySBorderType; 10 | 11 | typedef struct { 12 | ue_PySCompoundWidget s_compound_widget; 13 | /* Type-specific fields go here. */ 14 | } ue_PySBorder; 15 | 16 | void ue_python_init_sborder(PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | 6 | #include "UEPySPanel.h" 7 | 8 | #include "Runtime/Slate/Public/Widgets/Layout/SBox.h" 9 | 10 | extern PyTypeObject ue_PySBoxType; 11 | 12 | typedef struct { 13 | ue_PySPanel s_panel; 14 | /* Type-specific fields go here. */ 15 | } ue_PySBox; 16 | 17 | void ue_python_init_sbox(PyObject *); 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySBoxPanel.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | 6 | #include "UEPySPanel.h" 7 | 8 | #include "Runtime/SlateCore/Public/Widgets/SBoxPanel.h" 9 | 10 | extern PyTypeObject ue_PySBoxPanelType; 11 | 12 | typedef struct { 13 | ue_PySPanel s_panel; 14 | /* Type-specific fields go here. */ 15 | } ue_PySBoxPanel; 16 | 17 | void ue_python_init_sbox_panel(PyObject *); 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySButton.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySBorder.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Input/SButton.h" 6 | 7 | extern PyTypeObject ue_PySButtonType; 8 | 9 | typedef struct { 10 | ue_PySBorder s_border; 11 | /* Type-specific fields go here. */ 12 | } ue_PySButton; 13 | 14 | void ue_python_init_sbutton(PyObject *); 15 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySCanvas.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | 6 | #include "UEPySPanel.h" 7 | 8 | #include "Runtime/Slate/Public/Widgets/SCanvas.h" 9 | 10 | extern PyTypeObject ue_PySCanvasType; 11 | 12 | typedef struct { 13 | ue_PySPanel s_panel; 14 | /* Type-specific fields go here. */ 15 | } ue_PySCanvas; 16 | 17 | void ue_python_init_scanvas(PyObject *); 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySCheckBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPySCompoundWidget.h" 6 | 7 | #include "Runtime/Slate/Public/Widgets/Input/SCheckBox.h" 8 | 9 | extern PyTypeObject ue_PySCheckBoxType; 10 | 11 | typedef struct { 12 | ue_PySCompoundWidget s_compound_widget; 13 | /* Type-specific fields go here. */ 14 | } ue_PySCheckBox; 15 | 16 | void ue_python_init_scheck_box(PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySColorBlock.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySLeafWidget.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Colors/SColorBlock.h" 6 | 7 | extern PyTypeObject ue_PySColorBlockType; 8 | 9 | typedef struct { 10 | ue_PySLeafWidget s_leaf_widget; 11 | /* Type-specific fields go here. */ 12 | } ue_PySColorBlock; 13 | 14 | void ue_python_init_scolor_block(PyObject *); 15 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySCompoundWidget.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySWidget.h" 4 | 5 | extern PyTypeObject ue_PySCompoundWidgetType; 6 | 7 | typedef struct 8 | { 9 | ue_PySWidget s_widget; 10 | /* Type-specific fields go here. */ 11 | } ue_PySCompoundWidget; 12 | 13 | void ue_python_init_scompound_widget(PyObject *); 14 | 15 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySDirectoryPicker.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySCompoundWidget.h" 4 | 5 | #if WITH_EDITOR 6 | #if ENGINE_MINOR_VERSION > 13 7 | 8 | #include "Developer/DesktopWidgets/Public/Widgets/Input/SDirectoryPicker.h" 9 | 10 | extern PyTypeObject ue_PySDirectoryPickerType; 11 | 12 | typedef struct 13 | { 14 | ue_PySCompoundWidget s_compound_widget; 15 | /* Type-specific fields go here. */ 16 | } ue_PySDirectoryPicker; 17 | 18 | void ue_python_init_sdirectory_picker(PyObject *); 19 | #endif 20 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySDockTab.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySBorder.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Docking/SDockTab.h" 6 | 7 | extern PyTypeObject ue_PySDockTabType; 8 | 9 | typedef struct 10 | { 11 | ue_PySBorder s_border; 12 | /* Type-specific fields go here. */ 13 | } ue_PySDockTab; 14 | 15 | void ue_python_init_sdock_tab(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySDropTarget.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySCompoundWidget.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | #include "Editor/EditorWidgets/Public/SDropTarget.h" 8 | 9 | extern PyTypeObject ue_PySDropTargetType; 10 | 11 | typedef struct { 12 | ue_PySCompoundWidget s_compound_widget; 13 | /* Type-specific fields go here. */ 14 | } ue_PySDropTarget; 15 | 16 | void ue_python_init_sdrop_target(PyObject *); 17 | #endif 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySEditableTextBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySBorder.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Input/SEditableTextBox.h" 6 | 7 | extern PyTypeObject ue_PySEditableTextBoxType; 8 | 9 | typedef struct { 10 | ue_PySBorder s_border; 11 | /* Type-specific fields go here. */ 12 | } ue_PySEditableTextBox; 13 | 14 | void ue_python_init_seditable_text_box(PyObject *); 15 | 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySEditorViewport.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySCompoundWidget.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | #include "Editor/UnrealEd/Public/SEditorViewport.h" 8 | 9 | extern PyTypeObject ue_PySEditorViewportType; 10 | 11 | typedef struct 12 | { 13 | ue_PySCompoundWidget s_compound_widget; 14 | /* Type-specific fields go here. */ 15 | } ue_PySEditorViewport; 16 | 17 | void ue_python_init_seditor_viewport(PyObject *); 18 | #endif 19 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySFilePathPicker.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySCompoundWidget.h" 4 | 5 | #if WITH_EDITOR 6 | #if ENGINE_MINOR_VERSION > 13 7 | #include "Developer/DesktopWidgets/Public/Widgets/Input/SFilePathPicker.h" 8 | 9 | extern PyTypeObject ue_PySFilePathPickerType; 10 | 11 | typedef struct 12 | { 13 | ue_PySCompoundWidget s_compound_widget; 14 | /* Type-specific fields go here. */ 15 | } ue_PySFilePathPicker; 16 | 17 | void ue_python_init_sfile_path_picker(PyObject *); 18 | #endif 19 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySGraphEditor.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #if WITH_EDITOR 6 | #include "UEPySCompoundWidget.h" 7 | 8 | #include "Editor/UnrealEd/Public/GraphEditor.h" 9 | 10 | extern PyTypeObject ue_PySGraphEditorType; 11 | 12 | typedef struct { 13 | ue_PySCompoundWidget s_compound_widget; 14 | /* Type-specific fields go here. */ 15 | } ue_PySGraphEditor; 16 | 17 | void ue_python_init_sgraph_editor(PyObject *); 18 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySGraphPanel.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #if WITH_EDITOR 6 | #if ENGINE_MINOR_VERSION > 15 7 | #include "UEPySNodePanel.h" 8 | 9 | #include "Editor/GraphEditor/Public/SGraphPanel.h" 10 | 11 | extern PyTypeObject ue_PySGraphPanelType; 12 | 13 | typedef struct { 14 | ue_PySNodePanel s_nodePanel; 15 | /* Type-specific fields go here. */ 16 | } ue_PySGraphPanel; 17 | 18 | 19 | void ue_python_init_sgraph_panel(PyObject *); 20 | #endif 21 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySGridPanel.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | 6 | #include "UEPySPanel.h" 7 | 8 | #include "Runtime/Slate/Public/Widgets/Layout/SGridPanel.h" 9 | 10 | extern PyTypeObject ue_PySGridPanelType; 11 | 12 | typedef struct { 13 | ue_PySPanel s_panel; 14 | /* Type-specific fields go here. */ 15 | } ue_PySGridPanel; 16 | 17 | void ue_python_init_sgrid_panel(PyObject *); 18 | 19 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySHeaderRow.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySBorder.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Views/SHeaderRow.h" 6 | 7 | extern PyTypeObject ue_PySHeaderRowType; 8 | 9 | typedef struct { 10 | ue_PySBorder s_border; 11 | /* Type-specific fields go here. */ 12 | } ue_PySHeaderRow; 13 | 14 | void ue_python_init_sheader_row(PyObject *); 15 | 16 | ue_PySHeaderRow *py_ue_is_sheader_row(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySHorizontalBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | 6 | #include "UEPySBoxPanel.h" 7 | 8 | #include "Runtime/SlateCore/Public/Widgets/SBoxPanel.h" 9 | 10 | extern PyTypeObject ue_PySHorizontalBoxType; 11 | 12 | typedef struct { 13 | ue_PySBoxPanel s_box_panel; 14 | /* Type-specific fields go here. */ 15 | } ue_PySHorizontalBox; 16 | 17 | void ue_python_init_shorizontal_box(PyObject *); 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySImage.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | 6 | #include "UEPySLeafWidget.h" 7 | 8 | #if ENGINE_MINOR_VERSION > 21 9 | #include "Runtime/SlateCore/Public/Widgets/Images/SImage.h" 10 | #else 11 | #include "Runtime/Slate/Public/Widgets/Images/SImage.h" 12 | #endif 13 | #include "Runtime/SlateCore/Public/Styling/SlateBrush.h" 14 | 15 | extern PyTypeObject ue_PySImageType; 16 | 17 | typedef struct { 18 | ue_PySLeafWidget s_leaf_widget; 19 | /* Type-specific fields go here. */ 20 | FSlateBrush brush; 21 | } ue_PySImage; 22 | 23 | void ue_python_init_simage(PyObject *); 24 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySLeafWidget.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySWidget.h" 4 | 5 | #include "Runtime/SlateCore/Public/Widgets/SLeafWidget.h" 6 | 7 | extern PyTypeObject ue_PySLeafWidgetType; 8 | 9 | typedef struct { 10 | ue_PySWidget s_widget; 11 | /* Type-specific fields go here. */ 12 | } ue_PySLeafWidget; 13 | 14 | void ue_python_init_sleaf_widget(PyObject *); 15 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySLevelViewport.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySEditorViewport.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | #include "Editor/LevelEditor/Public/SLevelViewport.h" 8 | #include "Editor/LevelEditor/Private/SLevelEditor.h" 9 | #include "Editor/UnrealEd/Public/EditorViewportClient.h" 10 | #include "Runtime/Engine/Public/PreviewScene.h" 11 | 12 | extern PyTypeObject ue_PySLevelViewportType; 13 | 14 | typedef struct 15 | { 16 | ue_PySEditorViewport s_editor_viewport; 17 | /* Type-specific fields go here. */ 18 | } ue_PySLevelViewport; 19 | 20 | void ue_python_init_slevel_viewport(PyObject *); 21 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySListView.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPySTableViewBase.h" 6 | 7 | #include "Runtime/Slate/Public/Widgets/Views/SListView.h" 8 | 9 | extern PyTypeObject ue_PySListViewType; 10 | 11 | typedef struct { 12 | ue_PySTableViewBase s_table_view_base; 13 | /* Type-specific fields go here. */ 14 | } ue_PySListView; 15 | 16 | void ue_python_init_slist_view(PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySMultiLineEditableText.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySWidget.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Text/SMultiLineEditableText.h" 6 | 7 | extern PyTypeObject ue_PySMultiLineEditableTextType; 8 | 9 | typedef struct 10 | { 11 | ue_PySWidget s_widget; 12 | /* Type-specific fields go here. */ 13 | } ue_PySMultiLineEditableText; 14 | 15 | void ue_python_init_smulti_line_editable_text(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySNodePanel.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #if WITH_EDITOR 6 | #include "UEPySPanel.h" 7 | 8 | #include "Editor/GraphEditor/Public/SNodePanel.h" 9 | 10 | extern PyTypeObject ue_PySNodePanelType; 11 | 12 | typedef struct { 13 | ue_PySPanel s_panel; 14 | /* Type-specific fields go here. */ 15 | } ue_PySNodePanel; 16 | 17 | 18 | void ue_python_init_snode_panel(PyObject *); 19 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySNumericEntryBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | #include "UEPySCompoundWidget.h" 5 | 6 | #include "Runtime/Slate/Public/Widgets/Input/SNumericEntryBox.h" 7 | 8 | extern PyTypeObject ue_PySNumericEntryBoxType; 9 | 10 | typedef struct 11 | { 12 | ue_PySCompoundWidget s_compound_widget; 13 | /* Type-specific fields go here. */ 14 | } ue_PySNumericEntryBox; 15 | 16 | void ue_python_init_snumeric_entry_box(PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySObjectPropertyEntryBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySCompoundWidget.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | #include "Editor/PropertyEditor/Public/PropertyCustomizationHelpers.h" 8 | 9 | extern PyTypeObject ue_PySObjectPropertyEntryBoxType; 10 | 11 | typedef struct 12 | { 13 | ue_PySCompoundWidget s_compound_widget; 14 | /* Type-specific fields go here. */ 15 | } ue_PySObjectPropertyEntryBox; 16 | 17 | void ue_python_init_sobject_property_entry_box(PyObject *); 18 | #endif 19 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySOverlay.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | 6 | #include "UEPySPanel.h" 7 | 8 | #include "Runtime/SlateCore/Public/Widgets/SOverlay.h" 9 | 10 | extern PyTypeObject ue_PySOverlayType; 11 | 12 | typedef struct { 13 | ue_PySPanel s_panel; 14 | /* Type-specific fields go here. */ 15 | } ue_PySOverlay; 16 | 17 | void ue_python_init_soverlay(PyObject *); 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySPanel.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySWidget.h" 4 | 5 | extern PyTypeObject ue_PySPanelType; 6 | 7 | typedef struct { 8 | ue_PySWidget s_widget; 9 | /* Type-specific fields go here. */ 10 | } ue_PySPanel; 11 | 12 | void ue_python_init_spanel(PyObject *); 13 | 14 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySProgressBar.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | 6 | #include "UEPySLeafWidget.h" 7 | 8 | #include "Runtime/Slate/Public/Widgets/Notifications/SProgressBar.h" 9 | 10 | extern PyTypeObject ue_PySProgressBarType; 11 | 12 | typedef struct { 13 | ue_PySLeafWidget s_leaf_widget; 14 | /* Type-specific fields go here. */ 15 | } ue_PySProgressBar; 16 | 17 | void ue_python_init_sprogress_bar(PyObject *); 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySPythonComboBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPySPanel.h" 6 | 7 | #include "Runtime/Slate/Public/Widgets/Input/SComboBox.h" 8 | 9 | extern PyTypeObject ue_PySPythonComboBoxType; 10 | 11 | class SPythonComboBox : public SComboBox> { 12 | public: 13 | ~SPythonComboBox() { 14 | if (PythonOptionsSource) 15 | delete(PythonOptionsSource); 16 | } 17 | 18 | const TArray> *PythonOptionsSource; 19 | }; 20 | 21 | typedef struct { 22 | ue_PySPanel s_panel; 23 | /* Type-specific fields go here. */ 24 | } ue_PySPythonComboBox; 25 | 26 | void ue_python_init_spython_combo_box(PyObject *); 27 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySPythonListView.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySListView.h" 4 | 5 | extern PyTypeObject ue_PySPythonListViewType; 6 | 7 | class SPythonListView : public SListView> 8 | { 9 | public: 10 | ~SPythonListView() 11 | { 12 | delete(ItemsSource); 13 | } 14 | 15 | void SetHeaderRow(TSharedPtr InHeaderRowWidget); 16 | }; 17 | 18 | typedef struct 19 | { 20 | ue_PySListView s_list_view; 21 | /* Type-specific fields go here. */ 22 | TArray> item_source_list; 23 | } ue_PySPythonListView; 24 | 25 | void ue_python_init_spython_list_view(PyObject *); 26 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySPythonShelf.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPySCompoundWidget.h" 6 | 7 | extern PyTypeObject ue_PySPythonShelfType; 8 | 9 | typedef struct { 10 | ue_PySCompoundWidget s_compound_widget; 11 | /* Type-specific fields go here. */ 12 | } ue_PySPythonShelf; 13 | 14 | void ue_python_init_spython_shelf(PyObject *); 15 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySPythonTreeView.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPySTreeView.h" 6 | 7 | extern PyTypeObject ue_PySPythonTreeViewType; 8 | 9 | class SPythonTreeView : public STreeView> 10 | { 11 | public: 12 | ~SPythonTreeView() 13 | { 14 | delete(ItemsSource); 15 | } 16 | 17 | void SetPythonItemExpansion(PyObject *item, bool InShouldExpandItem); 18 | }; 19 | 20 | typedef struct 21 | { 22 | ue_PySTreeView s_tree_view; 23 | /* Type-specific fields go here. */ 24 | } ue_PySPythonTreeView; 25 | 26 | void ue_python_init_spython_tree_view(PyObject *); 27 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySRotatorInputBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | 6 | #include "UEPySCompoundWidget.h" 7 | 8 | #include "Runtime/Slate/Public/Widgets/Input/SRotatorInputBox.h" 9 | 10 | extern PyTypeObject ue_PySRotatorInputBoxType; 11 | 12 | typedef struct { 13 | ue_PySCompoundWidget s_compound_widget; 14 | /* Type-specific fields go here. */ 15 | } ue_PySRotatorInputBox; 16 | 17 | void ue_python_init_srotator_input_box(PyObject *); 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySScrollBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPySCompoundWidget.h" 6 | 7 | #include "Runtime/Slate/Public/Widgets/Layout/SScrollBox.h" 8 | 9 | extern PyTypeObject ue_PySScrollBoxType; 10 | 11 | typedef struct { 12 | ue_PySCompoundWidget s_compound_widget; 13 | /* Type-specific fields go here. */ 14 | } ue_PySScrollBox; 15 | 16 | void ue_python_init_sscroll_box(PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySSlider.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySLeafWidget.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Input/SSlider.h" 6 | 7 | extern PyTypeObject ue_PySSliderType; 8 | 9 | typedef struct 10 | { 11 | ue_PySLeafWidget s_leaf_widget; 12 | /* Type-specific fields go here. */ 13 | } ue_PySSlider; 14 | 15 | void ue_python_init_sslider(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySSpacer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | 6 | #include "UEPySLeafWidget.h" 7 | 8 | #include "Runtime/Slate/Public/Widgets/Layout/SSpacer.h" 9 | 10 | extern PyTypeObject ue_PySSpacerType; 11 | 12 | typedef struct { 13 | ue_PySLeafWidget s_leaf_widget; 14 | /* Type-specific fields go here. */ 15 | } ue_PySSpacer; 16 | 17 | void ue_python_init_sspacer(PyObject *); 18 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySSplitter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySPanel.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Layout/SSplitter.h" 6 | 7 | extern PyTypeObject ue_PySSplitterType; 8 | 9 | typedef struct 10 | { 11 | ue_PySPanel s_panel; 12 | /* Type-specific fields go here. */ 13 | } ue_PySSplitter; 14 | 15 | void ue_python_init_ssplitter(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySTableViewBase.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPySCompoundWidget.h" 6 | 7 | #include "Runtime/Slate/Public/Widgets/Views/STableViewBase.h" 8 | 9 | extern PyTypeObject ue_PySTableViewBaseType; 10 | 11 | typedef struct { 12 | ue_PySCompoundWidget s_compound_widget; 13 | /* Type-specific fields go here. */ 14 | } ue_PySTableViewBase; 15 | 16 | void ue_python_init_stable_view_base(PyObject *); 17 | 18 | ue_PySTableViewBase *py_ue_is_stable_view_base(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySTextBlock.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySLeafWidget.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Text/STextBlock.h" 6 | 7 | extern PyTypeObject ue_PySTextBlockType; 8 | 9 | typedef struct 10 | { 11 | ue_PySLeafWidget s_leaf_widget; 12 | /* Type-specific fields go here. */ 13 | } ue_PySTextBlock; 14 | 15 | void ue_python_init_stext_block(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySTreeView.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "UEPySListView.h" 6 | 7 | #include "Runtime/Slate/Public/Widgets/Views/STreeView.h" 8 | 9 | extern PyTypeObject ue_PySTreeViewType; 10 | 11 | typedef struct { 12 | ue_PySListView s_list_view; 13 | /* Type-specific fields go here. */ 14 | } ue_PySTreeView; 15 | 16 | void ue_python_init_stree_view(PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySVectorInputBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySCompoundWidget.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/Input/SVectorInputBox.h" 6 | 7 | extern PyTypeObject ue_PySVectorInputBoxType; 8 | 9 | typedef struct 10 | { 11 | ue_PySCompoundWidget s_compound_widget; 12 | /* Type-specific fields go here. */ 13 | } ue_PySVectorInputBox; 14 | 15 | void ue_python_init_svector_input_box(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySVerticalBox.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySBoxPanel.h" 4 | 5 | #include "Runtime/SlateCore/Public/Widgets/SBoxPanel.h" 6 | 7 | extern PyTypeObject ue_PySVerticalBoxType; 8 | 9 | typedef struct 10 | { 11 | ue_PySBoxPanel s_box_panel; 12 | /* Type-specific fields go here. */ 13 | } ue_PySVerticalBox; 14 | 15 | void ue_python_init_svertical_box(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySViewport.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySCompoundWidget.h" 4 | 5 | #include "Runtime/Slate/Public/Widgets/SViewport.h" 6 | 7 | extern PyTypeObject ue_PySViewportType; 8 | 9 | typedef struct 10 | { 11 | ue_PySCompoundWidget s_compound_widget; 12 | /* Type-specific fields go here. */ 13 | } ue_PySViewport; 14 | 15 | void ue_python_init_sviewport(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySWindow.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPySCompoundWidget.h" 4 | 5 | #include "Runtime/SlateCore/Public/Widgets/SWindow.h" 6 | 7 | extern PyTypeObject ue_PySWindowType; 8 | 9 | typedef struct { 10 | ue_PySCompoundWidget s_compound_widget; 11 | /* Type-specific fields go here. */ 12 | } ue_PySWindow; 13 | 14 | void ue_python_init_swindow(PyObject *); 15 | 16 | ue_PySWindow *py_ue_is_swindow(PyObject *obj); 17 | 18 | ue_PySWindow *py_ue_new_swindow(TSharedRef); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Slate/UEPySlatePythonItem.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | struct FPythonItem 6 | { 7 | PyObject *py_object = nullptr; 8 | 9 | FPythonItem(PyObject *item) 10 | { 11 | py_object = item; 12 | } 13 | }; -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/SlateApplication/UEPyFSlateApplication.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | typedef struct 6 | { 7 | PyObject_HEAD 8 | /* Type-specific fields go here. */ 9 | } ue_PyFSlateApplication; 10 | 11 | void ue_python_init_fslate_application(PyObject *); 12 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyAssetUserData.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | #if WITH_EDITOR 8 | #include "EditorFramework/AssetImportData.h" 9 | PyObject *py_ue_asset_import_data(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_asset_import_data_set_sources(ue_PyUObject *, PyObject *); 11 | #endif 12 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyCallable.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | UFunction *u_function; 12 | UObject *u_target; 13 | } ue_PyCallable; 14 | 15 | PyObject *py_ue_new_callable(UFunction *, UObject *); 16 | ue_PyCallable *py_ue_is_callable(PyObject *); 17 | 18 | void ue_python_init_callable(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyEnumsImporter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | } ue_PyEnumsImporter; 12 | 13 | PyObject *py_ue_new_enumsimporter(); 14 | 15 | void ue_python_init_enumsimporter(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyIPlugin.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | 8 | 9 | #include "Runtime/Projects/Public/Interfaces/IPluginManager.h" 10 | 11 | typedef struct 12 | { 13 | PyObject_HEAD 14 | /* Type-specific fields go here. */ 15 | IPlugin *plugin; 16 | } ue_PyIPlugin; 17 | 18 | PyObject *py_ue_new_iplugin(IPlugin *); 19 | 20 | void ue_python_init_iplugin(PyObject *); 21 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyLambda.cpp: -------------------------------------------------------------------------------- 1 | #include "UEPyLambda.h" 2 | #include "UnrealEnginePythonPrivatePCH.h" 3 | 4 | PyObject * py_ue_run_on_game_thread(PyObject* PyFunction, PyObject* Args) 5 | { 6 | //Todo: convert from input to function 7 | 8 | //Dispatch function on game thread 9 | FFunctionGraphTask::CreateAndDispatchWhenReady([PyFunction, Args] 10 | { 11 | //Call the PyFunction with Args here after acquiring GIL 12 | }, TStatId(), nullptr, ENamedThreads::GameThread); 13 | 14 | return Py_False; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyLambda.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | PyObject *py_ue_run_on_game_thread(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyTicker.h: -------------------------------------------------------------------------------- 1 | // Copyright 20Tab S.r.l. 2 | 3 | #pragma once 4 | 5 | #include "UEPyModule.h" 6 | #include "Runtime/Core/Public/Containers/Ticker.h" 7 | 8 | typedef struct 9 | { 10 | PyObject_HEAD 11 | /* Type-specific fields go here. */ 12 | FDelegateHandle dhandle; 13 | bool garbaged; 14 | TSharedPtr delegate_ptr; 15 | } ue_PyFDelegateHandle; 16 | 17 | PyObject *py_unreal_engine_add_ticker(PyObject *, PyObject *); 18 | PyObject *py_unreal_engine_remove_ticker(PyObject *, PyObject *); 19 | 20 | void ue_python_init_fdelegatehandle(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyTimer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | #include "Engine/EngineTypes.h" 7 | 8 | typedef struct 9 | { 10 | PyObject_HEAD 11 | /* Type-specific fields go here. */ 12 | FTimerHandle thandle; 13 | TWeakObjectPtr world; 14 | TSharedPtr delegate_ptr; 15 | } ue_PyFTimerHandle; 16 | 17 | PyObject *py_ue_set_timer(ue_PyUObject *, PyObject *); 18 | 19 | void ue_python_init_ftimerhandle(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyUClassesImporter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | } ue_PyUClassesImporter; 12 | 13 | PyObject *py_ue_new_uclassesimporter(); 14 | 15 | void ue_python_init_uclassesimporter(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyUScriptStruct.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | #include "UObject/UEPyUPropertyBackwardsCompatibility.h" 5 | 6 | typedef struct 7 | { 8 | PyObject_HEAD 9 | /* Type-specific fields go here. */ 10 | UScriptStruct *u_struct; 11 | uint8 *u_struct_ptr; 12 | // if set, the struct is responsible for freeing memory 13 | int u_struct_owned; 14 | } ue_PyUScriptStruct; 15 | 16 | PyObject *py_ue_new_uscriptstruct(UScriptStruct *, uint8 *); 17 | PyObject *py_ue_new_owned_uscriptstruct(UScriptStruct *, uint8 *); 18 | PyObject *py_ue_new_owned_uscriptstruct_zero_copy(UScriptStruct *, uint8 *); 19 | ue_PyUScriptStruct *py_ue_is_uscriptstruct(PyObject *); 20 | 21 | FProperty *ue_struct_get_field_from_name(UScriptStruct *, char *); 22 | 23 | void ue_python_init_uscriptstruct(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyUStructsImporter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | } ue_PyUStructsImporter; 12 | 13 | PyObject *py_ue_new_ustructsimporter(); 14 | 15 | void ue_python_init_ustructsimporter(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UEPyVisualLogger.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_vlog(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_vlog_cylinder(ue_PyUObject *, PyObject *); 9 | 10 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyAttaching.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_get_socket_location(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_get_socket_rotation(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_get_socket_transform(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_get_socket_world_transform(ue_PyUObject *, PyObject *); 11 | PyObject *py_ue_get_socket_actor_transform(ue_PyUObject *, PyObject *); 12 | PyObject *py_ue_get_attached_actors(ue_PyUObject *, PyObject *); 13 | PyObject *py_ue_get_all_child_actors(ue_PyUObject *, PyObject *); 14 | PyObject *py_ue_attach_to_actor(ue_PyUObject *, PyObject *); 15 | PyObject *py_ue_attach_to_component(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyAudio.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_queue_audio(ue_PyUObject *self, PyObject * args); 8 | PyObject *py_ue_play_sound_at_location(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_sound_get_data(ue_PyUObject *self, PyObject * args); 10 | PyObject *py_ue_sound_set_data(ue_PyUObject *self, PyObject * args); 11 | PyObject *py_ue_get_available_audio_byte_count(ue_PyUObject *, PyObject *); 12 | PyObject *py_ue_reset_audio(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyCapture.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | #include "UEPyModule.h" 5 | 6 | 7 | PyObject *py_ue_capture_initialize(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_capture_start(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_capture_load_from_config(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_capture_stop(ue_PyUObject *, PyObject *); 11 | 12 | PyObject *py_ue_set_level_sequence_asset(ue_PyUObject *, PyObject *); 13 | PyObject *py_unreal_engine_in_editor_capture(PyObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyController.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_controller_posses(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_controller_unposses(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_controller_get_hud(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_get_controlled_pawn(ue_PyUObject *, PyObject *); 11 | PyObject *py_ue_controller_project_world_location_to_screen(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyDataTable.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | #include "UEPyModule.h" 5 | 6 | 7 | PyObject *py_ue_data_table_add_row(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_data_table_remove_row(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_data_table_rename_row(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_data_table_as_dict(ue_PyUObject *, PyObject *); 11 | PyObject *py_ue_data_table_as_json(ue_PyUObject *, PyObject *); 12 | PyObject *py_ue_data_table_find_row(ue_PyUObject *, PyObject *); 13 | PyObject *py_ue_data_table_get_all_rows(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyExporter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | 8 | PyObject *py_ue_export_to_file(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyFoliage.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | PyObject *py_ue_get_instanced_foliage_actor_for_current_level(ue_PyUObject *, PyObject *); 6 | PyObject *py_ue_get_instanced_foliage_actor_for_level(ue_PyUObject *, PyObject *); 7 | PyObject *py_ue_get_foliage_types(ue_PyUObject *, PyObject *); 8 | #if WITH_EDITOR 9 | PyObject *py_ue_get_foliage_instances(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_add_foliage_asset(ue_PyUObject *, PyObject *); 11 | #endif 12 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyHUD.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | 8 | PyObject *py_ue_hud_draw_2d_line(ue_PyUObject *self, PyObject * args); 9 | PyObject *py_ue_hud_draw_line(ue_PyUObject *self, PyObject * args); 10 | PyObject *py_ue_hud_draw_texture(ue_PyUObject *self, PyObject * args); 11 | PyObject *py_ue_hud_draw_text(ue_PyUObject *self, PyObject * args); 12 | PyObject *py_ue_hud_draw_rect(ue_PyUObject *self, PyObject * args); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyLandscape.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | #if WITH_EDITOR 8 | PyObject *py_ue_create_landscape_info(ue_PyUObject *self, PyObject *); 9 | PyObject *py_ue_get_landscape_info(ue_PyUObject *self, PyObject *); 10 | PyObject *py_ue_landscape_import(ue_PyUObject *self, PyObject *); 11 | PyObject *py_ue_landscape_export_to_raw_mesh(ue_PyUObject *self, PyObject *); 12 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyNavigation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_simple_move_to_location(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyPackage.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_package_is_dirty(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_package_get_filename(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_package_make_unique_object_name(ue_PyUObject *, PyObject *); 10 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyPawn.cpp: -------------------------------------------------------------------------------- 1 | #include "UEPyPawn.h" 2 | 3 | #include "GameFramework/Pawn.h" 4 | #include "GameFramework/Controller.h" 5 | 6 | PyObject *py_ue_pawn_get_controller(ue_PyUObject * self, PyObject * args) 7 | { 8 | 9 | ue_py_check(self); 10 | 11 | if (!self->ue_object->IsA()) 12 | { 13 | return PyErr_Format(PyExc_Exception, "uobject is not an APawn"); 14 | } 15 | 16 | APawn *pawn = (APawn *)self->ue_object; 17 | 18 | Py_RETURN_UOBJECT(pawn->GetController()); 19 | } 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyPawn.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_pawn_get_controller(ue_PyUObject *, PyObject *); 8 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyPhysics.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_set_simulate_physics(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_add_impulse(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_add_angular_impulse(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_add_force(ue_PyUObject *, PyObject *); 11 | PyObject *py_ue_add_torque(ue_PyUObject *, PyObject *); 12 | PyObject *py_ue_set_physics_linear_velocity(ue_PyUObject *, PyObject *); 13 | PyObject *py_ue_get_physics_linear_velocity(ue_PyUObject *, PyObject *); 14 | PyObject *py_ue_set_physics_angular_velocity(ue_PyUObject *, PyObject *); 15 | PyObject *py_ue_get_physics_angular_velocity(ue_PyUObject *, PyObject *); 16 | PyObject *py_ue_destructible_apply_damage(ue_PyUObject *, PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyPlayer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_create_player(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_get_num_players(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_get_num_spectators(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_get_player_controller(ue_PyUObject *, PyObject *); 11 | PyObject *py_ue_get_player_hud(ue_PyUObject *, PyObject *); 12 | PyObject *py_ue_get_player_camera_manager(ue_PyUObject *, PyObject *); 13 | PyObject *py_ue_get_player_pawn(ue_PyUObject *, PyObject *); 14 | PyObject *py_ue_set_player_hud(ue_PyUObject *, PyObject *); 15 | PyObject *py_ue_restart_level(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPySpline.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | 8 | PyObject *py_ue_get_spline_length(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_get_world_location_at_distance_along_spline(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyStaticMesh.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_static_mesh_get_bounds(ue_PyUObject *self, PyObject * args); 8 | 9 | #if WITH_EDITOR 10 | PyObject *py_ue_static_mesh_build(ue_PyUObject *, PyObject *); 11 | PyObject *py_ue_static_mesh_create_body_setup(ue_PyUObject *, PyObject *); 12 | PyObject *py_ue_static_mesh_get_raw_mesh(ue_PyUObject *, PyObject *); 13 | 14 | PyObject *py_ue_static_mesh_generate_kdop10x(ue_PyUObject *, PyObject *); 15 | PyObject *py_ue_static_mesh_generate_kdop10y(ue_PyUObject *, PyObject *); 16 | PyObject *py_ue_static_mesh_generate_kdop10z(ue_PyUObject *, PyObject *); 17 | PyObject *py_ue_static_mesh_generate_kdop18(ue_PyUObject *, PyObject *); 18 | PyObject *py_ue_static_mesh_generate_kdop26(ue_PyUObject *, PyObject *); 19 | PyObject *py_ue_static_mesh_import_lod(ue_PyUObject *, PyObject *); 20 | #endif 21 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyTraceAndSweep.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | PyObject *py_ue_line_trace_single_by_channel(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_line_trace_multi_by_channel(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_get_hit_result_under_cursor(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_draw_debug_line(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyUserDefinedStruct.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | #include "UEPyModule.h" 5 | 6 | 7 | PyObject *py_ue_struct_add_variable(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_struct_get_variables(ue_PyUObject *, PyObject *); 9 | PyObject *py_ue_struct_remove_variable(ue_PyUObject *, PyObject *); 10 | PyObject *py_ue_struct_move_variable_up(ue_PyUObject *, PyObject *); 11 | PyObject *py_ue_struct_move_variable_down(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyWidget.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | #include "UEPyModule.h" 5 | 6 | 7 | PyObject *py_ue_take_widget(ue_PyUObject *, PyObject *); 8 | PyObject *py_ue_create_widget(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/UObject/UEPyWidgetComponent.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | #include "UEPyModule.h" 5 | 6 | 7 | PyObject *py_ue_set_slate_widget(ue_PyUObject *, PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Voice/UEPyIVoiceCapture.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "Runtime/Online/Voice/Public/VoiceModule.h" 6 | #include "Runtime/Online/Voice/Public/Interfaces/VoiceCapture.h" 7 | 8 | typedef struct { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | TSharedRef voice_capture; 12 | } ue_PyIVoiceCapture; 13 | 14 | 15 | void ue_python_init_ivoice_capture(PyObject *); 16 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyESlateEnums.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UnrealEnginePython.h" 6 | 7 | typedef struct { 8 | PyObject_HEAD 9 | /* Type-specific fields go here. */ 10 | uint8 val; 11 | } ue_PyESlateEnums; 12 | 13 | void ue_python_init_eslate_enums(PyObject *); 14 | 15 | ue_PyESlateEnums *py_ue_is_eslate_enums(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFARFilter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #include "AssetRegistryModule.h" 7 | #include "Runtime/AssetRegistry/Public/ARFilter.h" 8 | 9 | typedef struct 10 | { 11 | PyObject_HEAD 12 | /* Type-specific fields go here. */ 13 | FARFilter filter; 14 | PyObject *class_names; 15 | PyObject *object_paths; 16 | PyObject *package_names; 17 | PyObject *package_paths; 18 | PyObject *recursive_classes_exclusion_set; 19 | PyObject *tags_and_values; 20 | } ue_PyFARFilter; 21 | 22 | PyObject *py_ue_new_farfilter(FARFilter); 23 | ue_PyFARFilter *py_ue_is_farfilter(PyObject *); 24 | 25 | void ue_python_init_farfilter(PyObject *); 26 | void py_ue_sync_farfilter(PyObject *); 27 | void py_ue_clear_farfilter(ue_PyFARFilter *); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFAssetData.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | struct ue_PyFAssetData 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FAssetData asset_data; 12 | }; 13 | 14 | PyObject *py_ue_new_fassetdata(FAssetData); 15 | ue_PyFAssetData *py_ue_is_fassetdata(PyObject *); 16 | 17 | void ue_python_init_fassetdata(PyObject *); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFColor.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FColor color; 12 | } ue_PyFColor; 13 | 14 | extern PyTypeObject ue_PyFColorType; 15 | 16 | PyObject *py_ue_new_fcolor(FColor); 17 | ue_PyFColor *py_ue_is_fcolor(PyObject *); 18 | 19 | void ue_python_init_fcolor(PyObject *); 20 | 21 | bool py_ue_color_arg(PyObject *, FColor &); 22 | 23 | bool py_ue_get_fcolor(PyObject *, FColor &); 24 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFEditorViewportClient.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UnrealEnginePython.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #include "Wrappers/UEPyFViewportClient.h" 7 | 8 | 9 | #include "Editor/UnrealEd/Public/EditorViewportClient.h" 10 | 11 | struct ue_PyFEditorViewportClient 12 | { 13 | ue_PyFViewportClient viewport_client; 14 | /* Type-specific fields go here. */ 15 | TSharedRef editor_viewport_client;; 16 | }; 17 | 18 | void ue_python_init_feditor_viewport_client(PyObject *); 19 | 20 | PyObject *py_ue_new_feditor_viewport_client(TSharedRef); 21 | 22 | ue_PyFEditorViewportClient *py_ue_is_feditor_viewport_client(PyObject *); 23 | 24 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFFoliageInstance.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UnrealEnginePython.h" 3 | 4 | #if WITH_EDITOR 5 | #include "InstancedFoliage.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | TWeakObjectPtr foliage_actor; 11 | TWeakObjectPtr foliage_type; 12 | int32 instance_id; 13 | } ue_PyFFoliageInstance; 14 | 15 | void ue_python_init_ffoliage_instance(PyObject *); 16 | 17 | PyObject *py_ue_new_ffoliage_instance(AInstancedFoliageActor *foliage_actor, UFoliageType *foliage_type, int32 instance_id); 18 | #endif 19 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFFrameNumber.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UnrealEnginePython.h" 3 | 4 | #if ENGINE_MINOR_VERSION >= 20 5 | 6 | #include "Runtime/Core/Public/Misc/FrameNumber.h" 7 | 8 | struct ue_PyFFrameNumber { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FFrameNumber frame_number; 12 | }; 13 | 14 | void ue_python_init_fframe_number(PyObject *); 15 | 16 | PyObject *py_ue_new_fframe_number(FFrameNumber); 17 | 18 | ue_PyFFrameNumber *py_ue_is_fframe_number(PyObject *); 19 | #endif 20 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFHitResult.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | #include "Engine/EngineTypes.h" 8 | 9 | typedef struct 10 | { 11 | PyObject_HEAD 12 | /* Type-specific fields go here. */ 13 | FHitResult hit; 14 | } ue_PyFHitResult; 15 | 16 | PyObject *py_ue_new_fhitresult(FHitResult); 17 | ue_PyFHitResult *py_ue_is_fhitresult(PyObject *); 18 | 19 | void ue_python_init_fhitresult(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFLinearColor.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FLinearColor color; 12 | } ue_PyFLinearColor; 13 | 14 | extern PyTypeObject ue_PyFLinearColorType; 15 | 16 | PyObject *py_ue_new_flinearcolor(FLinearColor); 17 | ue_PyFLinearColor *py_ue_is_flinearcolor(PyObject *); 18 | 19 | void ue_python_init_flinearcolor(PyObject *); 20 | 21 | bool py_ue_linearcolor_arg(PyObject *, FLinearColor &); 22 | 23 | bool py_ue_get_flinearcolor(PyObject *, FLinearColor &); 24 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFMorphTargetDelta.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UnrealEnginePython.h" 3 | 4 | #include "Wrappers/UEPyFVector.h" 5 | 6 | #if ENGINE_MINOR_VERSION > 12 7 | 8 | #include "Runtime/Engine/Classes/Animation/MorphTarget.h" 9 | 10 | struct ue_PyFMorphTargetDelta { 11 | PyObject_HEAD 12 | /* Type-specific fields go here. */ 13 | FMorphTargetDelta morph_target_delta; 14 | }; 15 | 16 | void ue_python_init_fmorph_target_delta(PyObject *); 17 | 18 | PyObject *py_ue_new_fmorph_target_delta(FMorphTargetDelta); 19 | 20 | ue_PyFMorphTargetDelta *py_ue_is_fmorph_target_delta(PyObject *); 21 | #endif 22 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFObjectThumbnail.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UnrealEnginePython.h" 3 | 4 | #include "Runtime/Core/Public/Misc/ObjectThumbnail.h" 5 | 6 | struct ue_PyFObjectThumbnail { 7 | PyObject_HEAD 8 | /* Type-specific fields go here. */ 9 | FObjectThumbnail object_thumbnail; 10 | }; 11 | 12 | void ue_python_init_fobject_thumbnail(PyObject *); 13 | 14 | PyObject *py_ue_new_fobject_thumbnail(FObjectThumbnail); 15 | 16 | ue_PyFObjectThumbnail *py_ue_is_fobject_thumbnail(PyObject *); 17 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFQuat.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #include "Runtime/Core/Public/Math/Quat.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FQuat quat; 12 | } ue_PyFQuat; 13 | 14 | extern PyTypeObject ue_PyFQuatType; 15 | 16 | PyObject *py_ue_new_fquat(FQuat); 17 | ue_PyFQuat *py_ue_is_fquat(PyObject *); 18 | 19 | void ue_python_init_fquat(PyObject *); 20 | 21 | bool py_ue_quat_arg(PyObject *, FQuat &); 22 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFRandomStream.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FRandomStream rstream; 12 | } ue_PyFRandomStream; 13 | 14 | void ue_python_init_frandomstream(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFRawAnimSequenceTrack.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | 5 | #include "Runtime/Engine/Classes/Animation/AnimSequence.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FRawAnimSequenceTrack raw_anim_sequence_track; 12 | } ue_PyFRawAnimSequenceTrack; 13 | 14 | PyObject *py_ue_new_fraw_anim_sequence_track(FRawAnimSequenceTrack); 15 | 16 | void ue_python_init_fraw_anim_sequence_track(PyObject *); 17 | 18 | ue_PyFRawAnimSequenceTrack *py_ue_is_fraw_anim_sequence_track(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFRawMesh.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UEPyModule.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #if ENGINE_MINOR_VERSION > 13 7 | 8 | #if ENGINE_MINOR_VERSION < 25 9 | #include "Developer/RawMesh/Public/RawMesh.h" 10 | #else 11 | #include "Runtime/RawMesh/Public/RawMesh.h" 12 | #endif 13 | 14 | 15 | struct ue_PyFRawMesh 16 | { 17 | PyObject_HEAD 18 | /* Type-specific fields go here. */ 19 | FRawMesh raw_mesh; 20 | }; 21 | 22 | 23 | void ue_python_init_fraw_mesh(PyObject *); 24 | 25 | PyObject *py_ue_new_fraw_mesh(FRawMesh); 26 | 27 | #endif 28 | #endif 29 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFRotator.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | #include "UEPyFVector.h" 5 | #include "UEPyFQuat.h" 6 | 7 | typedef struct { 8 | PyObject_HEAD 9 | /* Type-specific fields go here. */ 10 | FRotator rot; 11 | } ue_PyFRotator; 12 | 13 | extern PyTypeObject ue_PyFRotatorType; 14 | 15 | PyObject *py_ue_new_frotator(FRotator); 16 | ue_PyFRotator *py_ue_is_frotator(PyObject *); 17 | 18 | void ue_python_init_frotator(PyObject *); 19 | 20 | bool py_ue_rotator_arg(PyObject *, FRotator &); 21 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFSlowTask.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UnrealEnginePython.h" 3 | #include "Misc/SlowTask.h" 4 | 5 | #if WITH_EDITOR 6 | 7 | typedef struct { 8 | PyObject_HEAD 9 | /* Type-specific fields go here. */ 10 | 11 | FSlowTask slowtask; 12 | } ue_PyFSlowTask; 13 | 14 | void ue_python_init_fslowtask(PyObject *); 15 | 16 | ue_PyFSlowTask *py_ue_is_fslowtask(PyObject *); 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFSocket.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | 5 | #include "Runtime/Sockets/Public/Sockets.h" 6 | #include "Runtime/Networking/Public/Networking.h" 7 | 8 | 9 | 10 | typedef struct { 11 | PyObject_HEAD 12 | /* Type-specific fields go here. */ 13 | FSocket *sock; 14 | FUdpSocketReceiver *udp_receiver; 15 | void udp_recv(const FArrayReaderPtr& ArrayReaderPtr, const FIPv4Endpoint& EndPt) { 16 | UE_LOG(LogPython, Warning, TEXT("DATA !!!")); 17 | } 18 | } ue_PyFSocket; 19 | 20 | void ue_python_init_fsocket(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFSoftSkinVertex.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UnrealEnginePython.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #include "Runtime/Engine/Public/SkeletalMeshTypes.h" 7 | 8 | #if ENGINE_MINOR_VERSION > 18 9 | 10 | #include "Runtime/Engine/Public/Rendering/SkeletalMeshLODModel.h" 11 | 12 | #endif 13 | 14 | #include "Wrappers/UEPyFColor.h" 15 | 16 | struct ue_PyFSoftSkinVertex { 17 | PyObject_HEAD 18 | /* Type-specific fields go here. */ 19 | 20 | FSoftSkinVertex ss_vertex; 21 | 22 | uint16 material_index; 23 | uint32 smoothing_group; 24 | }; 25 | 26 | void ue_python_init_fsoft_skin_vertex(PyObject *); 27 | 28 | PyObject *py_ue_new_fsoft_skin_vertex(FSoftSkinVertex); 29 | 30 | ue_PyFSoftSkinVertex *py_ue_is_fsoft_skin_vertex(PyObject *); 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFStringAssetReference.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | #if ENGINE_MINOR_VERSION < 18 8 | #include "Runtime/CoreUObject/Public/Misc/StringAssetReference.h" 9 | #endif 10 | 11 | typedef struct 12 | { 13 | PyObject_HEAD 14 | /* Type-specific fields go here. */ 15 | FStringAssetReference fstring_asset_reference; 16 | } ue_PyFStringAssetReference; 17 | 18 | PyObject *py_ue_new_fstring_asset_reference(FStringAssetReference); 19 | ue_PyFStringAssetReference *py_ue_is_fstring_asset_reference(PyObject *); 20 | 21 | void ue_python_init_fstring_asset_reference(PyObject *); -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFTransform.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct { 8 | PyObject_HEAD 9 | /* Type-specific fields go here. */ 10 | FTransform transform; 11 | } ue_PyFTransform; 12 | 13 | extern PyTypeObject ue_PyFTransformType; 14 | 15 | PyObject *py_ue_new_ftransform(FTransform); 16 | ue_PyFTransform *py_ue_is_ftransform(PyObject *); 17 | 18 | void ue_python_init_ftransform(PyObject *); 19 | bool py_ue_transform_arg(PyObject *, FTransform &); 20 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFVector.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FVector vec; 12 | } ue_PyFVector; 13 | 14 | extern PyTypeObject ue_PyFVectorType; 15 | 16 | PyObject *py_ue_new_fvector(FVector); 17 | ue_PyFVector *py_ue_is_fvector(PyObject *); 18 | 19 | void ue_python_init_fvector(PyObject *); 20 | 21 | bool py_ue_vector_arg(PyObject *, FVector &); 22 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFVector2D.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | 5 | #include "UEPyModule.h" 6 | 7 | typedef struct 8 | { 9 | PyObject_HEAD 10 | /* Type-specific fields go here. */ 11 | FVector2D vec; 12 | } ue_PyFVector2D; 13 | 14 | extern PyTypeObject ue_PyFVector2DType; 15 | 16 | PyObject *py_ue_new_fvector2d(FVector2D); 17 | ue_PyFVector2D *py_ue_is_fvector2d(PyObject *); 18 | 19 | void ue_python_init_fvector2d(PyObject *); 20 | 21 | bool py_ue_vector2d_arg(PyObject *, FVector2D &); 22 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyFViewportClient.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UEPyModule.h" 4 | #include "UnrealClient.h" 5 | 6 | extern PyTypeObject ue_PyFViewportClientType; 7 | 8 | struct ue_PyFViewportClient 9 | { 10 | PyObject_HEAD 11 | /* Type-specific fields go here. */ 12 | TSharedRef viewport_client;; 13 | }; 14 | 15 | void ue_python_init_fviewport_client(PyObject *); 16 | 17 | PyObject *py_ue_new_fviewport_client(TSharedRef); 18 | 19 | ue_PyFViewportClient *py_ue_is_fviewport_client(PyObject *); 20 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/Wrappers/UEPyIAssetEditorInstance.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "UnrealEnginePython.h" 3 | 4 | #if WITH_EDITOR 5 | 6 | #include "Editor/UnrealEd/Public/Toolkits/AssetEditorManager.h" 7 | 8 | struct ue_PyIAssetEditorInstance 9 | { 10 | PyObject_HEAD 11 | /* Type-specific fields go here. */ 12 | IAssetEditorInstance *editor_instance; 13 | }; 14 | 15 | void ue_python_init_iasset_editor_instance(PyObject *); 16 | 17 | PyObject *py_ue_new_iasset_editor_instance(IAssetEditorInstance *); 18 | 19 | ue_PyIAssetEditorInstance *py_ue_is_iasset_editor_instance(PyObject *); 20 | 21 | #endif -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Private/hosts-per-state.py: -------------------------------------------------------------------------------- 1 | """ Get lists of event hosts per state """ 2 | from datetime import datetime, timezone, timedelta 3 | import json 4 | import csv 5 | import sys 6 | import copy 7 | 8 | import pytz 9 | import pygsheets 10 | import requests 11 | 12 | from auth.auth import create_drive_api, create_sheets_api, get_mobilize_credentials 13 | import utils 14 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Public/PipConsoleManager.h: -------------------------------------------------------------------------------- 1 | // Fill out your copyright notice in the Description page of Project Settings. 2 | 3 | #pragma once 4 | 5 | #include "Runtime/Engine/Classes/GameFramework/CheatManager.h" 6 | #include "PipConsoleManager.generated.h" 7 | 8 | /** 9 | * 10 | */ 11 | UCLASS() 12 | class UPipConsoleManager : public UCheatManager 13 | { 14 | GENERATED_UCLASS_BODY() 15 | 16 | UPROPERTY(BlueprintReadWrite, EditAnywhere) 17 | FString DefaultCommand; 18 | 19 | UPROPERTY(BlueprintReadWrite, EditAnywhere) 20 | FString CmdDirectory; 21 | 22 | UPROPERTY(BlueprintReadWrite, EditAnywhere) 23 | FString Prepend; 24 | 25 | UPROPERTY(BlueprintReadWrite, EditAnywhere) 26 | FString Postpend; 27 | 28 | /* Command to execute pip from ue4 console*/ 29 | UFUNCTION(Exec) 30 | void pip(FString Arg1, FString Arg2); 31 | 32 | 33 | UFUNCTION(Exec) 34 | void shell(FString Arg1, FString Arg2); 35 | }; 36 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Public/PyCommandlet.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Commandlets/Commandlet.h" 4 | #include "PyCommandlet.generated.h" 5 | 6 | UCLASS() 7 | class UPyCommandlet : public UCommandlet 8 | { 9 | GENERATED_UCLASS_BODY() 10 | virtual int32 Main(const FString& Params) override; 11 | }; 12 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Public/PythonBlueprintFunctionLibrary.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | 4 | #include "Kismet/BlueprintFunctionLibrary.h" 5 | #include "UnrealEnginePython.h" 6 | #include "PythonBlueprintFunctionLibrary.generated.h" 7 | 8 | 9 | UCLASS() 10 | class UNREALENGINEPYTHON_API UPythonBlueprintFunctionLibrary : public UBlueprintFunctionLibrary 11 | { 12 | GENERATED_BODY() 13 | 14 | public: 15 | UFUNCTION(BlueprintCallable, Exec, Category = "Python") 16 | static void ExecutePythonScript(FString script); 17 | 18 | UFUNCTION(BlueprintCallable, Exec, Category = "Python") 19 | static void ExecutePythonString(const FString& PythonCmd); 20 | }; 21 | 22 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Public/PythonClass.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | #include "PythonClass.generated.h" 5 | 6 | void unreal_engine_py_log_error(); 7 | 8 | UCLASS() 9 | class UPythonClass : public UClass 10 | { 11 | GENERATED_BODY() 12 | 13 | public: 14 | 15 | void SetPyConstructor(PyObject *callable) 16 | { 17 | py_constructor = callable; 18 | Py_INCREF(py_constructor); 19 | } 20 | 21 | void CallPyConstructor(ue_PyUObject *self) 22 | { 23 | if (!py_constructor) 24 | return; 25 | PyObject *ret = PyObject_CallObject(py_constructor, Py_BuildValue("(O)", self)); 26 | if (!ret) 27 | { 28 | unreal_engine_py_log_error(); 29 | return; 30 | } 31 | Py_DECREF(ret); 32 | } 33 | 34 | // __dict__ is stored here 35 | ue_PyUObject *py_uobject; 36 | 37 | private: 38 | 39 | PyObject * py_constructor; 40 | }; 41 | 42 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Public/PythonDelegate.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | #include "PythonDelegate.generated.h" 5 | 6 | UCLASS() 7 | class UPythonDelegate : public UObject 8 | { 9 | GENERATED_BODY() 10 | 11 | public: 12 | UPythonDelegate(); 13 | ~UPythonDelegate(); 14 | virtual void ProcessEvent(UFunction *function, void *Parms) override; 15 | void SetPyCallable(PyObject *callable); 16 | bool UsesPyCallable(PyObject *callable); 17 | void SetSignature(UFunction *original_signature); 18 | 19 | void PyInputHandler(); 20 | void PyInputAxisHandler(float value); 21 | 22 | protected: 23 | UFunction * signature; 24 | bool signature_set; 25 | 26 | UFUNCTION() 27 | void PyFakeCallable(); 28 | 29 | PyObject *py_callable; 30 | 31 | 32 | }; 33 | 34 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Public/PythonFunction.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | #include "PythonFunction.generated.h" 5 | 6 | UCLASS() 7 | class UPythonFunction : public UFunction 8 | { 9 | GENERATED_BODY() 10 | 11 | public: 12 | ~UPythonFunction(); 13 | void SetPyCallable(PyObject *callable); 14 | 15 | DECLARE_FUNCTION(CallPythonCallable); 16 | 17 | PyObject *py_callable; 18 | }; 19 | 20 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Public/PythonScript.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UObject/Object.h" 4 | #include "UObject/ScriptMacros.h" 5 | #include "PythonScript.generated.h" 6 | 7 | UCLASS(MinimalAPI) 8 | class UPythonScript : public UObject 9 | { 10 | GENERATED_BODY() 11 | 12 | public: 13 | 14 | UPROPERTY(EditAnywhere, Category = "Python") 15 | FString ScriptPath; 16 | 17 | UPROPERTY(EditAnywhere, Category = "Python") 18 | FString FunctionToCall; 19 | 20 | UPROPERTY(EditAnywhere, Category = "Python") 21 | TArray FunctionArgs; 22 | 23 | UFUNCTION() 24 | void Run(); 25 | 26 | void CallSpecificFunctionWithArgs(); 27 | }; 28 | 29 | -------------------------------------------------------------------------------- /Source/UnrealEnginePython/Public/PythonSmartDelegate.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "UnrealEnginePython.h" 4 | #if WITH_EDITOR 5 | #include "Factories/Factory.h" 6 | #include "Runtime/SlateCore/Public/Widgets/SWindow.h" 7 | #endif 8 | 9 | class FPythonSmartDelegate : public TSharedFromThis 10 | { 11 | 12 | public: 13 | FPythonSmartDelegate(); 14 | ~FPythonSmartDelegate(); 15 | 16 | void SetPyCallable(PyObject *callable); 17 | 18 | 19 | 20 | bool Tick(float DeltaTime); 21 | void Void(); 22 | 23 | #if WITH_EDITOR 24 | void PyFOnAssetPostImport(UFactory *factory, UObject *u_object); 25 | void PyFOnMainFrameCreationFinished(TSharedPtr InRootWindow, bool bIsNewProjectWindow); 26 | #endif 27 | 28 | protected: 29 | 30 | PyObject * py_callable; 31 | 32 | }; 33 | 34 | -------------------------------------------------------------------------------- /ThirdParty/Pip/InstallPip.bat: -------------------------------------------------------------------------------- 1 | echo Getting pip... 2 | python get-pip.py 3 | pause 4 | cd Scripts 5 | echo Installing tensorflow 6 | pip install tensorflow 7 | pause 8 | echo Installing tensorflow-gpu 9 | pip install tensorflow-gpu 10 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/ast.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_AST_H 2 | #define Py_AST_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags, 8 | const char *, PyArena *); 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* !Py_AST_H */ 14 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/cellobject.h: -------------------------------------------------------------------------------- 1 | /* Cell object interface */ 2 | 3 | #ifndef Py_CELLOBJECT_H 4 | #define Py_CELLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_HEAD 11 | PyObject *ob_ref; /* Content of the cell or NULL when empty */ 12 | } PyCellObject; 13 | 14 | PyAPI_DATA(PyTypeObject) PyCell_Type; 15 | 16 | #define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); 19 | PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); 20 | PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); 21 | 22 | #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref) 23 | #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TUPLEOBJECT_H */ 29 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/dtoa.h: -------------------------------------------------------------------------------- 1 | #ifndef PY_NO_SHORT_FLOAT_REPR 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); 7 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, 8 | int *decpt, int *sign, char **rve); 9 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); 10 | 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/enumobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ENUMOBJECT_H 2 | #define Py_ENUMOBJECT_H 3 | 4 | /* Enumerate Object */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyEnum_Type; 11 | PyAPI_DATA(PyTypeObject) PyReversed_Type; 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_ENUMOBJECT_H */ 18 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/eval.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface to execute compiled code */ 3 | 4 | #ifndef Py_EVAL_H 5 | #define Py_EVAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *); 11 | 12 | PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co, 13 | PyObject *globals, 14 | PyObject *locals, 15 | PyObject **args, int argc, 16 | PyObject **kwds, int kwdc, 17 | PyObject **defs, int defc, 18 | PyObject *closure); 19 | 20 | PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_EVAL_H */ 26 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/intrcheck.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_INTRCHECK_H 3 | #define Py_INTRCHECK_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 9 | PyAPI_FUNC(void) PyOS_InitInterrupts(void); 10 | PyAPI_FUNC(void) PyOS_AfterFork(void); 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif /* !Py_INTRCHECK_H */ 16 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/iterobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ITEROBJECT_H 2 | #define Py_ITEROBJECT_H 3 | /* Iterators (the basic kind, over a sequence) */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type; 9 | 10 | #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) 11 | 12 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); 13 | 14 | PyAPI_DATA(PyTypeObject) PyCallIter_Type; 15 | 16 | #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_ITEROBJECT_H */ 23 | 24 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/marshal.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface for marshal.c */ 3 | 4 | #ifndef Py_MARSHAL_H 5 | #define Py_MARSHAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #define Py_MARSHAL_VERSION 2 11 | 12 | PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int); 13 | PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int); 14 | PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int); 15 | 16 | PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *); 17 | PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *); 18 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *); 19 | PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *); 20 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(char *, Py_ssize_t); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_MARSHAL_H */ 26 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/metagrammar.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_METAGRAMMAR_H 2 | #define Py_METAGRAMMAR_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | #define MSTART 256 9 | #define RULE 257 10 | #define RHS 258 11 | #define ALT 259 12 | #define ITEM 260 13 | #define ATOM 261 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_METAGRAMMAR_H */ 19 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/moduleobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Module object interface */ 3 | 4 | #ifndef Py_MODULEOBJECT_H 5 | #define Py_MODULEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyModule_Type; 11 | 12 | #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) 13 | #define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type) 14 | 15 | PyAPI_FUNC(PyObject *) PyModule_New(const char *); 16 | PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *); 17 | PyAPI_FUNC(char *) PyModule_GetName(PyObject *); 18 | PyAPI_FUNC(char *) PyModule_GetFilename(PyObject *); 19 | PyAPI_FUNC(void) _PyModule_Clear(PyObject *); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_MODULEOBJECT_H */ 25 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/pgen.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_PGEN_H 2 | #define Py_PGEN_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Parser generator interface */ 9 | 10 | extern grammar *meta_grammar(void); 11 | 12 | struct _node; 13 | extern grammar *pgen(struct _node *); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_PGEN_H */ 19 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/pygetopt.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_PYGETOPT_H 3 | #define Py_PYGETOPT_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(int) _PyOS_opterr; 9 | PyAPI_DATA(int) _PyOS_optind; 10 | PyAPI_DATA(char *) _PyOS_optarg; 11 | 12 | PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); 13 | PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_PYGETOPT_H */ 19 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/pystrcmp.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRCMP_H 2 | #define Py_STRCMP_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); 10 | 11 | #if defined(MS_WINDOWS) || defined(PYOS_OS2) 12 | #define PyOS_strnicmp strnicmp 13 | #define PyOS_stricmp stricmp 14 | #else 15 | #define PyOS_strnicmp PyOS_mystrnicmp 16 | #define PyOS_stricmp PyOS_mystricmp 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* !Py_STRCMP_H */ 24 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/rangeobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Range object interface */ 3 | 4 | #ifndef Py_RANGEOBJECT_H 5 | #define Py_RANGEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* This is about the type 'xrange', not the built-in function range(), which 11 | returns regular lists. */ 12 | 13 | /* 14 | A range object represents an integer range. This is an immutable object; 15 | a range cannot change its value after creation. 16 | 17 | Range objects behave like the corresponding tuple objects except that 18 | they are represented by a start, stop, and step datamembers. 19 | */ 20 | 21 | PyAPI_DATA(PyTypeObject) PyRange_Type; 22 | 23 | #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_RANGEOBJECT_H */ 29 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/timefuncs.h: -------------------------------------------------------------------------------- 1 | /* timefuncs.h 2 | */ 3 | 4 | /* Utility function related to timemodule.c. */ 5 | 6 | #ifndef TIMEFUNCS_H 7 | #define TIMEFUNCS_H 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | 13 | /* Cast double x to time_t, but raise ValueError if x is too large 14 | * to fit in a time_t. ValueError is set on return iff the return 15 | * value is (time_t)-1 and PyErr_Occurred(). 16 | */ 17 | PyAPI_FUNC(time_t) _PyTime_DoubleToTimet(double x); 18 | 19 | /* Get the current time since the epoch in seconds */ 20 | PyAPI_FUNC(double) _PyTime_FloatTime(void); 21 | 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif /* TIMEFUNCS_H */ 27 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/traceback.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_TRACEBACK_H 3 | #define Py_TRACEBACK_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | struct _frame; 9 | 10 | /* Traceback interface */ 11 | 12 | typedef struct _traceback { 13 | PyObject_HEAD 14 | struct _traceback *tb_next; 15 | struct _frame *tb_frame; 16 | int tb_lasti; 17 | int tb_lineno; 18 | } PyTracebackObject; 19 | 20 | PyAPI_FUNC(int) PyTraceBack_Here(struct _frame *); 21 | PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *); 22 | PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, const char *, int, int); 23 | 24 | /* Reveal traceback type so we can typecheck traceback objects */ 25 | PyAPI_DATA(PyTypeObject) PyTraceBack_Type; 26 | #define PyTraceBack_Check(v) (Py_TYPE(v) == &PyTraceBack_Type) 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | #endif /* !Py_TRACEBACK_H */ 32 | -------------------------------------------------------------------------------- /ThirdParty/Python27/Include/warnings.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_WARNINGS_H 2 | #define Py_WARNINGS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(void) _PyWarnings_Init(void); 8 | 9 | PyAPI_FUNC(int) PyErr_WarnEx(PyObject *, const char *, Py_ssize_t); 10 | PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject *, const char *, const char *, int, 11 | const char *, PyObject *); 12 | 13 | #define PyErr_WarnPy3k(msg, stacklevel) \ 14 | (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0) 15 | 16 | /* DEPRECATED: Use PyErr_WarnEx() instead. */ 17 | #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1) 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_WARNINGS_H */ 23 | 24 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/ast.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_AST_H 2 | #define Py_AST_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(int) PyAST_Validate(mod_ty); 8 | PyAPI_FUNC(mod_ty) PyAST_FromNode( 9 | const node *n, 10 | PyCompilerFlags *flags, 11 | const char *filename, /* decoded from the filesystem encoding */ 12 | PyArena *arena); 13 | PyAPI_FUNC(mod_ty) PyAST_FromNodeObject( 14 | const node *n, 15 | PyCompilerFlags *flags, 16 | PyObject *filename, 17 | PyArena *arena); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_AST_H */ 23 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/bltinmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_BLTINMODULE_H 2 | #define Py_BLTINMODULE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_DATA(PyTypeObject) PyFilter_Type; 8 | PyAPI_DATA(PyTypeObject) PyMap_Type; 9 | PyAPI_DATA(PyTypeObject) PyZip_Type; 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | #endif /* !Py_BLTINMODULE_H */ 15 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/cellobject.h: -------------------------------------------------------------------------------- 1 | /* Cell object interface */ 2 | #ifndef Py_LIMITED_API 3 | #ifndef Py_CELLOBJECT_H 4 | #define Py_CELLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_HEAD 11 | PyObject *ob_ref; /* Content of the cell or NULL when empty */ 12 | } PyCellObject; 13 | 14 | PyAPI_DATA(PyTypeObject) PyCell_Type; 15 | 16 | #define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); 19 | PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); 20 | PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); 21 | 22 | #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref) 23 | #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TUPLEOBJECT_H */ 29 | #endif /* Py_LIMITED_API */ 30 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/dtoa.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef PY_NO_SHORT_FLOAT_REPR 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); 8 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, 9 | int *decpt, int *sign, char **rve); 10 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); 11 | PyAPI_FUNC(double) _Py_dg_stdnan(int sign); 12 | PyAPI_FUNC(double) _Py_dg_infinity(int sign); 13 | 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif 19 | #endif 20 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/enumobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ENUMOBJECT_H 2 | #define Py_ENUMOBJECT_H 3 | 4 | /* Enumerate Object */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyEnum_Type; 11 | PyAPI_DATA(PyTypeObject) PyReversed_Type; 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_ENUMOBJECT_H */ 18 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/eval.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface to execute compiled code */ 3 | 4 | #ifndef Py_EVAL_H 5 | #define Py_EVAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *); 11 | 12 | PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co, 13 | PyObject *globals, 14 | PyObject *locals, 15 | PyObject **args, int argc, 16 | PyObject **kwds, int kwdc, 17 | PyObject **defs, int defc, 18 | PyObject *kwdefs, PyObject *closure); 19 | 20 | #ifndef Py_LIMITED_API 21 | PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args); 22 | #endif 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_EVAL_H */ 28 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/intrcheck.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_INTRCHECK_H 3 | #define Py_INTRCHECK_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 9 | PyAPI_FUNC(void) PyOS_InitInterrupts(void); 10 | PyAPI_FUNC(void) PyOS_AfterFork(void); 11 | 12 | #ifndef Py_LIMITED_API 13 | PyAPI_FUNC(int) _PyOS_IsMainThread(void); 14 | 15 | #ifdef MS_WINDOWS 16 | /* windows.h is not included by Python.h so use void* instead of HANDLE */ 17 | PyAPI_FUNC(void*) _PyOS_SigintEvent(void); 18 | #endif 19 | #endif /* !Py_LIMITED_API */ 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_INTRCHECK_H */ 25 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/iterobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ITEROBJECT_H 2 | #define Py_ITEROBJECT_H 3 | /* Iterators (the basic kind, over a sequence) */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type; 9 | PyAPI_DATA(PyTypeObject) PyCallIter_Type; 10 | PyAPI_DATA(PyTypeObject) PyCmpWrapper_Type; 11 | 12 | #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) 13 | 14 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); 15 | 16 | 17 | #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) 18 | 19 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_ITEROBJECT_H */ 25 | 26 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/metagrammar.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_METAGRAMMAR_H 2 | #define Py_METAGRAMMAR_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | #define MSTART 256 9 | #define RULE 257 10 | #define RHS 258 11 | #define ALT 259 12 | #define ITEM 260 13 | #define ATOM 261 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_METAGRAMMAR_H */ 19 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/namespaceobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* simple namespace object interface */ 3 | 4 | #ifndef NAMESPACEOBJECT_H 5 | #define NAMESPACEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #ifndef Py_LIMITED_API 11 | PyAPI_DATA(PyTypeObject) _PyNamespace_Type; 12 | 13 | PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds); 14 | #endif /* !Py_LIMITED_API */ 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | #endif /* !NAMESPACEOBJECT_H */ 20 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/osdefs.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_OSDEFS_H 2 | #define Py_OSDEFS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Operating system dependencies */ 9 | 10 | #ifdef MS_WINDOWS 11 | #define SEP L'\\' 12 | #define ALTSEP L'/' 13 | #define MAXPATHLEN 256 14 | #define DELIM L';' 15 | #endif 16 | 17 | /* Filename separator */ 18 | #ifndef SEP 19 | #define SEP L'/' 20 | #endif 21 | 22 | /* Max pathname length */ 23 | #ifdef __hpux 24 | #include 25 | #include 26 | #ifndef PATH_MAX 27 | #define PATH_MAX MAXPATHLEN 28 | #endif 29 | #endif 30 | 31 | #ifndef MAXPATHLEN 32 | #if defined(PATH_MAX) && PATH_MAX > 1024 33 | #define MAXPATHLEN PATH_MAX 34 | #else 35 | #define MAXPATHLEN 1024 36 | #endif 37 | #endif 38 | 39 | /* Search path entry delimiter */ 40 | #ifndef DELIM 41 | #define DELIM L':' 42 | #endif 43 | 44 | #ifdef __cplusplus 45 | } 46 | #endif 47 | #endif /* !Py_OSDEFS_H */ 48 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/osmodule.h: -------------------------------------------------------------------------------- 1 | 2 | /* os module interface */ 3 | 4 | #ifndef Py_OSMODULE_H 5 | #define Py_OSMODULE_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000 11 | PyAPI_FUNC(PyObject *) PyOS_FSPath(PyObject *path); 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !Py_OSMODULE_H */ 18 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/pgen.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_PGEN_H 2 | #define Py_PGEN_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Parser generator interface */ 9 | 10 | extern grammar *meta_grammar(void); 11 | 12 | struct _node; 13 | extern grammar *pgen(struct _node *); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_PGEN_H */ 19 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/pygetopt.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_PYGETOPT_H 3 | #define Py_PYGETOPT_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | PyAPI_DATA(int) _PyOS_opterr; 10 | PyAPI_DATA(int) _PyOS_optind; 11 | PyAPI_DATA(wchar_t *) _PyOS_optarg; 12 | 13 | PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); 14 | 15 | PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring); 16 | #endif /* !Py_LIMITED_API */ 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | #endif /* !Py_PYGETOPT_H */ 22 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/pystrcmp.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRCMP_H 2 | #define Py_STRCMP_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); 10 | 11 | #ifdef MS_WINDOWS 12 | #define PyOS_strnicmp strnicmp 13 | #define PyOS_stricmp stricmp 14 | #else 15 | #define PyOS_strnicmp PyOS_mystrnicmp 16 | #define PyOS_stricmp PyOS_mystricmp 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* !Py_STRCMP_H */ 24 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/pystrhex.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRHEX_H 2 | #define Py_STRHEX_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | /* Returns a str() containing the hex representation of argbuf. */ 10 | PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen); 11 | /* Returns a bytes() containing the ASCII hex representation of argbuf. */ 12 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen); 13 | #endif /* !Py_LIMITED_API */ 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif /* !Py_STRHEX_H */ 20 | -------------------------------------------------------------------------------- /ThirdParty/Python36/Include/rangeobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Range object interface */ 3 | 4 | #ifndef Py_RANGEOBJECT_H 5 | #define Py_RANGEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | A range object represents an integer range. This is an immutable object; 12 | a range cannot change its value after creation. 13 | 14 | Range objects behave like the corresponding tuple objects except that 15 | they are represented by a start, stop, and step datamembers. 16 | */ 17 | 18 | PyAPI_DATA(PyTypeObject) PyRange_Type; 19 | PyAPI_DATA(PyTypeObject) PyRangeIter_Type; 20 | PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type; 21 | 22 | #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type) 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_RANGEOBJECT_H */ 28 | -------------------------------------------------------------------------------- /android/armeabi-v7a/libcrystax.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/android/armeabi-v7a/libcrystax.so -------------------------------------------------------------------------------- /android/armeabi-v7a/libpython2.7.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/android/armeabi-v7a/libpython2.7.so -------------------------------------------------------------------------------- /android/armeabi-v7a/libpython3.5m.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/android/armeabi-v7a/libpython3.5m.so -------------------------------------------------------------------------------- /android/python27/include/ast.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_AST_H 2 | #define Py_AST_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags, 8 | const char *, PyArena *); 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* !Py_AST_H */ 14 | -------------------------------------------------------------------------------- /android/python27/include/cellobject.h: -------------------------------------------------------------------------------- 1 | /* Cell object interface */ 2 | 3 | #ifndef Py_CELLOBJECT_H 4 | #define Py_CELLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_HEAD 11 | PyObject *ob_ref; /* Content of the cell or NULL when empty */ 12 | } PyCellObject; 13 | 14 | PyAPI_DATA(PyTypeObject) PyCell_Type; 15 | 16 | #define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); 19 | PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); 20 | PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); 21 | 22 | #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref) 23 | #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TUPLEOBJECT_H */ 29 | -------------------------------------------------------------------------------- /android/python27/include/dtoa.h: -------------------------------------------------------------------------------- 1 | #ifndef PY_NO_SHORT_FLOAT_REPR 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); 7 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, 8 | int *decpt, int *sign, char **rve); 9 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); 10 | 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /android/python27/include/enumobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ENUMOBJECT_H 2 | #define Py_ENUMOBJECT_H 3 | 4 | /* Enumerate Object */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyEnum_Type; 11 | PyAPI_DATA(PyTypeObject) PyReversed_Type; 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_ENUMOBJECT_H */ 18 | -------------------------------------------------------------------------------- /android/python27/include/eval.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface to execute compiled code */ 3 | 4 | #ifndef Py_EVAL_H 5 | #define Py_EVAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *); 11 | 12 | PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co, 13 | PyObject *globals, 14 | PyObject *locals, 15 | PyObject **args, int argc, 16 | PyObject **kwds, int kwdc, 17 | PyObject **defs, int defc, 18 | PyObject *closure); 19 | 20 | PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_EVAL_H */ 26 | -------------------------------------------------------------------------------- /android/python27/include/intrcheck.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_INTRCHECK_H 3 | #define Py_INTRCHECK_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 9 | PyAPI_FUNC(void) PyOS_InitInterrupts(void); 10 | PyAPI_FUNC(void) PyOS_AfterFork(void); 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif /* !Py_INTRCHECK_H */ 16 | -------------------------------------------------------------------------------- /android/python27/include/iterobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ITEROBJECT_H 2 | #define Py_ITEROBJECT_H 3 | /* Iterators (the basic kind, over a sequence) */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type; 9 | 10 | #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) 11 | 12 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); 13 | 14 | PyAPI_DATA(PyTypeObject) PyCallIter_Type; 15 | 16 | #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_ITEROBJECT_H */ 23 | 24 | -------------------------------------------------------------------------------- /android/python27/include/marshal.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface for marshal.c */ 3 | 4 | #ifndef Py_MARSHAL_H 5 | #define Py_MARSHAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #define Py_MARSHAL_VERSION 2 11 | 12 | PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int); 13 | PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int); 14 | PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int); 15 | 16 | PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *); 17 | PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *); 18 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *); 19 | PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *); 20 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(char *, Py_ssize_t); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_MARSHAL_H */ 26 | -------------------------------------------------------------------------------- /android/python27/include/metagrammar.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_METAGRAMMAR_H 2 | #define Py_METAGRAMMAR_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | #define MSTART 256 9 | #define RULE 257 10 | #define RHS 258 11 | #define ALT 259 12 | #define ITEM 260 13 | #define ATOM 261 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_METAGRAMMAR_H */ 19 | -------------------------------------------------------------------------------- /android/python27/include/moduleobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Module object interface */ 3 | 4 | #ifndef Py_MODULEOBJECT_H 5 | #define Py_MODULEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyModule_Type; 11 | 12 | #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) 13 | #define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type) 14 | 15 | PyAPI_FUNC(PyObject *) PyModule_New(const char *); 16 | PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *); 17 | PyAPI_FUNC(char *) PyModule_GetName(PyObject *); 18 | PyAPI_FUNC(char *) PyModule_GetFilename(PyObject *); 19 | PyAPI_FUNC(void) _PyModule_Clear(PyObject *); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_MODULEOBJECT_H */ 25 | -------------------------------------------------------------------------------- /android/python27/include/pgen.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_PGEN_H 2 | #define Py_PGEN_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Parser generator interface */ 9 | 10 | extern grammar *meta_grammar(void); 11 | 12 | struct _node; 13 | extern grammar *pgen(struct _node *); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_PGEN_H */ 19 | -------------------------------------------------------------------------------- /android/python27/include/pyconfig.h: -------------------------------------------------------------------------------- 1 | #if defined(__ARM_ARCH_5TE__) 2 | #include "pyconfig_armeabi.h" 3 | #elif defined(__ARM_ARCH_7A__) && !defined(__ARM_PCS_VFP) 4 | #include "pyconfig_armeabi_v7a.h" 5 | #elif defined(__ARM_ARCH_7A__) && defined(__ARM_PCS_VFP) 6 | #include "pyconfig_armeabi_v7a_hard.h" 7 | #elif defined(__aarch64__) 8 | #include "pyconfig_arm64_v8a.h" 9 | #elif defined(__i386__) 10 | #include "pyconfig_x86.h" 11 | #elif defined(__x86_64__) 12 | #include "pyconfig_x86_64.h" 13 | #elif defined(__mips__) && !defined(__mips64) 14 | #include "pyconfig_mips.h" 15 | #elif defined(__mips__) && defined(__mips64) 16 | #include "pyconfig_mips64.h" 17 | #else 18 | #error "Unsupported ABI" 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /android/python27/include/pygetopt.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_PYGETOPT_H 3 | #define Py_PYGETOPT_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(int) _PyOS_opterr; 9 | PyAPI_DATA(int) _PyOS_optind; 10 | PyAPI_DATA(char *) _PyOS_optarg; 11 | 12 | PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); 13 | PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_PYGETOPT_H */ 19 | -------------------------------------------------------------------------------- /android/python27/include/pystrcmp.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRCMP_H 2 | #define Py_STRCMP_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); 10 | 11 | #if defined(MS_WINDOWS) || defined(PYOS_OS2) 12 | #define PyOS_strnicmp strnicmp 13 | #define PyOS_stricmp stricmp 14 | #else 15 | #define PyOS_strnicmp PyOS_mystrnicmp 16 | #define PyOS_stricmp PyOS_mystricmp 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* !Py_STRCMP_H */ 24 | -------------------------------------------------------------------------------- /android/python27/include/rangeobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Range object interface */ 3 | 4 | #ifndef Py_RANGEOBJECT_H 5 | #define Py_RANGEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* This is about the type 'xrange', not the built-in function range(), which 11 | returns regular lists. */ 12 | 13 | /* 14 | A range object represents an integer range. This is an immutable object; 15 | a range cannot change its value after creation. 16 | 17 | Range objects behave like the corresponding tuple objects except that 18 | they are represented by a start, stop, and step datamembers. 19 | */ 20 | 21 | PyAPI_DATA(PyTypeObject) PyRange_Type; 22 | 23 | #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_RANGEOBJECT_H */ 29 | -------------------------------------------------------------------------------- /android/python27/include/timefuncs.h: -------------------------------------------------------------------------------- 1 | /* timefuncs.h 2 | */ 3 | 4 | /* Utility function related to timemodule.c. */ 5 | 6 | #ifndef TIMEFUNCS_H 7 | #define TIMEFUNCS_H 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | 13 | /* Cast double x to time_t, but raise ValueError if x is too large 14 | * to fit in a time_t. ValueError is set on return iff the return 15 | * value is (time_t)-1 and PyErr_Occurred(). 16 | */ 17 | PyAPI_FUNC(time_t) _PyTime_DoubleToTimet(double x); 18 | 19 | /* Get the current time since the epoch in seconds */ 20 | PyAPI_FUNC(double) _PyTime_FloatTime(void); 21 | 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif /* TIMEFUNCS_H */ 27 | -------------------------------------------------------------------------------- /android/python27/include/traceback.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_TRACEBACK_H 3 | #define Py_TRACEBACK_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | struct _frame; 9 | 10 | /* Traceback interface */ 11 | 12 | typedef struct _traceback { 13 | PyObject_HEAD 14 | struct _traceback *tb_next; 15 | struct _frame *tb_frame; 16 | int tb_lasti; 17 | int tb_lineno; 18 | } PyTracebackObject; 19 | 20 | PyAPI_FUNC(int) PyTraceBack_Here(struct _frame *); 21 | PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *); 22 | PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, const char *, int, int); 23 | 24 | /* Reveal traceback type so we can typecheck traceback objects */ 25 | PyAPI_DATA(PyTypeObject) PyTraceBack_Type; 26 | #define PyTraceBack_Check(v) (Py_TYPE(v) == &PyTraceBack_Type) 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | #endif /* !Py_TRACEBACK_H */ 32 | -------------------------------------------------------------------------------- /android/python27/include/warnings.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_WARNINGS_H 2 | #define Py_WARNINGS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(void) _PyWarnings_Init(void); 8 | 9 | PyAPI_FUNC(int) PyErr_WarnEx(PyObject *, const char *, Py_ssize_t); 10 | PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject *, const char *, const char *, int, 11 | const char *, PyObject *); 12 | 13 | #define PyErr_WarnPy3k(msg, stacklevel) \ 14 | (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0) 15 | 16 | /* DEPRECATED: Use PyErr_WarnEx() instead. */ 17 | #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1) 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_WARNINGS_H */ 23 | 24 | -------------------------------------------------------------------------------- /android/python27/stdlib.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/android/python27/stdlib.zip -------------------------------------------------------------------------------- /android/python35/include/ast.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_AST_H 2 | #define Py_AST_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(int) PyAST_Validate(mod_ty); 8 | PyAPI_FUNC(mod_ty) PyAST_FromNode( 9 | const node *n, 10 | PyCompilerFlags *flags, 11 | const char *filename, /* decoded from the filesystem encoding */ 12 | PyArena *arena); 13 | PyAPI_FUNC(mod_ty) PyAST_FromNodeObject( 14 | const node *n, 15 | PyCompilerFlags *flags, 16 | PyObject *filename, 17 | PyArena *arena); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_AST_H */ 23 | -------------------------------------------------------------------------------- /android/python35/include/bltinmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_BLTINMODULE_H 2 | #define Py_BLTINMODULE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_DATA(PyTypeObject) PyFilter_Type; 8 | PyAPI_DATA(PyTypeObject) PyMap_Type; 9 | PyAPI_DATA(PyTypeObject) PyZip_Type; 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | #endif /* !Py_BLTINMODULE_H */ 15 | -------------------------------------------------------------------------------- /android/python35/include/cellobject.h: -------------------------------------------------------------------------------- 1 | /* Cell object interface */ 2 | #ifndef Py_LIMITED_API 3 | #ifndef Py_CELLOBJECT_H 4 | #define Py_CELLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_HEAD 11 | PyObject *ob_ref; /* Content of the cell or NULL when empty */ 12 | } PyCellObject; 13 | 14 | PyAPI_DATA(PyTypeObject) PyCell_Type; 15 | 16 | #define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); 19 | PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); 20 | PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); 21 | 22 | #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref) 23 | #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TUPLEOBJECT_H */ 29 | #endif /* Py_LIMITED_API */ 30 | -------------------------------------------------------------------------------- /android/python35/include/dtoa.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef PY_NO_SHORT_FLOAT_REPR 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); 8 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, 9 | int *decpt, int *sign, char **rve); 10 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); 11 | PyAPI_FUNC(double) _Py_dg_stdnan(int sign); 12 | PyAPI_FUNC(double) _Py_dg_infinity(int sign); 13 | 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif 19 | #endif 20 | -------------------------------------------------------------------------------- /android/python35/include/enumobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ENUMOBJECT_H 2 | #define Py_ENUMOBJECT_H 3 | 4 | /* Enumerate Object */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyEnum_Type; 11 | PyAPI_DATA(PyTypeObject) PyReversed_Type; 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_ENUMOBJECT_H */ 18 | -------------------------------------------------------------------------------- /android/python35/include/eval.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface to execute compiled code */ 3 | 4 | #ifndef Py_EVAL_H 5 | #define Py_EVAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *); 11 | 12 | PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co, 13 | PyObject *globals, 14 | PyObject *locals, 15 | PyObject **args, int argc, 16 | PyObject **kwds, int kwdc, 17 | PyObject **defs, int defc, 18 | PyObject *kwdefs, PyObject *closure); 19 | 20 | #ifndef Py_LIMITED_API 21 | PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args); 22 | #endif 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_EVAL_H */ 28 | -------------------------------------------------------------------------------- /android/python35/include/intrcheck.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_INTRCHECK_H 3 | #define Py_INTRCHECK_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 9 | PyAPI_FUNC(void) PyOS_InitInterrupts(void); 10 | PyAPI_FUNC(void) PyOS_AfterFork(void); 11 | PyAPI_FUNC(int) _PyOS_IsMainThread(void); 12 | 13 | #ifdef MS_WINDOWS 14 | /* windows.h is not included by Python.h so use void* instead of HANDLE */ 15 | PyAPI_FUNC(void*) _PyOS_SigintEvent(void); 16 | #endif 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | #endif /* !Py_INTRCHECK_H */ 22 | -------------------------------------------------------------------------------- /android/python35/include/iterobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ITEROBJECT_H 2 | #define Py_ITEROBJECT_H 3 | /* Iterators (the basic kind, over a sequence) */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type; 9 | PyAPI_DATA(PyTypeObject) PyCallIter_Type; 10 | PyAPI_DATA(PyTypeObject) PyCmpWrapper_Type; 11 | 12 | #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) 13 | 14 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); 15 | 16 | 17 | #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) 18 | 19 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_ITEROBJECT_H */ 25 | 26 | -------------------------------------------------------------------------------- /android/python35/include/metagrammar.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_METAGRAMMAR_H 2 | #define Py_METAGRAMMAR_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | #define MSTART 256 9 | #define RULE 257 10 | #define RHS 258 11 | #define ALT 259 12 | #define ITEM 260 13 | #define ATOM 261 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_METAGRAMMAR_H */ 19 | -------------------------------------------------------------------------------- /android/python35/include/namespaceobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* simple namespace object interface */ 3 | 4 | #ifndef NAMESPACEOBJECT_H 5 | #define NAMESPACEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) _PyNamespace_Type; 11 | 12 | PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !NAMESPACEOBJECT_H */ 18 | -------------------------------------------------------------------------------- /android/python35/include/pgen.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_PGEN_H 2 | #define Py_PGEN_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Parser generator interface */ 9 | 10 | extern grammar *meta_grammar(void); 11 | 12 | struct _node; 13 | extern grammar *pgen(struct _node *); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_PGEN_H */ 19 | -------------------------------------------------------------------------------- /android/python35/include/pyconfig.h: -------------------------------------------------------------------------------- 1 | #if defined(__ARM_ARCH_5TE__) 2 | #include "pyconfig_armeabi.h" 3 | #elif defined(__ARM_ARCH_7A__) && !defined(__ARM_PCS_VFP) 4 | #include "pyconfig_armeabi_v7a.h" 5 | #elif defined(__ARM_ARCH_7A__) && defined(__ARM_PCS_VFP) 6 | #include "pyconfig_armeabi_v7a_hard.h" 7 | #elif defined(__aarch64__) 8 | #include "pyconfig_arm64_v8a.h" 9 | #elif defined(__i386__) 10 | #include "pyconfig_x86.h" 11 | #elif defined(__x86_64__) 12 | #include "pyconfig_x86_64.h" 13 | #elif defined(__mips__) && !defined(__mips64) 14 | #include "pyconfig_mips.h" 15 | #elif defined(__mips__) && defined(__mips64) 16 | #include "pyconfig_mips64.h" 17 | #else 18 | #error "Unsupported ABI" 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /android/python35/include/pygetopt.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_PYGETOPT_H 3 | #define Py_PYGETOPT_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | PyAPI_DATA(int) _PyOS_opterr; 10 | PyAPI_DATA(int) _PyOS_optind; 11 | PyAPI_DATA(wchar_t *) _PyOS_optarg; 12 | 13 | PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); 14 | #endif 15 | 16 | PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | #endif /* !Py_PYGETOPT_H */ 22 | -------------------------------------------------------------------------------- /android/python35/include/pystrcmp.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRCMP_H 2 | #define Py_STRCMP_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); 10 | 11 | #ifdef MS_WINDOWS 12 | #define PyOS_strnicmp strnicmp 13 | #define PyOS_stricmp stricmp 14 | #else 15 | #define PyOS_strnicmp PyOS_mystrnicmp 16 | #define PyOS_stricmp PyOS_mystricmp 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* !Py_STRCMP_H */ 24 | -------------------------------------------------------------------------------- /android/python35/include/pystrhex.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRHEX_H 2 | #define Py_STRHEX_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /* Returns a str() containing the hex representation of argbuf. */ 9 | PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen); 10 | /* Returns a bytes() containing the ASCII hex representation of argbuf. */ 11 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen); 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_STRHEX_H */ 18 | -------------------------------------------------------------------------------- /android/python35/include/rangeobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Range object interface */ 3 | 4 | #ifndef Py_RANGEOBJECT_H 5 | #define Py_RANGEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | A range object represents an integer range. This is an immutable object; 12 | a range cannot change its value after creation. 13 | 14 | Range objects behave like the corresponding tuple objects except that 15 | they are represented by a start, stop, and step datamembers. 16 | */ 17 | 18 | PyAPI_DATA(PyTypeObject) PyRange_Type; 19 | PyAPI_DATA(PyTypeObject) PyRangeIter_Type; 20 | PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type; 21 | 22 | #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type) 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_RANGEOBJECT_H */ 28 | -------------------------------------------------------------------------------- /android/python35/stdlib.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/android/python35/stdlib.zip -------------------------------------------------------------------------------- /docs/Animation_API.md: -------------------------------------------------------------------------------- 1 | 2 | # The Animation API 3 | 4 | You can control animation blueprints variables and events easily: 5 | 6 | ```py 7 | 8 | from unreal_engine.classes import SkeletalMeshComponent 9 | 10 | # get a reference to the skeletal mesh 11 | skeletal = self.uobject.get_component_by_type(SkeletalMeshComponent) 12 | # get a reference to the animation class 13 | animation = skeletal.get_anim_instance() 14 | 15 | # set a variable 16 | animation.set_property('Speed', 17.0) 17 | 18 | # trigger a custom event 19 | animation.call('AttackWithSword') 20 | ``` 21 | -------------------------------------------------------------------------------- /docs/Audio_API.md: -------------------------------------------------------------------------------- 1 | # The Audio API 2 | 3 | The uobject.play_sound_at_location(sound, position[, volume_multiplier, pitch_multiplier, start_time]) api method is exposed: 4 | 5 | ```py 6 | # get a reference to asound 7 | sound = ue.find_object('my_sound') 8 | # play the sound at position 0,0,0 9 | self.uobject.play_sound_at_location(sound, FVector(0, 0, 0)) 10 | ``` 11 | 12 | If you prefer to work with AudioComponent: 13 | 14 | ```py 15 | from unreal_engine.classes import AudioComponent 16 | 17 | class Sounder: 18 | def begin_play(self): 19 | # find the AudioComponent of this actor 20 | self.audio = self.uobject.get_component_by_type(AudioComponent) 21 | self.audio.call('Stop') 22 | def tick(self, delta_time): 23 | # start the sound when pressing 'A' 24 | if self.uobject.is_input_key_down('A'): 25 | self.audio.call('Play') 26 | ``` 27 | -------------------------------------------------------------------------------- /docs/Graph_API.md: -------------------------------------------------------------------------------- 1 | Add a ForEachLoop Macro node 2 | - 3 | 4 | ```python 5 | import unreal_engine as ue 6 | from unreal_engine.classes import K2Node_MacroInstance, EdGraph 7 | from unreal_engine.structs import GraphReference 8 | 9 | # for_each_loop = ue.load_object(EdGraph, '/Engine/EditorBlueprintResources/StandardMacros.StandardMacros:ForEachLoop') 10 | for_each_loop = ue.find_object('ForEachLoop') 11 | 12 | # get a reference to your blueprint 13 | blueprint = ... 14 | 15 | # add the node 16 | node = blueprint.UberGraphPages[0].graph_add_node(K2Node_MacroInstance) 17 | # assign the macro graph to the node 18 | node.MacroGraphReference = GraphReference(MacroGraph=for_each_loop) 19 | # allocate pins 20 | node.node_allocate_default_pins() 21 | 22 | # update the blueprint 23 | ue.blueprint_mark_as_structurally_modified(bp) 24 | ``` 25 | -------------------------------------------------------------------------------- /docs/Timer_API.md: -------------------------------------------------------------------------------- 1 | # The Timer API 2 | 3 | A custom python class is exposed (unreal_engine.FTimerHandler) to support UE4 timers: 4 | 5 | ```py 6 | # create a timer 7 | timer = self.uobject.set_timer(frequency, callable[, loop, initial]) 8 | # clear a timer 9 | timer.clear() 10 | # pause a timer 11 | timer.pause() 12 | # unpause a timer 13 | timer.unpause() 14 | ``` 15 | -------------------------------------------------------------------------------- /docs/android_packaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/android_packaging.png -------------------------------------------------------------------------------- /docs/screenshots/slate_Nomad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_Nomad.png -------------------------------------------------------------------------------- /docs/screenshots/slate_OOP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_OOP.png -------------------------------------------------------------------------------- /docs/screenshots/slate_Padding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_Padding.png -------------------------------------------------------------------------------- /docs/screenshots/slate_Padding2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_Padding2.png -------------------------------------------------------------------------------- /docs/screenshots/slate_Padding3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_Padding3.png -------------------------------------------------------------------------------- /docs/screenshots/slate_Padding4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_Padding4.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SBorder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SBorder.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SButton.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SCheckBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SCheckBox.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SDetailView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SDetailView.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SEditableTextBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SEditableTextBox.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SGridPanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SGridPanel.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SHorizontalBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SHorizontalBox.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SHorizontalBox2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SHorizontalBox2.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SImage.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SObjectPropertyEntryBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SObjectPropertyEntryBox.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SPythonEditorViewport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SPythonEditorViewport.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SScrollBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SScrollBox.png -------------------------------------------------------------------------------- /docs/screenshots/slate_STextBlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_STextBlock.png -------------------------------------------------------------------------------- /docs/screenshots/slate_STextBlock_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_STextBlock_red.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SVerticalBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SVerticalBox.png -------------------------------------------------------------------------------- /docs/screenshots/slate_SWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_SWindow.png -------------------------------------------------------------------------------- /docs/screenshots/slate_Slot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/docs/screenshots/slate_Slot.png -------------------------------------------------------------------------------- /examples/MaterialExpressionStaticSwitch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/examples/MaterialExpressionStaticSwitch.png -------------------------------------------------------------------------------- /examples/add_instance_component.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine.classes import PawnSensingComponent 3 | 4 | actor = ue.editor_get_selected_actors()[0] 5 | component = actor.add_actor_component(PawnSensingComponent, 'Foo') 6 | actor.add_instance_component(component) 7 | actor.modify() 8 | -------------------------------------------------------------------------------- /examples/asset_editors.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | 3 | for _asset in ue.get_all_edited_assets(): 4 | editor = ue.find_editor_for_asset(_asset) 5 | print('{0} - {1}'.format(editor.get_editor_name(), editor.get_last_activation_time())) 6 | editor.focus_window() -------------------------------------------------------------------------------- /examples/asset_metadata_tag.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine.classes import EditorAssetLibrary 3 | 4 | asset = ue.get_selected_assets()[0] 5 | 6 | # reflection-based api 7 | EditorAssetLibrary.SetMetadataTag(asset, 'Foo', 'Bar') 8 | for value in EditorAssetLibrary.GetMetadataTagValues(asset): 9 | print(value) 10 | print(EditorAssetLibrary.GetMetadataTag(asset, 'Foo')) 11 | 12 | 13 | # native api 14 | asset.set_metadata_tag('Test001', 'Text002') 15 | asset.set_metadata_tag('Test003', 'Text004') 16 | for key in asset.metadata_tags(): 17 | print(key) 18 | print(asset.has_metadata_tag('Foo')) # bool 19 | print(asset.get_metadata_tag('Test001')) 20 | -------------------------------------------------------------------------------- /examples/edit_level_blueprint.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine.structs import EdGraphPinType 3 | 4 | world = ue.get_editor_world() 5 | level_bp = world.CurrentLevel.get_level_script_blueprint() 6 | pin = EdGraphPinType(PinCategory='string') 7 | ue.blueprint_add_member_variable(level_bp, 'TestString', pin) 8 | ue.open_editor_for_asset(level_bp) 9 | -------------------------------------------------------------------------------- /examples/fasset_data_thumbnails.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine import FARFilter 3 | 4 | _filter = FARFilter() 5 | _filter.class_names = ['StaticMesh'] 6 | 7 | # when passing True to the second argument of get_assets_by_filter(), you will get FAssetData instead of UObject 8 | for asset_data in ue.get_assets_by_filter(_filter, True): 9 | has_custom_thumbnail = asset_data.has_custom_thumbnail() 10 | has_cached_thumbnail = asset_data.has_cached_thumbnail() 11 | try: 12 | thumbnail = asset_data.get_thumbnail() 13 | except: 14 | thumbnail = None 15 | ue.log('Asset: {0} Loaded: {1} CustomThumbnail: {2} CachedThumbnail: {3} Thumbnail: {4}'.format(asset_data.object_path, asset_data.is_asset_loaded(), has_custom_thumbnail, has_cached_thumbnail, thumbnail)) -------------------------------------------------------------------------------- /examples/import_fbx_animations_from_dir.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | 3 | from unreal_engine.classes import PyFbxFactory, Skeleton 4 | from unreal_engine.enums import EFBXImportType 5 | 6 | import os 7 | 8 | base_directory = 'D:/Users/rober/Downloads/mixamo' 9 | 10 | # get a reference to the skeleton 11 | skeleton = ue.load_object(Skeleton, '/Game/run_Skeleton') 12 | 13 | factory = PyFbxFactory() 14 | factory.ImportUI.MeshTypeToImport = EFBXImportType.FBXIT_Animation 15 | factory.ImportUI.Skeleton = skeleton 16 | 17 | for item in os.listdir(base_directory): 18 | if item.endswith('.fbx'): 19 | animation = factory.factory_import_object(os.path.join(base_directory, item), '/Game/Mixamo002') -------------------------------------------------------------------------------- /examples/kdop.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine.structs import KAggregateGeom 3 | 4 | 5 | mesh = ue.get_selected_assets()[0] 6 | 7 | mesh.BodySetup.AggGeom = KAggregateGeom() 8 | 9 | mesh.static_mesh_generate_kdop26() 10 | mesh.static_mesh_generate_kdop18() 11 | mesh.static_mesh_generate_kdop10x() 12 | mesh.static_mesh_generate_kdop10y() 13 | mesh.static_mesh_generate_kdop10z() 14 | -------------------------------------------------------------------------------- /examples/mass_renamer.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine.classes import ParticleSystem 3 | 4 | for i in range(0, 10): 5 | # create a particle system 6 | particle_system = ParticleSystem() 7 | # give it a name 8 | particle_system.set_name('ParticleSystem{0}'.format(i)) 9 | # save it into a package 10 | particle_system.save_package('/Game/FunnyParticles/ParticlePackage{0}'.format(i)) 11 | 12 | 13 | # now ready for mass renaming !!! 14 | 15 | # each particle system will ends in a different folder (bur all of the particle system will have the same name) 16 | 17 | for i in range(0, 10): 18 | ue.rename_asset('/Game/FunnyParticles/ParticlePackage{0}.ParticleSystem{0}'.format(i), '/Game/MovedParticles/{0}'.format(i), 'RenamedParticle') 19 | -------------------------------------------------------------------------------- /examples/multi_in_editor_capture.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine.classes import AutomatedLevelSequenceCapture, World 3 | from unreal_engine.structs import SoftObjectPath 4 | 5 | level_sequence_mappings = { 6 | '/Game/SequenceForDefault001': '/Game/Default001', 7 | '/Game/SequenceForVR001': '/Game/VR001' 8 | } 9 | 10 | def setup_sequence(capture): 11 | ue.open_editor_for_asset(ue.load_object(World, level_sequence_mappings[capture.LevelSequenceAsset.AssetPathName])) 12 | 13 | captures = [] 14 | for sequence_asset in level_sequence_mappings: 15 | capture = AutomatedLevelSequenceCapture() 16 | capture.LevelSequenceAsset = SoftObjectPath(AssetPathName=sequence_asset) 17 | captures.append(capture) 18 | 19 | ue.in_editor_capture(captures, setup_sequence) 20 | -------------------------------------------------------------------------------- /examples/pie_screenshotter.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | import os 3 | import png 4 | 5 | # run play in the editor and execute this script (with ue.exec) from the python console 6 | 7 | width, height = ue.editor_get_pie_viewport_size() 8 | pixels = ue.editor_get_pie_viewport_screenshot() 9 | 10 | ue.log("{0} {1} {2}".format(width, height, len(pixels))) 11 | 12 | png_pixels = [] 13 | 14 | for y in range(0, height): 15 | line = [] 16 | for x in range(0, width): 17 | index = y * width + x 18 | pixel = pixels[index] 19 | line.append([pixel.r, pixel.g, pixel.b, pixel.a]) 20 | png_pixels.append(line) 21 | 22 | 23 | path = os.path.expanduser("~/Desktop/pie_screenshot.png") 24 | 25 | png.from_array(png_pixels, 'RGBA').save(path) 26 | -------------------------------------------------------------------------------- /examples/register_new_native_component.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine.classes import ActorComponent 3 | 4 | 5 | class FooComponent(ActorComponent): 6 | def __init__(self): 7 | ue.log('Ctor') 8 | 9 | def DoSomething(): 10 | ue.print_string('TEST !!!') 11 | 12 | FooComponent.set_metadata('BlueprintType', 'true') 13 | FooComponent.set_metadata('BlueprintSpawnableComponent', 'true') 14 | FooComponent.set_metadata('IsBlueprintBase', 'true') 15 | FooComponent.component_type_registry_invalidate_class() 16 | -------------------------------------------------------------------------------- /examples/rotate_texture.py: -------------------------------------------------------------------------------- 1 | from PIL import Image 2 | import unreal_engine as ue 3 | from unreal_engine.classes import Texture2D 4 | 5 | def rotate_selected_assets_data(degrees): 6 | for asset in ue.get_selected_assets(): 7 | if asset.is_a(Texture2D): 8 | data = asset.texture_get_source_data() 9 | 10 | size = (asset.texture_get_width(), asset.texture_get_height()) 11 | 12 | img = Image.frombytes('RGBA', size, bytes(data)) 13 | 14 | out = img.rotate(degrees) 15 | 16 | asset.texture_set_source_data(out.tobytes()) 17 | 18 | 19 | 20 | 21 | rotate_selected_assets_data(45) 22 | -------------------------------------------------------------------------------- /examples/slate_file_path_picker.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine import SFilePathPicker, SWindow, FLinearColor 3 | from unreal_engine.structs import ButtonStyle, SlateBrush, SlateColor 4 | 5 | # a style is required for the file picker 6 | style = ButtonStyle(Normal=SlateBrush(TintColor=SlateColor(SpecifiedColor=FLinearColor(1, 0, 0)))) 7 | 8 | 9 | window = SWindow(client_size=(576,576), title='Hello', modal=True) 10 | 11 | def path_picked(path): 12 | print(path) 13 | window.request_destroy() 14 | 15 | picker = SFilePathPicker(browse_title='Hello', browse_button_style=style, on_path_picked=path_picked) 16 | window.set_content(picker) 17 | 18 | window.add_modal() -------------------------------------------------------------------------------- /examples/slow_task.py: -------------------------------------------------------------------------------- 1 | from unreal_engine import FSlowTask 2 | import time 3 | 4 | # Create an FSlowTask object, defining the amount of work that 5 | # will be done, and the initial message. 6 | t = FSlowTask(10, "Doing Something") 7 | t.initialize() 8 | 9 | # Make the dialog, and include a Cancel button (default is not to 10 | # allow a cancel button). 11 | t.make_dialog(True) 12 | 13 | time.sleep(1) 14 | 15 | for i in range(10) : 16 | # Update the progress bar. Note that the first argument is the 17 | # amount of work to be done this frame, not the overall work 18 | # done so far. 19 | t.enter_progress_frame(1, "Progress Position : {}".format(i)) 20 | time.sleep(0.2) 21 | 22 | # If there was a cancel button included, we can check if it was 23 | # pressed. 24 | if t.received_user_cancel(): 25 | print("Cancelled") 26 | break 27 | 28 | t.destroy() 29 | -------------------------------------------------------------------------------- /examples/slow_task_with_progress_bar.py: -------------------------------------------------------------------------------- 1 | from unreal_engine import SWindow, SProgressBar, SButton, SVerticalBox 2 | import unreal_engine as ue 3 | 4 | 5 | progress_bar = SProgressBar() 6 | canceled = False 7 | 8 | def cancel_operation(): 9 | global canceled 10 | ue.log_warning('slow operation canceled') 11 | canceled = True 12 | 13 | SWindow(title='slow task', sizing_rule=1)( 14 | SVerticalBox() 15 | ( 16 | progress_bar 17 | ) 18 | ( 19 | SButton(text='cancel', on_clicked=cancel_operation) 20 | ) 21 | ) 22 | 23 | for i in range(0, 10000): 24 | progress_bar.set_percent(1/10000 * i) 25 | ue.log('slow task iteration: {0}'.format(i)) 26 | if canceled: 27 | break 28 | ue.slate_tick() 29 | -------------------------------------------------------------------------------- /examples/subclassing_simple_example.py: -------------------------------------------------------------------------------- 1 | from unreal_engine.classes import Character 2 | 3 | class Hero(Character): 4 | 5 | def __init__(self): 6 | self.CapsuleComponent.CapsuleRadius = 117 7 | self.CapsuleComponent.CapsuleHalfHeight = 200 8 | 9 | # BodyInstance is a USTRUCT (they are always passed as value) 10 | body_instance = self.CapsuleComponent.BodyInstance 11 | body_instance.CollisionProfileName = 'OverlapAll' 12 | self.CapsuleComponent.BodyInstance = body_instance 13 | 14 | self.CharacterMovement.GravityScale = 0.0 15 | 16 | def OnActorBeginOverlap(self, other_actor): 17 | print('overlapping with {0}'.format(other_actor)) 18 | -------------------------------------------------------------------------------- /examples/viewport_manager.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | 3 | for viewport_client in ue.all_viewport_clients(): 4 | print(viewport_client.get_world().get_name()) 5 | origin, size = viewport_client.get_viewport_dimensions() 6 | print(viewport_client.get_look_at_location()) 7 | print(viewport_client.get_view_location()) 8 | -------------------------------------------------------------------------------- /examples/world_folders_and_groups.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | from unreal_engine.classes import GroupActor 3 | 4 | import time 5 | 6 | world = ue.get_editor_world() 7 | group_actor = world.actor_spawn(GroupActor) 8 | 9 | for folder in world.world_folders(): 10 | print(folder) 11 | 12 | new_folder = 'FooBar_{}'.format(int(time.time())) 13 | 14 | world.world_create_folder(new_folder) 15 | 16 | world.world_rename_folder(new_folder, new_folder + '__hello') 17 | 18 | world.world_delete_folder(new_folder + '__hello') 19 | 20 | actor = ue.editor_get_selected_actors()[0] 21 | 22 | # folder tree will be automatically created 23 | actor.set_folder_path('Test1/Test2/Test3') 24 | 25 | # assign actors to the group 26 | group_actor.GroupActors = [actor] -------------------------------------------------------------------------------- /run_tests.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import unittest 3 | import unreal_engine as ue 4 | import os.path 5 | 6 | # ue.sandbox_exec(ue.find_plugin('UnrealEnginePython').get_base_dir() + '/run_tests.py') 7 | 8 | # setup classic stdout/stderr 9 | class UnrealEngineOutput: 10 | def __init__(self, logger): 11 | self.logger = logger 12 | def write(self, buf): 13 | self.logger(buf) 14 | def flush(self): 15 | return 16 | 17 | sys.stdout = UnrealEngineOutput(ue.log) 18 | sys.stderr = UnrealEngineOutput(ue.log_error) 19 | 20 | uep_base = ue.find_plugin('UnrealEnginePython').get_base_dir() 21 | 22 | loader = unittest.TestLoader() 23 | tests = loader.discover(os.path.join(uep_base, 'tests')) 24 | 25 | runner = unittest.runner.TextTestRunner() 26 | runner.run(tests) -------------------------------------------------------------------------------- /screenshots/python_editor_screenshot001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/screenshots/python_editor_screenshot001.png -------------------------------------------------------------------------------- /screenshots/unreal_screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/screenshots/unreal_screenshot1.png -------------------------------------------------------------------------------- /screenshots/unreal_screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/screenshots/unreal_screenshot2.png -------------------------------------------------------------------------------- /screenshots/unreal_screenshot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/screenshots/unreal_screenshot3.png -------------------------------------------------------------------------------- /screenshots/unreal_screenshot4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/screenshots/unreal_screenshot4.png -------------------------------------------------------------------------------- /screenshots/unreal_screenshot_PythonEditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/screenshots/unreal_screenshot_PythonEditor.png -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tests/__init__.py -------------------------------------------------------------------------------- /tests/test_clipboard.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | import unreal_engine as ue 3 | 4 | class TestClipboard(unittest.TestCase): 5 | 6 | def test_copy_and_paste(self): 7 | ue.clipboard_copy('Hello from python unit test') 8 | self.assertEqual(ue.clipboard_paste(), 'Hello from python unit test') 9 | 10 | def test_copy_and_paste_red_light(self): 11 | ue.clipboard_copy('Hello from red light test') 12 | self.assertNotEqual(ue.clipboard_paste(), 'Hello from python unit test') 13 | 14 | if __name__ == '__main__': 15 | unittest.main(exit=False) 16 | -------------------------------------------------------------------------------- /tests/test_plugin.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | import unreal_engine as ue 3 | 4 | class TestPlugin(unittest.TestCase): 5 | 6 | def test_find(self): 7 | uep = ue.find_plugin('UnrealEnginePython') 8 | self.assertEqual(uep.get_name(), 'UnrealEnginePython') 9 | 10 | def test_enabled(self): 11 | uep = ue.find_plugin('UnrealEnginePython') 12 | self.assertTrue(uep.is_enabled) 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tools/build_mac.sh: -------------------------------------------------------------------------------- 1 | UEP_ENABLE_UNITY_BUILD=1 mono "/Users/Shared/Epic Games/UE_4.19/Engine/Binaries/DotNET/UnrealBuildTool.exe" PyTest418 Development Mac -project="/Users/roberto/Documents/Unreal Projects/PyTest418/PyTest418.uproject" -editorrecompile 2 | -------------------------------------------------------------------------------- /tools/build_win64.py: -------------------------------------------------------------------------------- 1 | import os 2 | import subprocess 3 | import sys 4 | import time 5 | 6 | 7 | def msbuild(project, python_version): 8 | base_environ = os.environ 9 | base_environ.update({'PYTHONHOME': python_version}) 10 | vs = '"C:/Program Files (x86)/MSBuild/14.0/Bin/MSBuild.exe"' 11 | process = subprocess.Popen('{0} {1} /t:Rebuild /p:Configuration="Development Editor" /p:Platform=Win64'.format(vs, project), env=base_environ) 12 | while process.poll() is None: 13 | time.sleep(0.5) 14 | if process.returncode != 0: 15 | sys.exit(process.returncode) 16 | 17 | main_start = time.time() 18 | sln = sys.argv[1] 19 | python_version = sys.argv[2] 20 | 21 | print('\n\n***** building {0} for {1} *****\n\n'.format(sln, python_version)) 22 | sys.stdout.flush() 23 | msbuild(sln, python_version) 24 | 25 | main_end = time.time() 26 | print('build ready after {0} seconds'.format(main_end-main_start)) 27 | -------------------------------------------------------------------------------- /tools/release_check.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | import sys 3 | 4 | ue.log_warning('UnrealEnginePython build check: {0}/UE{1}.{2}'.format(sys.version, ue.ENGINE_MAJOR_VERSION, ue.ENGINE_MINOR_VERSION)) 5 | -------------------------------------------------------------------------------- /tutorials/AsyncIO_Assets/py_user_widget_designer.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/AsyncIO_Assets/py_user_widget_designer.PNG -------------------------------------------------------------------------------- /tutorials/AsyncIO_Assets/py_user_widget_graph.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/AsyncIO_Assets/py_user_widget_graph.PNG -------------------------------------------------------------------------------- /tutorials/AsyncIO_Assets/py_user_widget_level_blueprint.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/AsyncIO_Assets/py_user_widget_level_blueprint.PNG -------------------------------------------------------------------------------- /tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython.md: -------------------------------------------------------------------------------- 1 | # Face Recognition with OpenCV and UnrealEnginePython 2 | 3 | ## Setting up the project 4 | 5 | ## Adding Faces to the level 6 | 7 | ## Giving 'eyes' to the Mannequin 8 | 9 | ## Giving 'a brain' to the Mannequin 10 | 11 | ## Bonus track: using a webcam instead of static images 12 | -------------------------------------------------------------------------------- /tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/eyes_first.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | 3 | 4 | class Sight: 5 | 6 | def __init__(self): 7 | ue.log_warning('Hello i am __init__') 8 | self.timer = 1.0 9 | 10 | def begin_play(self): 11 | ue.log_warning('Hello i am begin_play') 12 | 13 | def tick(self, delta_time): 14 | self.timer -= delta_time 15 | if self.timer <= 0: 16 | ue.log_error('1 second elapsed !') 17 | self.timer = 1.0 -------------------------------------------------------------------------------- /tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/eyes_second.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | 3 | from unreal_engine.classes import SceneCaptureComponent2D 4 | from unreal_engine.enums import ESceneCaptureSource 5 | 6 | class Sight: 7 | 8 | def __init__(self): 9 | self.what_i_am_seeing = ue.create_transient_texture_render_target2d(512, 512) 10 | 11 | def pre_initialize_components(self): 12 | # add a new root component (a SceneCaptureComponent2D one) 13 | self.scene_capturer = self.uobject.add_actor_root_component(SceneCaptureComponent2D, 'Scene Capture') 14 | # use the previously created texture as the render target 15 | self.scene_capturer.TextureTarget = self.what_i_am_seeing 16 | # store pixels as linear colors (non HDR) 17 | self.scene_capturer.CaptureSource = ESceneCaptureSource.SCS_FinalColorLDR -------------------------------------------------------------------------------- /tutorials/FaceRecognitionWithOpenCVAndUnrealEnginePython_Assets/hud_first.py: -------------------------------------------------------------------------------- 1 | import unreal_engine as ue 2 | 3 | class FacesDetector: 4 | 5 | def __init__(self): 6 | self.texture_to_draw = None 7 | 8 | def draw_hud(self): 9 | # exit if we do not have enough data 10 | if not self.texture_to_draw: 11 | return 12 | 13 | # draw what the player pawn is seeing 14 | self.uobject.hud_draw_texture(self.texture_to_draw, 0, 0, 256, 256) -------------------------------------------------------------------------------- /tutorials/FixingMixamoRootMotionWithPython_Assets/animation_fixed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/FixingMixamoRootMotionWithPython_Assets/animation_fixed.png -------------------------------------------------------------------------------- /tutorials/FixingMixamoRootMotionWithPython_Assets/broken_run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/FixingMixamoRootMotionWithPython_Assets/broken_run.png -------------------------------------------------------------------------------- /tutorials/FixingMixamoRootMotionWithPython_Assets/default_skeleton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/FixingMixamoRootMotionWithPython_Assets/default_skeleton.png -------------------------------------------------------------------------------- /tutorials/FixingMixamoRootMotionWithPython_Assets/fixed_influences.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/FixingMixamoRootMotionWithPython_Assets/fixed_influences.png -------------------------------------------------------------------------------- /tutorials/FixingMixamoRootMotionWithPython_Assets/mixamo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/FixingMixamoRootMotionWithPython_Assets/mixamo.png -------------------------------------------------------------------------------- /tutorials/FixingMixamoRootMotionWithPython_Assets/no_influences.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/FixingMixamoRootMotionWithPython_Assets/no_influences.png -------------------------------------------------------------------------------- /tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/enable_plugin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/enable_plugin.png -------------------------------------------------------------------------------- /tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/graph_blueprint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/graph_blueprint.png -------------------------------------------------------------------------------- /tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/pip_install.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/pip_install.png -------------------------------------------------------------------------------- /tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/platforms_event_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/platforms_event_graph.png -------------------------------------------------------------------------------- /tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/platforms_notify_plotter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/platforms_notify_plotter.png -------------------------------------------------------------------------------- /tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/platforms_viewport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/platforms_viewport.png -------------------------------------------------------------------------------- /tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/play.png -------------------------------------------------------------------------------- /tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/texture_created.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/texture_created.png -------------------------------------------------------------------------------- /tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/third_person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/third_person.png -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/bezier.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/bezier.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/bone_tree.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/bone_tree.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/broken_pivot.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/broken_pivot.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/bvh.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/bvh.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/collada.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/collada.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/content_browser.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/content_browser.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/cube_skel.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/cube_skel.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/cube_skel_sections.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/cube_skel_sections.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/fixed_pivot.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/fixed_pivot.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/get_selected_assets.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/get_selected_assets.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/knight.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/knight.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/knight_morph.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/knight_morph.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mannequin.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mannequin.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mannequin_lods.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mannequin_lods.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mannequin_reskeleted.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mannequin_reskeleted.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/merged_skel.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/merged_skel.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mesh_bounds.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mesh_bounds.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mesh_merged.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/mesh_merged.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/morph_0_to_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/morph_0_to_1.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/morph_target.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/morph_target.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/python_exception.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/python_exception.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/renamed_bones.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/renamed_bones.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/root_motion.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/root_motion.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/skel_colors.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/skel_colors.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/sockets.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/sockets.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/static_meshes_to_merge.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/static_meshes_to_merge.PNG -------------------------------------------------------------------------------- /tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/vertex_color_material.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/vertex_color_material.PNG -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/Vampire_diffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/Vampire_diffuse.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/Vampire_emission.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/Vampire_emission.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/Vampire_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/Vampire_normal.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/Vampire_specular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/Vampire_specular.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/added_pycollada.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/added_pycollada.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/auto_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/auto_options.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/broken_vampire.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/broken_vampire.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/class_prototype.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/class_prototype.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/empty_mesh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/empty_mesh.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/first_import.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/first_import.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/import_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/import_options.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/multiple_runs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/multiple_runs.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/slate_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/slate_demo.png -------------------------------------------------------------------------------- /tutorials/WritingAColladaFactoryWithPython_Assets/the_duck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/WritingAColladaFactoryWithPython_Assets/the_duck.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/Kaiju_Assets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/Kaiju_Assets.zip -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/check_plugin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/check_plugin.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/first_script_console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/first_script_console.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/first_script_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/first_script_editor.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/python_console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/python_console.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/python_editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/python_editor.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/screenshot_window_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/screenshot_window_menu.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_anim_blueprint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_anim_blueprint.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_anim_blueprint_event_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_anim_blueprint_event_graph.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_anim_blueprint_with_nodes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_anim_blueprint_with_nodes.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_animations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_animations.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_blades_material.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_blades_material.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_blueprint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_blueprint.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_body_material.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_body_material.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_locomotion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_locomotion.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_materials.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_materials.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_mesh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_mesh.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_state_machine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_state_machine.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_state_machine_connections.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_state_machine_connections.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_state_machine_transitions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_state_machine_transitions.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_states.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_states.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_states_attack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_states_attack.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_states_bored.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_states_bored.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_states_locomotion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_states_locomotion.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_textures.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_textures.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_with_materials.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_with_materials.png -------------------------------------------------------------------------------- /tutorials/YourFirstAutomatedPipeline_Assets/slicer_without_materials.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getnamo/UnrealEnginePython/9a0878f7f3c1b34c0bc5c886ec14ad3356284b86/tutorials/YourFirstAutomatedPipeline_Assets/slicer_without_materials.png --------------------------------------------------------------------------------