Files
UnrealEngineUWP/Engine/Documentation/Extras/ConsoleHelpTemplate.html
Matt Kuhlenschmidt f9e0e6bded Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3566944)
#lockdown Nick.Penwarden
#rb none
============================
  MAJOR FEATURES & CHANGES
============================

Change 3363699 by Mike.Fricker

	VR Editor: Improved extensibility (for mesh editor)
	- This was merged from CL 3352612 and re-opened for edit before commit
	- All mesh editor changes were stripped before merging

Change 3499858 by Matt.Kuhlenschmidt

	PR #3673: Fixed UE-36416 (Contributed by DarkSlot)


Change 3499872 by Matt.Kuhlenschmidt

	PR #3682: Details view - matrix button visibility toggle and crash fix (Contributed by kamrann)


Change 3499873 by Matt.Kuhlenschmidt

	Hide property matrix button from settings editor.  For the combined settings objects view this produces nonsensical results and the property matrix is for bulk editing which settings are not designed for.

Change 3501154 by Arciel.Rekman

	Fix incorrect RPATH.

	- Fixed LinuxToolChain to use FileItem instead of strings.
	- Fixed string-based Utils.MakePathRelativeTo - workaround for an old Mono bug was causing invalid "correction" of the relative path, triggered by the fact that path "Foo/Bar/../Baz" was not considered equal to "Foo/Baz". Instead of removing the workaround altogether, added a better comparison.

Change 3501337 by Arciel.Rekman

	Better fix for RPATH.

	- Ben Marsh's suggestion.

Change 3502572 by Matt.Kuhlenschmidt

	PR #3693: Because "becuase" is spelled because (Contributed by getnamo)


Change 3502731 by Matt.Kuhlenschmidt

	Guard against empty warning toasts

	#jira UE-46285

Change 3502788 by Matt.Kuhlenschmidt

	Avoid shutting down the editor during loads and slow tasks if a windows close message comes in during this time

Change 3503027 by Michael.Dupuis

	Optimized UpdateLayerUsageInformation

Change 3503299 by Michael.Dupuis

	Fixed crash when having no layer info object

Change 3504529 by Yannick.Lange

	Use UWorld instead of FWorldContext for EditorWorldExtensions, since we don't use it.

Change 3504550 by Jamie.Dale

	Fixed/Improved DnD validation between Content Browsers

	Dragging assets between Content Browsers now goes through the same common DnD code (DragDropHandler) as dragging assets between the SPathView and SAssetView, and between items within an SAssetView. This also improves the validation of asset/file drops to prevent you dropping assets/files into class paths.

	#jira UE-45857

Change 3505369 by Alexis.Matte

	Make sure undo/redo transactions works for all fbx dialog options.
	#jira UE-43465
	#jira UE-43569

Change 3505500 by Matt.Kuhlenschmidt

	Fix child usd meshes not importing properly.

Change 3505645 by Arciel.Rekman

	Add USD support on Linux (UE-45383).

	#jira UE-45383

Change 3505658 by Arciel.Rekman

	USD: add CMake toolchain file I missed.

Change 3506796 by Yannick.Lange

	Fix EditorWorldExtensionCollection using TWeakObjectPtr for UWorlds instead of UPROPERTY

Change 3508082 by Alexis.Matte

	Make sure the fbx re-import editor preference "show option dialog at reimport" is working when re-importing an animation sequence.

Change 3508855 by Max.Chen

	Add CanFindInContentBrowser to AssetEditorToolkit.

	False for LevelSequenceEditorToolkit so that sequencer doesn't take over Find In Content Browser and show only the sequencer asset.

	#jira UE-46241

Change 3509282 by Bradut.Palas

	#jira UE-45337

	Removed check for Actor->GetWorld() against GWorld because the latter would switch between editor world and PIE world during a tick, causing the widget to not update properly.
	Since  the Actor would always point to the PIE world, the check was no longer needed.

Change 3509298 by Nick.Darnell

	Slate - Now has better support for analog navigation, the NavigationConfig is now created per user, and has the ability to deal with repeats and can handle navigation better by waiting until the user has moved enough to intend a direction to move.

Change 3509313 by Bradut.Palas

	#jira UE-44630

	As the bug description says, the Undo History was not refreshing correctly because an undo coupled with an action would result in the same number of transactions as the previous tick. Now we also check the variation of undo actions count in order to refresh the list.

Change 3509318 by Bradut.Palas

	#jira UE-1406

	To fix the issue we simply close the Consolidate window if ListViewItems is empty.


Change 3509402 by Nick.Darnell

	PR #3703: UE-46362: Fixing typo in EUMGSequencePlayMode.PingPong comment (Contributed by gsfreema)


Change 3510447 by Arciel.Rekman

	ReplayProxy: changed protected to private.

Change 3510467 by Max.Chen

	Property Editor: Disable color widget when editing is disabled.

	#jira UE-46331

Change 3511249 by Matt.Kuhlenschmidt

	PR #3715: Turn off the automatic expiration of the restore assets notification (Contributed by IHappyDayI)


Change 3511286 by Matt.Kuhlenschmidt

	Added ability to set properties from USD attributes when using scene import to import USD files.  See

	UsdPropTestScene.usda for an example file of how this works

Change 3511528 by Cody.Albert

	Updated FMoviePlayerWidgetRenderer to use Slate time instea of application time

Change 3512149 by Matt.Kuhlenschmidt

	Dont save non-dirty built data when playing PIE in a standalone process

	#jira UE-46422

Change 3512259 by Matt.Kuhlenschmidt

	Fix static analysis

Change 3512291 by Matt.Kuhlenschmidt

	PR #3719: Updating UEditorEngine::ReplaceActors to not copy array of actors (Contributed by gsfreema)


Change 3512911 by Matt.Kuhlenschmidt

	Fixed USD property setting crashing if the usd file contained an array with 0 elements.
	Fixed USD property setting creating invalid tmaps if the usd file contained a key that already existed

Change 3513725 by Matt.Kuhlenschmidt

	PR #3726: Copy/paste fix for SAdvancedDropdownRow::Construct() (Contributed by jovisgCL)


Change 3514453 by Jamie.Dale

	Added a way to set the UEnum used by a UEnumProperty after using the default constructor

	This will assert if called on an instance that has already been initialized

Change 3514858 by Alexis.Matte

	Fix crash when importing animation and choosing a different value for option "Import Meshes In Bone Hierarchy" then the value use to import the skeletal mesh. In some case there is no skinned mesh.

Change 3514875 by Matt.Kuhlenschmidt

	PR #3721: Fixed. Screen Message was showed always when screenshot is captured(F9) (Contributed by shuaiharry)


Change 3515859 by Bradut.Palas

	#jira UE-46516

	The RenameTextBox didn't handle the OnTextCommitted event (which can be triggered when pressing Enter in the box). Now it does.

Change 3515998 by Jamie.Dale

	Adding missing ) to some log messages

Change 3517681 by Matt.Kuhlenschmidt

	Fix automated import not applying any texure settings to imported textures

Change 3517703 by Nick.Darnell

	Slate - Marking SWidget's destructor as virtual (it always has been because of the parent), but this makes it more obvious.

Change 3517737 by Nick.Darnell

	Slate - The retainer widget now only knows how to store the images in gamma space, rather than rendering in linear and storing using sRGB writes.  If you do it that way - you end up in a state of having premultiplied linear space stored in sRGB, and getting that back into a state that looks correct when you finally render it with the rest of Slate becomes very difficult, so to make things simpler

Change 3517758 by Nick.Darnell

	UMG - Updating the retainer box categories and visibility.

Change 3517795 by Nick.Darnell

	Slate - We now don't do inherited volatility if we're also caching.

Change 3517861 by Matt.Kuhlenschmidt

	Update windows USD to .75

Change 3517867 by Matt.Kuhlenschmidt

	Delete OpenEXR from USD dependencies.  It is no longer used

Change 3517873 by Matt.Kuhlenschmidt

	Updated USD windows binaries

Change 3517896 by Max.Chen

	Sequencer: Call SkyLightComponent's SetLightColor() directly, similar to LightComponent

	#jira UE-46669

Change 3518240 by Max.Chen

	Sequencer: Set needs update when binding.

	#jira UE-46619

Change 3518492 by Max.Chen

	Sequencer: If already at the correct play position, don't jump to it. This fixes a bug where if you play to a position and pause, resuming play will playforward and not keep pausing.

	#jira UE-45996, UE-45997

Change 3518997 by Max.Chen

	Fbx: Fix aperture width, height, focal length and field of view calculations.

	#jira UE-46754

Change 3520190 by Jamie.Dale

	Cleaned up SCC log spam when finding out-of-date dependencies

Change 3520237 by Yannick.Lange

	VR Editor: cleanup auto entry. Removed TimeSinceHMDChecked and added extra check for if there is currently a vr mode active.

Change 3520923 by Max.Chen

	Sequencer: Refactor displaying sequencer settings in editor so that they're always available and not only when the sequencer type is instantiated.

	#jira UE-46301

Change 3521212 by Matt.Kuhlenschmidt

	PR #3757: MAX_NAME_LENGHT -> MAX_NAME_LENGTH (Contributed by Josef-CL)


	#jira UE-46821

Change 3521216 by Matt.Kuhlenschmidt

	PR #3751: Spelling fix for ESlateVisibility comment (Contributed by Triplelexx)


	#jira UE-46810

Change 3521221 by Matt.Kuhlenschmidt

	PR #3733: UE-46683: Don't increment MovieIndex when playing next movie (Contributed by projectgheist)


	#jira UE-46683,UE-46714

Change 3521344 by Yannick.Lange

	Fix selection tools in the Levels editor window. After selecting all levels SWorldHierarchyImpl::OnUpdateSelection used GetSelectedTreeItems(). At that point the tree items were not updated yet and it would return the 'previous' items. Making it look like nothing happened. Instead WorldModel->GetSelectedLevels() had to be used to get the new list of selected levels (this was used in 4.16) and then convert the list of FLevelModel to the new system that uses WorldHierarchy::FWorldTreeItemID.
	#jira UE-46741

Change 3521825 by Joe.Graf

	#Xb1

	Added missing VectorSetFloat1 by copying the one in UnrealMathSSE.h

	#CodeReview: ben.woodhouse

Change 3522114 by Joe.Graf

	#Xb1

	Changed the missing VectorSetFloat1 to use MakeRegisterVector to be more consistent with other Xbox defines per Ben's code review

	#CodeReview: ben.woodhouse

Change 3524202 by Matt.Kuhlenschmidt

	Prevent resizing when a context menu is open.  This prevents a number of rare crashes when a window is resized when a child menu is open causing the child to lose connection to the parent (happens when the parent widgets are clipped and no longer processed).  This is consistent with behavior on windows and mac.

	#jira UE-46653

Change 3524263 by Bradut.Palas

	#jira UE-46671

	The issue happened because a parent callback of OnAssetRenameCommitted would allow an implicit sync and it would reset the search. Solved by blocking the parent callback if the user is searching.

Change 3524265 by Bradut.Palas

	#jira UE-46261

	Console command was doing something illegal. Opening a map from editor when multiprocess and client mode were enabled is prohibited by code in Playlevel.cpp (( !CanRunUnderOneProcess && PlayNetMode == EPlayNetMode::PIE_Client ))
	Solved by banning that specific use of the command.

Change 3524266 by Bradut.Palas

	#jira UE-45592

	The bug was caused by an iteration in EndPlayMap() that re-selected all previous actors but without the notify flag (hence, not triggering the code that validated showing the transform widget). Fixed by notifying just once per group, for performance reasons.

Change 3524585 by Bradut.Palas

	Back out changelist 3524265 until I can figure out why the build system doesn't like it.

Change 3525921 by Bradut.Palas

	Resubmitting revision 3524265 with properly guarded editor code (#if WITH_EDITOR)

Change 3526124 by Matt.Kuhlenschmidt

	Remvoe debug canvas proxy

Change 3526139 by Matt.Kuhlenschmidt

	Force low quality fallback mode on ES2 devices for slate blur widgets. This feature does not work on es2

Change 3526663 by Cody.Albert

	Fixed sequencer bindings to correctly work on streamed level in standalone preview mode

Change 3527028 by Cody.Albert

	Back out changelist 3526663

Change 3527241 by Cody.Albert

	Fixed sequencer bindings to correctly work on streamed level in standalone preview mode

Change 3527829 by Max.Chen

	Fbx: Add static transform values to curve data import.

	#jira UE-46888

Change 3527830 by Max.Chen

	Sequencer: Import static/default transforms and camera focal lengths from fbx.

	#jira UE-46888

Change 3528768 by Matt.Kuhlenschmidt

	Refactor of GetDetailsView method on IDetalLayoutBuilder for some upcoming changes.  There is no longer a guarantee that a physical details panel is present wwhen customizing a property so GetDetailsView now returns a pointer and will be null if no details view exists.  This refactor is necessary for a change to allow us to make loose property widgets for use outside of a details view.

Change 3528776 by Yannick.Lange

	Allow thumbnails to be captured from a viewport always.

	#jira UE-45392

Change 3530675 by Michael.Dupuis

	#jira UE-46913	: Added extra validation to prevent possible crash

Change 3530991 by Matt.Kuhlenschmidt

	Added ability for users to specifiy usd plugins for the USD importer

Change 3531110 by Matt.Kuhlenschmidt

	Added automated import support for USD.
	Automated import now also supports loading a level per import group so that factories may spawn actors and manipulate the level

Change 3531119 by Matt.Kuhlenschmidt

	USD Scene import now uses actor factories to determine the correct actor type to spawn for an asset specified in USD

Change 3531220 by Jamie.Dale

	Fixed some places that were iterating over sets/maps using their element indices as if they were the sparse indices

Change 3531831 by Cody.Albert

	BP nodes can no longer be renamed on read-only graphs.

Change 3531938 by Yannick.Lange

	Enable setting justification at runtime for multi-line text boxes.
	#jira UE-44801

Change 3533011 by Matt.Kuhlenschmidt

	Exporting render targets now chooses PNG if the render target format is an LDR format

Change 3533370 by Arciel.Rekman

	Fix comparison of the RT format.

Change 3533717 by Nick.Darnell

	Slate - Adding justification to SEditableText and SpinBox, also adding the field for UMG.

Change 3534756 by Arciel.Rekman

	Linux: add path to bundled GL headers.

	- Seems like we have been implicitly relying on it being added someplace else or simply present in the system.
	- Change by Cengiz.Terzibas

Change 3535421 by Arciel.Rekman

	Reduce SCW logspam on Linux (UE-46634)

	#jira UE-46634

Change 3537520 by Matt.Kuhlenschmidt

	PR #3780: Fix typo steam to stream (Contributed by YuchenMei)


Change 3537539 by Nick.Darnell

	UMG - Fixing a bug with aspect ratio locking cameras when in HDPI mode, the spaces were slightly different.  Moving over the code that calculates the offsets to function in normalized space, so that it's trivial to combine with the existing normalized viewport dimensions and offset information, without space confusion.

Change 3537542 by Nick.Darnell

	UMG - Fixing some bugs with the retainer widget which was not properly resetting or registering the hit testing information when rendered every frame.  This should fix some issues that have been seen with clicks locking the viewport rendering, or not being clickable.

Change 3537596 by Alexis.Matte

	Fbx SDK 2018.1.1 Integration

	#jira UE-45070

Change 3537672 by Matt.Kuhlenschmidt

	Simple fix for seconds of time being spent refreshing the settings editor if commands are registered while it is open.  The request to refresh is deferred until next tick, meaning that each command list registered in a frame is not refreshing the details panel.

Change 3537796 by Alexis.Matte

	Make sure all general settings are persist when we re-import a staticmesh from fbx file.
	#jira UE-46829

Change 3537961 by Michael.Dupuis

	#jira UE-47222: Prevent possible crash in some bad drag & drop case

Change 3538149 by Alexis.Matte

	Make sure we export NTB information instead of just the normal when exporting to fbx
	#jira UE-46785

Change 3538237 by Alexis.Matte

	Fix import of large fbx scene (over 2 Gb) pr #3784
	#jira UE-47124

Change 3538270 by Lauren.Ridge

	Epic Friday: Preview scenes in material editors

Change 3539707 by Yannick.Lange

	Optimize viewport interactor hitresult for laser. Store the first hitresult and use that when calling UViewportInteractor::GetHitResultFromLaserPointer multiple times a frame.

Change 3539964 by Lauren.Ridge

	Fix for cubemap not persisting between loads

Change 3540321 by Arciel.Rekman

	Linux: CEF rebuilt with fewer dependencies (UE-46433).

	- Removed source-only binary to save size (we can link to the runtime one, this also allows RPATH to be generated automatically).
	- Change by Cengiz.Terzibas, polished by RCL.

Change 3540458 by Alexis.Matte

	Fix the HDR pixel inspector. The HDR value is now RGBA in editor viewport and RGB in Game mode.
	#jira UE-47199

Change 3540681 by Arciel.Rekman

	Linux: fix flickering (UE-46351) - redoing fix from 4.17

	- Slate rendering policy can set a scissor rect equal to a (smaller) window, which would get inherited by the scene renderer later.

	#jira UE-46351

	(Redoing the fix from CL 3538578 in 4.17).

Change 3540838 by Matt.Kuhlenschmidt

	Fix locked actors still being moved by piloting them

Change 3542212 by Nick.Darnell

	Slate - Fixing a crash with per character wrapping.  When used in rich text fields, it can cause a crash due to negative lengths for measurements, due to the way we calculate start and end indexes.  New code now ensures the End is always >= to the Start.

Change 3544033 by Arciel.Rekman

	Drop and deprecate /-prefixed commandline switches.

	- Dropped on all platforms except Windows, where it will produce a warning. Complete drop is expected in 4.19.

Change 3544213 by Nick.Darnell

	Slate - Fixing another potential crash with the slate loading thread.  The default movie player was listening for map load finishing using the AddSP callaback, which means the weakptr would be accessed, switching these over to AddRaws to be safer.

Change 3546113 by Nick.Darnell

	Slate - Resurecting the slate visualizer support in the slate renderer for batch visualization, and overdraw.

Change 3547129 by Michael.Trepka

	Few small changes that make UnrealBuildTool faster when running on Mono

Change 3547454 by Jamie.Dale

	Added search to editable texts

Change 3547460 by Jamie.Dale

	The output log now applies a search to its editable text when filtering

	This highlights the term matches on each line

Change 3548177 by Jamie.Dale

	Optimized PO entry look-up

Change 3548287 by Matt.Kuhlenschmidt

	Fix one off speedtree crash

	#jira UE-47538

Change 3548377 by Lauren.Ridge

	Checking that the Environment Map Path is set before trying to load it.

	#jira UE-47365

Change 3548628 by Matt.Kuhlenschmidt

	Fix focus graphic for tabs not pointing to the correct image

Change 3549289 by Max.Chen

	Movie Scene Capture: Move window to within the desktop bounds when resizing.

	#jira UE-37330

Change 3549290 by Arciel.Rekman

	Fix hlslcc not working properly with newer clangs.

	- Both the clang 3.8+ problem and UB reported by UBSan.

Change 3550573 by Max.Chen

	Sequencer: Track drag drop.

	Implement drag and drop onto a camera track, subscene track, and cinematic shot track.

	#jira UE-45773
	#jira UE-45387

Change 3550729 by Max.Chen

	Sequence Recorder: Add interpolation and tangent settings for animation recording keys

	#jira UE-46146

Change 3551558 by Nick.Darnell

	UMG - Tweaking some designer elements, playing around with a 'real-time' mode.  Also fixing a bug with decendant widgets in named slots not triggering design effects like updating the widget switcher.

	#jira UE-39404

Change 3551671 by Joe.Graf

	Merged over the change to expose more of dormancy to Blueprints (UE-46240)

Change 3551684 by Cody.Albert

	Removing some unused code from map check

Change 3552673 by Yannick.Lange

	Fix crash select all levels with folders in the treewidget.

Change 3552960 by Yannick.Lange

	Frontend filter for files referenced by any level in the project and a filter for not referenced by any level.
	#jira UE-22153

Change 3553727 by Max.Chen

	Sequencer: Capture thumbnail before pre save so that the thumbnail isn't captured with the evaluation in a reset state.

	#jira UE-47693

Change 3553778 by Arciel.Rekman

	Cache check for compiler availability (UE-47699).

	-  Fixes performance drop in the blueprint editor. Better than caching in a particular source accessors because affects all accessors (incl. Mac which isn't cached either) and reduces calls.

Change 3554128 by Matt.Kuhlenschmidt

	Null out GEditor after it has been destoyed.  Any modules that access GEditor can now properly check for a null geditor instead of blindly accessing it

Change 3554266 by Max.Chen

	Movie Scene Capture: Override cinematic mode in the movie scene capture.

	#jira UE-33473

Change 3555563 by Alexis.Matte

	Fix static mesh screensize lost when converting from an old version. The conversion require valid extended bounds which was converted after the LOD screensize.

	#jira UE-47697

Change 3555755 by Yannick.Lange

	VR Editor: Add exit button inside new menu called "system" on radial menu. Still needs correct icons.

Change 3556334 by Matt.Kuhlenschmidt

	Added a new type of property editor called a property row generator.  This is essentially a details panel that can generate each unique row but adds no visual styling around the property editors and does not generate a master tree widget for the properties.  This is useful for creating proper widgets for properties and displaying them in a UI that is not the details panel

Change 3558100 by Matt.Kuhlenschmidt

	PR #3823: Incorrect comment syntax in ini files (Contributed by projectgheist)


Change 3558240 by Lauren.Ridge

	Move floor in material editor preview scene based on preview mesh

Change 3558242 by Matt.Kuhlenschmidt

	Fix console variables help page showing only rendering cvars by default

Change 3558243 by Matt.Kuhlenschmidt

	Fix static analysis

Change 3558342 by Alexis.Matte

	Make the code to find the best sample rate to import fbx animation more simple and more robust. The code need to be able to support all the possible case.
	Add a lot of animation sample rate automation tests

	#jira UE-47342

Change 3558515 by Yannick.Lange

	VR Editor: Changed icon for system and exit button on radial menu.

Change 3558973 by Matt.Kuhlenschmidt

	Fix camera placement of the default map

Change 3559230 by Arciel.Rekman

	Do not link CEF3 for servers (UE-47721).

Change 3559572 by Arciel.Rekman

	Linux: make sure the engine is rebuilt during the updates.

Change 3560197 by Arciel.Rekman

	Linux: cosmetic cleanup of an old code.

Change 3560904 by Max.Chen

	Movie Scene Capture: Expose "Open Folder" hyperlink while capturing.

Change 3561213 by Matt.Kuhlenschmidt

	Enable USD by default in QA game for testing

Change 3561928 by Matt.Kuhlenschmidt

	Fix green glowing in the mateiral editor

	#jira UE-47826

Change 3562259 by Arciel.Rekman

	Made FPlatformMisc::DebugBreak() not inlined on Linux.

	- Saves a great deal of binary size without really impacting a performance.

Change 3562630 by Arciel.Rekman

	Make Linux editor compilable with clang 5.0-rc1.

Change 3563564 by Yannick.Lange

	Fix Cube Static Mesh Thumbnail renders black. Cleared out the thumbnail, causing it to create the correct new one.
	#jira UE-47777

Change 3564529 by Jamie.Dale

	Const-correct UScriptStruct::ExportText

Change 3564972 by Alexis.Matte

	Fix staticmesh merge applying build scale multiple time Git PR #3807
	#jira UE-47645

Change 3565253 by Arciel.Rekman

	Fix "Anim to Play" being inaccessible after import (UE-47885).

	- The variable was not initialized and could remain false on Linux.

	#jira UE-47885

Change 3565293 by Jamie.Dale

	Merged "Categories" into the main Output Log filter list

Change 3565939 by Alexis.Matte

	Back out revision 3 from //UE4/Dev-Editor/Engine/Source/Developer/MeshMergeUtilities/Private/MeshMergeHelpers.cpp

Change 3566081 by Alexis.Matte

	Fix staticmesh merge applying scale twice PR #3807
	#jira UE-47645

Change 3566232 by Matt.Kuhlenschmidt

	Fix edit inline properties not clipping properly

	#jira UE-47775

[CL 3567077 by Matt Kuhlenschmidt in Main branch]
2017-08-01 15:55:31 -04:00

371 lines
8.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<title>%s</title>
<body>
<h1>%s</h1>
<br>
<div style="padding:0px; margin:40px; min-width:450px; max-width:1250px;">
<div style="padding:0px; margin:20px" >
<form class="iform" onsubmit="return false" autocomplete="off">
<!-- onchange is when focus lost or enter, oninput is on each change -->
<input id='input1' type="search" name='input1' style="font-size:30px; padding:5px" oninput="OnInputChange()" />
</form>
<div style="margin-left:20px; line-height: 190%;">
<p id="prefixdemo"></p>
</div>
<div style="margin-left:20px;">
<p>
Type:<br>
<input type="checkbox" id="Var" onchange="OnInputChange()" name="ConsoleVariables" value="ConsoleVariables" checked />Console Variables<br>
<input type="checkbox" id="Cmd" onchange="OnInputChange()" name="ConsoleCommands" value="ConsoleCommands" checked />Console Commands<br>
<input type="checkbox" id="Exec" onchange="OnInputChange()" name="Exec" value="Exec" checked />Exec Commands
</p>
<p>
<input type="checkbox" id="SearchInHelpId" onchange="OnInputChange()" name="SearchInHelpName" value="SearchInHelpValue" />Search in help as well
</p>
</div>
</div>
<div style="margin:40px" >
<table id="tabledemo" width="100%">
</table>
</div>
<p id="demo"></p>
<br>
<br>
<b>Generated by:</b> %s<br>
<b>Version:</b> %s<br>
<b>Last Update:</b> %s<br>
</div>
<style type="text/css">
//body { background-color:#000000; color:#E0E0E0 }
* {
font-family: ‘Times New Roman’, Times, serif;
// font-weight: bold;
}
h1 { color:#555555; font-size:32px; border-bottom:solid thin black; }
table {
border:0px solid #ffffff; color:#000000; padding:16px; border-spacing:0px;
border-collapse:collapse;
}
td,th {
border:0px solid #bbbbbb;
vertical-align:top;
overflow:hidden;
padding:6px;
}
th {
background-color:#E0E0E0;
color: #000000;
text-align: left;
border: 1px solid #c0c0c0;
}
a.prefix {
border: 0px solid;
padding: 3px;
padding-left: 5px;
padding-right: 5px;
font-weight: bold;
text-decoration:none;
margin:4px;
white-space: nowrap;
}
a.prefix:link {
border:1px solid #7777FF;
background-color:#ddddff;
color: #7777FF;
}
a.prefix:hover {
background-color:#7777FF;
color: #ddddff;
}
td {
font-family:"Lucida Console", Monaco, monospace;
padding:7px;
border:1px solid #cccccc;
}
</style>
<script>
// document.write('>' + "TYets".slice(-1).localeCompare("*") == 0 + '<');
// document.write('>' + "TYets*".slice(-1).localeCompare("*") == 0 + '<');
// document.write('>' + ("TYets".slice(-1).localeCompare("*") == 0) + '<');
// document.write('>' + ("TYets*".slice(-1).localeCompare("*") == 0) + '<');
function EscapeReg(str)
{
return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
// .replace(/[^\w\s]/g, "\\$&")
}
var ReBuildIncremental_prefixstr;
var ReBuildIncremental_index;
var ReBuildIncremental_bSearchInHelp;
var ReBuildIncremental_bSearchInVar;
var ReBuildIncremental_bSearchInCmd;
var ReBuildIncremental_bSearchInExec;
// @param prefixstr needs to be no regular expression
function IsValid(prefixstr, cvar, bDoFilter)
{
var name = cvar.name;
var help = cvar.help;
var type = cvar.type;
var bDo = true;
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
var re;
if(prefixstr != "\\*")
{
// "Test*" means we search for a string starting with "Test"
// "Test" means we search for a string that has "Test" somewhere
var bStartsWith = prefixstr.slice(-2) == "\\*";
if(bStartsWith)
{
var PrefixWithoutStar = prefixstr.slice(0, prefixstr.length - 2);
re = new RegExp("^" + PrefixWithoutStar, "gi");
}
else
{
re = new RegExp(prefixstr, "gi");
}
bDo = re.test(name);
if(bDoFilter)
{
if(!bDo)
{
if(ReBuildIncremental_bSearchInHelp)
{
bDo = re.test(help);
}
}
}
}
if(bDoFilter)
{
if(bDo)
{
if(type == "Var")
{
if(!ReBuildIncremental_bSearchInVar) bDo = false;
}
else if(type == "Cmd")
{
if(!ReBuildIncremental_bSearchInCmd) bDo = false;
}
else if(type == "Exec")
{
if(!ReBuildIncremental_bSearchInExec) bDo = false;
}
}
}
return bDo;
}
function Rebuild(prefixstr)
{
prefixstr = EscapeReg(prefixstr);
ReBuildIncremental_prefixstr = prefixstr;
ReBuildIncremental_index = 0;
ReBuildIncremental_bSearchInHelp = document.getElementById("SearchInHelpId").checked;
ReBuildIncremental_bSearchInVar = document.getElementById("Var").checked;
ReBuildIncremental_bSearchInCmd = document.getElementById("Cmd").checked;
ReBuildIncremental_bSearchInExec = document.getElementById("Exec").checked;
var aa = document.getElementById("prefixdemo");
aa.innerHTML = "";
for(index = 0; index < cvars_prefix.length; index++)
{
aa.innerHTML += '<a href="a" id="' + cvars_prefix[index].prefix +'" onclick="return OnLinkClick(this.id);" class=\"prefix"\>'
+ cvars_prefix[index].name + "&nbsp;(" + cvars_prefix[index].count + ")" + "</a> ";
}
// -----------------
aa = document.getElementById("tabledemo");
aa.innerHTML = "<tr><th><b>Name</b></th><th><b>Help</b></th></tr>";
}
function RebuildIncremental(UpdateCount)
{
aa = document.getElementById("tabledemo");
for(Update = 0; Update < UpdateCount; Update++)
{
if(ReBuildIncremental_index >= cvars.length)
break;
if(IsValid(ReBuildIncremental_prefixstr, cvars[ReBuildIncremental_index], true))
{
var help = cvars[ReBuildIncremental_index].help;
help = help.replace(/\n/g, "<br>");
aa.innerHTML += "<tr><td style='color: #ff8844;' >" + cvars[ReBuildIncremental_index].name + "</td><td>" + help + "</td></tr>";
}
++ReBuildIncremental_index;
}
}
function OnTick()
{
// larger number means faster search but more hitching
RebuildIncremental(25);
}
function BuildCounts()
{
aa = document.getElementById("demo");
for(i = 0; i < cvars_prefix.length; i++)
{
var prefixstr = cvars_prefix[i].prefix + "*";
var count = 0;
prefixstr = EscapeReg(prefixstr);
for(e = 0; e < cvars.length; e++)
{
if(IsValid(prefixstr, cvars[e], false))
{
++count;
}
}
cvars_prefix[i].count = count;
}
}
function OnInputChange()
{
var value = document.forms[0]["input1"].value;
Rebuild(value);
}
function OnLinkClick(value)
{
value += "*";
document.forms[0]["input1"].value = value;
document.getElementById("SearchInHelpId").checked = false;
Rebuild(value);
return false;
}
function changeText(id) {
id.innerHTML = "Ooops!";
}
var cvars_prefix = [
{prefix: "", name:"All", count:0 },
{prefix: "r.", name:"Renderer", count:0},
{prefix: "s.", name:"Sound", count:0},
{prefix: "t.", name:"Timer", count:0},
{prefix: "rhi.", name:"RHI", count:0},
{prefix: "net.", name:"Network", count:0},
{prefix: "opengl.", name:"OpenGL", count:0},
{prefix: "g.", name:"Game", count:0},
{prefix: "sg.", name:"ScalabilityGroups", count:0},
{prefix: "slate.", name:"Slate", count:0},
{prefix: "p.", name:"Physics", count:0},
{prefix: "showflag.", name:"Showflags", count:0},
{prefix: "FX.", name:"Particle FX system", count:0},
// {prefix: ".", name:"Remaining", count:0},
];
var cvars = [
// all cvars and command in this form:
// {name: "a.ParallelAnimEvaluation", help:"If 1, animation evaluation will be run across the task graph system. If 0, evaluation will run purely on the game thread"},
%s
];
// -------------------------------------------
// call OnTick every x ms
setInterval(function () {OnTick()}, 20);
//setInterval(function(){alert('Hello')},3000);
BuildCounts();
// by default we show all variables
document.forms[0]["input1"].value = "";
// initiate search
OnInputChange();
</script>
</body>
</html>