Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/PreviewScene.h |
Include |
#include "PreviewScene.h" |
class FPreviewScene : public FGCObject
Encapsulates a simple scene setup for preview or thumbnail rendering.
Name | Description | ||
---|---|---|---|
|
bool |
bForceAllUsedMipsResident |
This controls whether or not all mip levels of textures used by UMeshComponents added to this preview window should be loaded and remain loaded. |
|
DirectionalLight |
||
|
LineBatcher |
||
|
UWorld * |
PreviewWorld |
|
|
SkyLight |
Name | Description | |
---|---|---|
|
FPreviewScene ( |
For physical correct light computations we multiply diffuse and specular lights by PI (see LABEL_RealEnergy) |
Name | Description | |
---|---|---|
|
~FPreviewScene() |
Name | Description | ||
---|---|---|---|
|
void |
AddComponent ( |
Adds a component to the preview scene. |
|
void |
ClearLineBatcher() |
Clean out the line batcher each frame |
|
GetBackgroundColor() |
Get the background color we use by default |
|
|
FRotator |
GetLightDirection() |
Accessor for finding the current direction of the preview scene's DirectionalLight. |
|
ULineBatchCo... |
GetLineBatcher() |
Access to line drawing |
|
FSceneInterf... |
GetScene() |
|
|
UWorld * |
GetWorld() |
Accessors. |
|
void |
LoadSettings ( |
Load/Save settings to the config, specifying the key |
|
void |
RemoveComponent ( |
Removes a component from the preview scene. |
|
void |
SaveSettings ( |
|
|
void |
SetLightBrightness ( |
|
|
void |
SetLightColor ( |
|
|
void |
SetLightDirection ( |
Function for modifying the current direction of the preview scene's DirectionalLight. |
|
void |
SetSkyBrightness ( |
|
|
void |
SetSkyCubemap ( |
|
|
void |
UpdateCaptureContents() |
Update sky and reflection captures |
Name | Description | ||
---|---|---|---|
|
void |
AddReferencedObjects ( |
Serializer. |
|
GetReferencerName() |
Overload this method to report a name for your referencer |
Name |
Description |
|
---|---|---|
|
ConstructionValues |