Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UKismetRenderingLibrary |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h |
| Include Path | #include "Kismet/KismetRenderingLibrary.h" |
Syntax
UCLASS (MinimalAPI, Meta=(ScriptName="RenderingLibrary"))
class UKismetRenderingLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UKismetRenderingLibrary
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UKismetRenderingLibrary
(
const FObjectInitializer& ObjectInitializer |
Kismet/KismetRenderingLibrary.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void BeginDrawCanvasToRenderTarget
(
UObject* WorldContextObject, |
Returns a Canvas object that can be used to draw to the specified render target. | Kismet/KismetRenderingLibrary.h |
|
static void BreakSkinWeightInfo
(
FSkelMeshSkinWeightInfo InWeight, |
Break FSkelMeshSkinWeightInfo | Kismet/KismetRenderingLibrary.h |
|
static FMatrix CalculateProjectionMatrix
(
const FMinimalViewInfo& MinimalViewInfo |
Calculates the projection matrix using this view info's aspect ratio (regardless of bConstrainAspectRatio) | Kismet/KismetRenderingLibrary.h |
|
static void ClearRenderTarget2D
(
UObject* WorldContextObject, |
Clears the specified render target with the given ClearColor. | Kismet/KismetRenderingLibrary.h |
|
static void ConvertRenderTargetToTexture2DArrayEditorOnly
(
UObject* WorldContextObject, |
Copies the contents of a UTextureRenderTarget2DArray to a UTexture2DArray Only works in the editor | Kismet/KismetRenderingLibrary.h |
|
static void ConvertRenderTargetToTexture2DEditorOnly
(
UObject* WorldContextObject, |
Copies the contents of a UTextureRenderTarget2D to a UTexture2D Only works in the editor | Kismet/KismetRenderingLibrary.h |
|
static void ConvertRenderTargetToTextureCubeEditorOnly
(
UObject* WorldContextObject, |
Copies the contents of a UTextureRenderTargetCube to a UTextureCube Only works in the editor | Kismet/KismetRenderingLibrary.h |
|
static void ConvertRenderTargetToTextureVolumeEditorOnly
(
UObject* WorldContextObject, |
Copies the contents of a UTextureRenderTargetVolume to a UVolumeTexture Only works in the editor | Kismet/KismetRenderingLibrary.h |
|
static UTextureRenderTarget2D * CreateRenderTarget2D
(
UObject* WorldContextObject, |
Creates a new render target and initializes it to the specified dimensions | Kismet/KismetRenderingLibrary.h |
|
static UTextureRenderTarget2DArray * CreateRenderTarget2DArray
(
UObject* WorldContextObject, |
Creates a new render target array and initializes it to the specified dimensions | Kismet/KismetRenderingLibrary.h |
|
static UTextureRenderTargetVolume * CreateRenderTargetVolume
(
UObject* WorldContextObject, |
Creates a new volume render target and initializes it to the specified dimensions | Kismet/KismetRenderingLibrary.h |
|
static void DrawMaterialToRenderTarget
(
UObject* WorldContextObject, |
Renders a quad with the material applied to the specified render target. | Kismet/KismetRenderingLibrary.h |
|
static void EnablePathTracing
(
bool bEnablePathTracer |
Enables or disables the path tracer for the current Game Viewport. | Kismet/KismetRenderingLibrary.h |
|
static void EndDrawCanvasToRenderTarget
(
UObject* WorldContextObject, |
Must be paired with a BeginDrawCanvasToRenderTarget to complete rendering to a render target. | Kismet/KismetRenderingLibrary.h |
|
static void ExportRenderTarget
(
UObject* WorldContextObject, |
Exports a render target as a HDR or PNG image onto the disk (depending on the format of the render target) | Kismet/KismetRenderingLibrary.h |
|
static void ExportTexture2D
(
UObject* WorldContextObject, |
Exports a Texture2D as a HDR image onto the disk. | Kismet/KismetRenderingLibrary.h |
|
static UTexture2D * ImportBufferAsTexture2D
(
UObject* WorldContextObject, |
Imports a texture from a buffer and creates Texture2D from it. | Kismet/KismetRenderingLibrary.h |
|
static UTexture2D * ImportFileAsTexture2D
(
UObject* WorldContextObject, |
Imports a texture file from disk and creates Texture2D from it. | Kismet/KismetRenderingLibrary.h |
|
static FSkelMeshSkinWeightInfo MakeSkinWeightInfo
(
int32 Bone0, |
Create FSkelMeshSkinWeightInfo | Kismet/KismetRenderingLibrary.h |
|
static int32 NumPrecompilingPSOsRemaining() |
Returns the number of active PSO precompilation tasks which are still running - can be used to extend loading screens to wait for PSO precaching to be finished | Kismet/KismetRenderingLibrary.h |
|
static bool ReadRenderTarget
(
UObject* WorldContextObject, |
Incredibly inefficient and slow operation! Reads entire render target as sRGB color and returns a linear array of sRGB colors. | Kismet/KismetRenderingLibrary.h |
|
static FColor ReadRenderTargetPixel
(
UObject* WorldContextObject, |
Incredibly inefficient and slow operation! Read a value as sRGB color from a render target using integer pixel coordinates. | Kismet/KismetRenderingLibrary.h |
|
static bool ReadRenderTargetRaw
(
UObject* WorldContextObject, |
Incredibly inefficient and slow operation! Read entire texture as-is from a render target. | Kismet/KismetRenderingLibrary.h |
|
static FLinearColor ReadRenderTargetRawPixel
(
UObject* WorldContextObject, |
Incredibly inefficient and slow operation! Read a value as-is from a render target using integer pixel coordinates. | Kismet/KismetRenderingLibrary.h |
|
static TArray< FLinearColor > ReadRenderTargetRawPixelArea
(
UObject* WorldContextObject, |
Incredibly inefficient and slow operation! Read an area of values as-is from a render target using a rectangle defined by integer pixel coordinates. | Kismet/KismetRenderingLibrary.h |
|
static FLinearColor ReadRenderTargetRawUV
(
UObject* WorldContextObject, |
Incredibly inefficient and slow operation! Read a value as-is from a render target using UV [0,1]x[0,1] coordinates. | Kismet/KismetRenderingLibrary.h |
|
static TArray< FLinearColor > ReadRenderTargetRawUVArea
(
UObject* WorldContextObject, |
Incredibly inefficient and slow operation! Read an area of values as-is from a render target using a rectangle defined by UV [0,1]x[0,1] coordinates. | Kismet/KismetRenderingLibrary.h |
|
static FColor ReadRenderTargetUV
(
UObject* WorldContextObject, |
Incredibly inefficient and slow operation! Read a value as sRGB color from a render target using UV [0,1]x[0,1] coordinates. | Kismet/KismetRenderingLibrary.h |
|
static void RefreshPathTracingOutput () |
Forces the path tracer to restart sample accumulation. | Kismet/KismetRenderingLibrary.h |
|
static void ReleaseRenderTarget2D
(
UTextureRenderTarget2D* TextureRenderTarget |
Manually releases GPU resources of a render target. | Kismet/KismetRenderingLibrary.h |
|
static UTexture2DArray * RenderTargetCreateStaticTexture2DArrayEditorOnly
(
UTextureRenderTarget2DArray* RenderTarget, |
Creates a new Static Texture 2D Array from a Render Target 2D Array. Only works in the editor | Kismet/KismetRenderingLibrary.h |
|
static UTexture2D * RenderTargetCreateStaticTexture2DEditorOnly
(
UTextureRenderTarget2D* RenderTarget, |
Creates a new Static Texture from a Render Target 2D. Only works in the editor | Kismet/KismetRenderingLibrary.h |
|
static UTextureCube * RenderTargetCreateStaticTextureCubeEditorOnly
(
UTextureRenderTargetCube* RenderTarget, |
Creates a new Static Texture Cube from a Render Target Cube. Only works in the editor | Kismet/KismetRenderingLibrary.h |
|
static UVolumeTexture * RenderTargetCreateStaticVolumeTextureEditorOnly
(
UTextureRenderTargetVolume* RenderTarget, |
Creates a new Static Volume Texture from a Render Target Volume. Only works in the editor | Kismet/KismetRenderingLibrary.h |
|
static void ResizeRenderTarget2D
(
UTextureRenderTarget2D* TextureRenderTarget, |
Changes the resolution of a render target. | Kismet/KismetRenderingLibrary.h |
|
static void SetCastInsetShadowForAllAttachments
(
UPrimitiveComponent* PrimitiveComponent, |
Set the inset shadow casting state of the given component and all its child attachments. | Kismet/KismetRenderingLibrary.h |
|