engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 属性 | 所有成员列表
FPreviewScene类 参考

Encapsulates a simple scene setup for preview or thumbnail rendering. 更多...

#include <PreviewScene.h>

+ 类 FPreviewScene 继承关系图:

Public 成员函数

virtual void AddComponent (class UActorComponent *Component, const FTransform &LocalToWorld, bool bAttachToRoot=false)
 Adds a component to the preview scene. 更多...
 
virtual void AddReferencedObjects (FReferenceCollector &Collector) override
 Pure virtual that must be overloaded by the inheriting class. 更多...
 
void ClearLineBatcher ()
 Clean out the line batcher each frame
 
virtual FLinearColor GetBackgroundColor () const
 Get the background color we use by default
 
class ULineBatchComponent * GetLineBatcher () const
 Access to line drawing
 
virtual FString GetReferencerName () const override
 Use this method to report a name for your referencer.
 
void LoadSettings (const TCHAR *Section)
 Load/Save settings to the config, specifying the key
 
virtual void RemoveComponent (class UActorComponent *Component)
 Removes a component from the preview scene. 更多...
 
void UpdateCaptureContents ()
 Update sky and reflection captures
 
- Public 成员函数 继承自 FGCObject
virtual void AddReferencedObjects (FReferenceCollector &Collector)=0
 Pure virtual that must be overloaded by the inheriting class. 更多...
 
 FGCObject (FGCObject &&)
 Move constructor
 
 FGCObject (FGCObject const &)
 Copy constructor
 
 FGCObject (void)
 Tells the global object that forwards AddReferencedObjects calls on to objects that a new object is requiring AddReferencedObjects call.
 
virtual FString GetReferencerName () const
 Use this method to report a name for your referencer.
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 Use this method to report how the specified object is referenced, if necessary
 
virtual ~FGCObject (void)
 Removes this instance from the global referencer's list
 

Protected 属性

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.
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 FGCObject
static void StaticInit (void)
 Initializes the global object referencer and adds it to the root set.
 
- 静态 Public 属性 继承自 FGCObject
static UGCObjectReferencer * GGCObjectReferencer
 The static object referencer object that is shared across all garbage collectible non-UObject objects.
 

详细描述

Encapsulates a simple scene setup for preview or thumbnail rendering.

成员函数说明

◆ AddComponent()

virtual void FPreviewScene::AddComponent ( class UActorComponent *  Component,
const FTransform &  LocalToWorld,
bool  bAttachToRoot = false 
)
virtual

Adds a component to the preview scene.

This attaches the component to the scene, and takes ownership of it.

◆ AddReferencedObjects()

virtual void FPreviewScene::AddReferencedObjects ( FReferenceCollector &  Collector)
overridevirtual

Pure virtual that must be overloaded by the inheriting class.

Use this method to serialize any UObjects contained that you wish to keep around.

参数
CollectorThe collector of referenced objects.

实现了 FGCObject.

◆ RemoveComponent()

virtual void FPreviewScene::RemoveComponent ( class UActorComponent *  Component)
virtual

Removes a component from the preview scene.

This detaches the component from the scene, and returns ownership of it.


该类的文档由以下文件生成: