Static Properties

FontFamilies
InspectorObject Set the object to be inspected by the inspector.
IsRecordingVideo True if we're currently recording a video (using the video command, or F6)
IsVulkan Used for shadergraph
RenderSettings Access to the client's render settings

Static Methods

AddLogger
AutoComplete
ClearPackageCache Delete the cached package info. This will cause any future requests to get fresh information from the backend. This is useful if you just updated something and want to see the changes.
CompileShader Compile a fucking shader. Takes a .shader file and compiles it.
CopyAssetToDirectory Copies an asset's source and compiled files to a directory (if they exist)
CreateModelFromMeshFile Create a vmdl file from a mesh. Will return non null if the asset was created successfully
CreateModelFromPolygonMeshes Create a vmdl file from polygon meshes. Will return non null if the asset was created successfully
CreateSceneWorld
CreateVideoWriter Create a video writer
CreateWebSurface Create an unlimited web surface
DisableTextureStreaming Force textures to load fully when loading a model etc..
DisplayDialog Display a modal dialog message. This is a blocking call.
DownloadAsync
FindProjectByDirectory Tries to find a project based on a given directory.
GetAssetFromProject
GetFileThumbnail
GetRootPanels Get all the root panels.
GetSearchPaths Gets every search path seperated by ;
GetSerializedObject Get a serialized object for this object. Because you're in the editor, this is an unrestricted object, we aren't whitelisting or using TypeLibrary.
GetSourceLocation Gets the source location for the given scene, used by action graph stack traces, and so the action graph editor knows which asset to save when editing a graph.
IsCodeFile Checks if a given file is a code file
IsCodeFolder Checks if a given folder is a code folder, e.g. [project root]/Code
KeyValues3ToJson Some assets are kv3, we want to convert them to json
LoadBitmap Load a float bitmap. This is usually a png, tga, exr, psd
LoadProjectSettings Load a project settings file
MoveAssetToDirectory Moves an asset's source and compiled files to a directory (if they exist)
OpenControlSheet Show a popup control sheet for this. You should set parent to the control from this this sheet is created. If you do that properly, when that control is deleted, this popup will get deleted too. If you set it to null then the control sheet will stay open until it's closed.
OpenFile Open a folder (or url)
OpenFileDialog Open a file open dialog. Returns null on cancel, else the absolute path of the target file.
OpenFileFolder Open given file's folder in OS file explorer and select given file.
OpenFolder Open a folder (or url)
PlayAssetSound Plays an asset sound in 2d space
PlayRawSound Plays a sound via the OS, which is the way you play a sound if you want it to be heard when the game is tabbed away
PlaySound Plays a sound event
PutAsync
Quit Quit the whole engine
RemoveLogger
RenameAsset Moves a file to the same directory but gives it a new name
RenameDirectory
RestartEditor Restarts the editor with the same project.
RestartEditorPrompt Open a dialog prompt asking the user to restart the editor.
SaveFileDialog Open a file save dialog. Returns null on cancel, else the absolute path of the target file.
SaveProjectSettings Save a project settings file
SendToRecycleBin
StopAssetSound Stop a sound playing from an asset preview
TranslateString Translate input into language
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.