mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
7a486cdddbb99d5ac127c31fde4a17fa6923c0b1
6 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f03d91a660 |
Replaced UE4 references in the Python documentation
#jira UE-104754 [CL 15043073 by Jamie Dale in ue5-main branch] |
||
|
|
4c1bb11c29 |
Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes #skipundocheck [CL 14551026 by Marc Audy in ue5-main branch] |
||
|
|
26c86de3f2 |
Fixed some issues that caused the unreal.py stub file to have syntax errors
We require this file to be error free in order to generate the Python API docs #jira UE-85176 [FYI] Robb.Surridge #rb Conan.Reis #lockdown Cristina.Riveron #rnx #ROBOMERGE-SOURCE: CL 10476637 in //UE4/Release-4.24/... #ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v595-10452236) [CL 10476638 by jamie dale in Main branch] |
||
|
|
57c677da93 |
Copying //UE4/Dev-Enterprise@4705006 to Dev-Main (//UE4/Dev-Main)
#rb none #lockdown Nick.Penwarden [CL 4705151 by Francis Hurteau in Main branch] |
||
|
|
2c10a50fe9 |
#jira UE-59031
Python API doc generation commandlet The command-line arguments sent to the UE4 Editor to run the PythonOnlineDocs commandlet looks like this for the UE4 Editor with the standard Engine API documented: -run=PythonOnlineDocs -NoShaderCompile -IncludeEngine -EnableAllPlugins -ExceptPlugins="MixedRealityCaptureFramework,Myo,Oodle,RenderDocPlugin,TesnorflowPlugin" Enterprise version of command-line: -run=PythonOnlineDocs -NoShaderCompile -IncludeEngine -IncludeEnterprise -EnableAllPlugins -ExceptPlugins="MixedRealityCaptureFramework,Myo,Oodle,RenderDocPlugin,TesnorflowPlugin" Additional info can be found here: Engine\Plugins\Experimental\PythonScriptPlugin\SphinxDocs\PythonAPI_docs_readme.txt Python API docs - changed generation to use PythonOnlineDocs commandlet - added filtering of Python API documentation to optionally remove or include: internal (NotForLicencees, NoRedist, CarefullyRedist, EpicInternal, and confidential platforms), project, enterprise, engine - added initial list of links to sections in index page - changed order of sections to be: modules, native types, structs, classes, enums, delegates - reduced introduction and pointed link to more extensive documentation done with WordPress site - added header to match existing documentation pages (from Robb Surridge) - removed Python doc generation settings from Python plugin settings - many other misc updates Engine commands - added -NoShaderCompile global command-line option - added UPackage version of FSourceCodeNavigation::FindModulePath() - added GetRestrictedSubdirectories() and IsRestrictedPath() to FPaths class #rb jamie.dale [FYI] robb.surridge #ROBOMERGE-SOURCE: CL 4182437 in //UE4/Release-4.20/... #ROBOMERGE-BOT: TEST (Release-4.20 -> Release-Staging-4.20) #ROBOMERGE-AUTHOR: conan.reis #ROBOMERGE-OWNER: james.hopkin [CL 4195437 by conan reis in Staging-4.20 branch] |
||
|
|
81bc574d4c |
Copying //UE4/Dev-Enterprise to //UE4/Dev-Main (Source: //UE4/Dev-Enterprise @ 4059031)
#lockdown Nick.Penwarden
#rb none
============================
MAJOR FEATURES & CHANGES
============================
Change 3974233 by Rex.Hill
Optimized BuildStaticMeshVertexAndIndexBuffers and TEdgeBuilder
Change 3974234 by Rex.Hill
Reduced number of calls to SaveRawMesh and LoadRawMesh
Change 3974235 by Rex.Hill
Optimized SaveRawMesh by pre-allocating buffer
Change 3981370 by Jamie.Dale
Added support for deprecated (renamed) classes, structs, enums, functions, and properties in Python
The glue code generation will now use the existing redirects system to build deprecated entries for old names. You can also specify deprecated names to the ScriptName and ScriptMethod meta-data values by adding extra semi-colon separated entries (the first entry is the current name).
Accessing deprecated objects in Python leads to a deprecation warning when developer mode is enabled.
Change 3983875 by Jamie.Dale
Exposed some asset registry functions that may be useful in a commandlet environment
Change 3983901 by Jamie.Dale
Hoisted some AssetData helpers onto the struct in Python
Change 3988367 by Jamie.Dale
Python now honors EditInstanceOnly and EditDefaultsOnly when setting property values
Change 3988369 by Jamie.Dale
Exposed generic get_default_object function that takes a type and returns you the CDO
This is needed for types that aren't natively exposed to Python (such as Blueprint generated types)
Change 3989890 by Jamie.Dale
Moved BlutilityActor to be Private in EditorScriptingUtils
This can be removed once it's no longer needed.
Change 3989900 by Jamie.Dale
Updated EditorScriptingUtilities to use the Public/Private folder structure for source code
Change 3990082 by Anousack.Kitisa
Added plugin for Shotgun integration in Unreal.
#jira UEENT-959
Change 3990783 by Anousack.Kitisa
Changed ShotgunMenuItem to a struct.
Change 3991139 by Jamie.Dale
Minimized use of GUnrealEd (favoring GEditor) so that this code can be used by commandlets
Removed redundant usages of GEditor/GUnrealEd from within UEditorEngine itself, and fixed cases where null data was being accessed. Testing that loading, saving, and creating a new blank map will now work in a commandlet without crashing.
Change 3993189 by Jamie.Dale
Fixed some mismatched return types
Change 3993191 by Jamie.Dale
Inital support for taking the GIL at key points where external C code calls into Python
Change 3993683 by Patrick.Boutot
[LTC]
Add a CustomTimeStep that decode a LinearTimecode from the MediaSource. The MediaPlayer need to support buffering and should not run late since it's used to tick the engine time.
Update DropTimecode to use the new Timecode structure in TimeManagement.
Change 3994430 by Jamie.Dale
Adjusted how inline structs work so that types known at compile time can inline allocate without being fully hand-wrapped in Python
They must now be registered via FPyWrapperTypeRegistry::RegisterInlineStructFactory before we start generating wrapped types
Change 3996083 by Jamie.Dale
Added a distinct type for generated enum types so that you can query their available enum entries
Change 3998253 by conan.reis
Remove redundant Perforce error output from the log
Change 4000307 by JeanMichel.Dignard
Optimized FFbxImporter::ValidateAllMeshesAreReferenceByNodeAttribute()
- Stored all scene nodes geometry ids in a set instead of looping on all scene nodes for every geometry. O(N) instead of O(N^2).
- For 38685 scene nodes and 5417 geometry, the time went from 2 min 21.688 s to 0 min 0.098 s.
Change 4000605 by Jamie.Dale
Added support for constant "hoisting"
This allows you to tag a helper function that returns a constant with ScriptConstant meta-data (providing a potentially overridden name) to "hoist" that helper function to be a constant of the type it operates on when wrapped for Python (ScriptConstantHost can be used to host the constant on a struct rather than its own object).
Change 4001617 by Jamie.Dale
Updated ScriptMethod and ScriptConstant to allow hoisting onto other classes as well as structs
This allows you to have a runtime class be extended via methods in an editor-only module
Change 4005287 by Jamie.Dale
Added a GIL lock when Slate Tick events call back into Python
Change 4005383 by Andrew.Rodham
Sequencer: Initial scripting exposure and support
First pass includes the following:
- Find/add/interate master tracks
- Find/add/interate bindings (both possessables and spawnables)
- Find/add/interate tracks on bindings
- Add/interate sections on tracks
- Get/Set section ranges
Change 4008609 by Jamie.Dale
Added some missing native Python types to the documentation
Native modules now build up a list of types and functions associated with them. This information is then passed through to the document generation to ensure that all exposed native types and functions are documented.
In addition, any native Python module files are now assimilated into the unreal.py stub file and parsed so that they can be documented too.
Change 4008654 by Jamie.Dale
Allow math operators to use the base type versions unless overridden
Change 4009740 by Patrick.Boutot
Add BP function to convert a Timecode into a string.
Change 4009763 by Patrick.Boutot
Update AudioCapture to retreive the SampleRate. Used by the LinearTimecode. Change the requested format from int16 to float since we converted it into that format later on.
Change 4009768 by Andrew.Rodham
Removed explicit names from ScriptName methods, expanded sequencer scripting range functionality
Change 4009830 by Jamie.Dale
Added support for UPARAM(ref) on arguments exposed to Python
For standard functions, this just produces an input and output for the same argument (we can't mutate the input due to potential coercion).
For ScriptMethod functions that use it on the 'self' argument, this will mark the function as "inline" and have the function apply the result of the 'self' argument back onto the 'self' instance after calling the function.
Change 4010034 by Jamie.Dale
Added support for init_unreal.py start-up scripts
These can be placed in any known sys.path in Python, including the Content/Python folders we automatically add, and the UnrealEngine/Python directory under the users home directory.
Change 4010422 by Jamie.Dale
Improved errror reporting during Python generation
It will now ensure if a debugger is attached to draw programmer attention to an error.
Change 4010498 by Patrick.Boutot
Remove unnecessary loop Timecode.ToFrameNumber()
Change 4011312 by Jamie.Dale
Duplicate deprecated names will no longer assert during Python glue generation
They will now log a warning and continue
Change 4012068 by JeanMichel.Dignard
Allow to render thumbnails for newly created packages.
- To render a thumbnail, you either need a customer thumbnail renderer or a cached thumbnail. Querying cached thumbnails fails for newly created packages because it calls DoesPackageExist which check on disk. This call is unnecessary since we're relying on FindPackage which only works for packages that are loaded in memory.
Change 4013781 by Jamie.Dale
FFrame::KismetExecutionMessage (or LogRuntimeError or LogRuntimeWarning) will now produce Python exceptions
You can use these to emit warnings or errors from UFunctions wrapped for scripting, and when called from Python they will produce a Python exception (for errors), or Python warning (for warnings).
Change 4014337 by Jamie.Dale
Struct coercion now errors if you provide a sequence with too many elements
This also makes sure that PyConversion doesn't set an error state if ESetErrorState::No is passed (which could have previously happened from type casting calls).
Change 4015290 by Andrew.Rodham
Sequencer: Moved runtime functionality from ISequencerChannelInterface to IMovieSceneChannelInterface
- Rename IBatchChannelInterface to IMovieSceneChannelInterface
- Removed MovieScene::Dilate()
- Added TMovieSceneChannelTraits::SupportsDefaults to automatically stub out functions relating to channel defaults
Change 4015664 by Jamie.Dale
Renamed ScriptMathOp meta-data to ScriptOperator
Change 4016230 by Jamie.Dale
Fixed incorrect make/break path in Importance Sampling Library (for Importance Texture)
Change 4017326 by Jamie.Dale
Added make and break support in Python
Structs that have a native make function will now use this as their constructor. This also adds support for breaking a struct into a tuple, either via a native break function, or via generic property enumeration.
Change 4017551 by Jamie.Dale
Removed redundant outer parameter from find/load_asset/package
Change 4018594 by Jamie.Dale
Added ScriptMethodSelfReturn as an alternative to UPARAM(ref)
These two function signatures produce the same behavior and have the same cost in Python, the only difference is how they appear to Blueprints (and Blueprints seem to favor non-reference functions).
UFUNCTION(..., meta=(ScriptMethod))
static void DoThing(UPARAM(ref) FThingType&, int32);
UFUNCTION(..., meta=(ScriptMethod, ScriptMethodSelfReturn))
static FThingType DoThing(FThingType, int32);
Change 4020956 by Anousack.Kitisa
Added Shotgun to the Level Editor/World Outliner and Content Browser context menus when there's a selected actor or asset.
#jira UEENT-1219
Change 4021986 by Anousack.Kitisa
Used the Python startup scripts mechanism to launch the Shotgun bootstrap script.
Related to Jira UE-57896.
Change 4022993 by Jamie.Dale
Added support for extra operators on Python structs
You can now expose bool conversion and comparison operators (==, !=, <, <=, >, >=) in addition to the previous set of math operators. As part of this there is now stricter signature validation when generating the Python binding.
Change 4023226 by Jamie.Dale
Added Make and Break function for FSoftClassPath
Change 4023348 by Jamie.Dale
Exposed some methods and operators for PrimaryAssetId and PrimaryAssetType
Change 4027911 by Jamie.Dale
Cross-outer redirects are no longer applied in Python
#jira UETOOL-1382
Change 4029618 by JeanMichel.Dignard
Unreal Studio UX
- Made "Unreal Studio" the default tab in the new project wizard if we're using an installed enterprise build.
- Create new projects as enterprise projects if we're using an insalled enterprise build.
#jira UEENT-1231, UEENT-796
Change 4030217 by Jamie.Dale
Exposed ScopedSlowTask to Python
#jira UETOOL-1375
Change 4030784 by Matt.Hoffman
Sequencer curve editor now shows vertical axis labels.
#jira UE-58160
Change 4030858 by JeanLuc.Corenthin
Expose LOD creation thru Python:
- Create one struct to hold onto reduction settings per LOD
- Create one struct to hold onto an array of reduction settings and a parameter to enable of disable automatic computation of screen size
- Create new method to apply reduction settings to an array of StaticMeshActors
#jira UEENT-1232
Change 4032239 by Jamie.Dale
Cleanup pass over wrapped structs
- Code dealing with reflected structs now uses UScriptStruct rather than UStruct.
- The old PyConversion::NativizeStruct and PyConversion::PythonizeStruct have been renamed to PyConversion::NativizeStructInstance and PyConversion::PythonizeStructInstance.
- New PyConversion::NativizeStruct and PyConversion::PythonizeStruct functions have been added to convert an object (or Python type) to a UScriptStruct (akin to what PyConversion::NativizeClass and PyConversion::PythonizeClass does for UClass).
Change 4032247 by Jamie.Dale
Cleaned up some Python slow task code
Change 4032251 by Jamie.Dale
Added functions to get the Python type associated with an Unreal class, struct, or enum
Change 4032258 by Jamie.Dale
Added Python iterators for Unreal objects, classes, and structs, as well as the Python types wrapped by Unreal classes or structs
#jira UETOOL-1380
Change 4032320 by Jamie.Dale
Fixed Python object iterators skipping their first item
Change 4032321 by Jamie.Dale
Added Python iterators for actors and selected actors
#jira UETOOL-1380
Change 4033908 by Anousack.Kitisa
Added Shotgun settings for metadata tags.
#jira UEENT-1175
Change 4033909 by Anousack.Kitisa
Added wrapper function to sync Content Browser to assets for scripting.
#jira UEENT-1218
Change 4034951 by Matt.Hoffman
Media Tracks now highlight when added to a Sequence/UMG animation.
Change 4034966 by Jamie.Dale
Added GIL locks around post_init code that can be called from C++
Change 4035019 by Matt.Hoffman
UMG Render Transforms + Margins now support infinite sections.
Change 4035470 by Andrew.Rodham
Introduced a common base class for all movie scene channel data, FMovieSceneChannel.
Removed IMovieSceneChannelInterface.
Renamed FMovieSceneChannelEditorData to FMovieSceneChannelMetaData.
Renamed FMovieSceneChannel and TMovieSceneChannel to FMovieSceneChannelData and TMovieSceneChannelData, to make way for common channel base class.
Renamed instances of 'specialized' channel editor data to 'extended' channel editor data.
Introduced non-templated FMovieSceneChannelHandle and a templated version. Changed internal implementation to use a lookup rather than a directly resolved weak ptr.
Various pieces of documentation and cleanup.
Change 4037112 by Max.Chen
Sequencer: Added some missing RF_Transactional flags to newly created sections.
Change 4037121 by Max.Chen
Sequence Recorder: Timecode recording
Introduced an FSourceTimecode which is saved as editor only data to the MovieSceneSection and MovieScene. FSourceTimecode consists of an FFrameNumber delta that correlates the section's initial start time to an FTimecode. The FFrameNumber is adjusted whenever the section is moved.
One use case for this is through sequence recorder, which captures the timecode at the start of recording and saves an FSourceTimecode per movie scene section it creates. If the section is moved, it can always be returned to its source timecode by the section's right click menu, "Sync to Source Timecode".
#jira UESEQ-406
Change 4038462 by Jamie.Dale
Added support for using Python callables with delegates
All the "x_function" methods on delegates and multicast delegates now have an "x_callable" equivalent that take a Python callable (we attempt basic validation of the signature, but that only allows us to check the input argument count is what we expect).
Internally the callable is wrapped in a UObject, so certain GC restrictions are present (and is why coercion is disabled for callables). Delegates wrapped in Python (including as a direct property of an object or struct, or inside a container) will be kept alive via the Python reference collection, however once there are no Python references left the proxy object will be allowed to die unless something external has taken a reference to the proxy object.
Change 4039123 by James.McNatton
Remove dependency on SteamController in VirtualCamera #rb none
Change 4039162 by Jamie.Dale
Fixed linter warnings about unescaped backslashes in docstrings
Change 4039170 by Jamie.Dale
No longer expose deprecated functions or properties if they clash with another Python exposed item
Change 4039429 by Max.Chen
Sequence Recorder: Swap to editor actors on end PIE if the actors to record were set to the PIE actors
Change
|