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

Encapsulates the data which is used to render a decal parallel to the game thread. 更多...

#include <SceneManagement.h>

Public 成员函数

 FDeferredDecalProxy (const UDecalComponent *InComponent)
 constructor
 
bool IsShown (const FSceneView *View) const
 
void SetTransformIncludingDecalSize (const FTransform &InComponentToWorldIncludingDecalSize)
 Updates the decal proxy's cached transform. 更多...
 

Public 属性

const UDecalComponent * Component
 Pointer back to the game thread decal component.
 
FTransform ComponentTrans
 Used to compute the projection matrix on the render thread side, includes the DecalSize

 
float FadeStartDelayNormalized
 FadeT = saturate(1 - (AbsTime - FadeStartDelay - AbsSpawnTime) / FadeDuration) 更多...
 
int32 SortOrder
 Larger values draw later (on top).
 

详细描述

Encapsulates the data which is used to render a decal parallel to the game thread.

成员函数说明

◆ IsShown()

bool FDeferredDecalProxy::IsShown ( const FSceneView *  View) const
返回
True if the decal is visible in the given view.

◆ SetTransformIncludingDecalSize()

void FDeferredDecalProxy::SetTransformIncludingDecalSize ( const FTransform &  InComponentToWorldIncludingDecalSize)

Updates the decal proxy's cached transform.

参数
InComponentToWorldIncludingDecalSize- The new component-to-world transform including the DecalSize

类成员变量说明

◆ FadeStartDelayNormalized

float FDeferredDecalProxy::FadeStartDelayNormalized

FadeT = saturate(1 - (AbsTime - FadeStartDelay - AbsSpawnTime) / FadeDuration)

refactored as muladd:
FadeT = saturate((AbsTime * -InvFadeDuration) + ((FadeStartDelay + AbsSpawnTime + FadeDuration) * InvFadeDuration))

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