engine
 
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
FStreamingRenderAssetPrimitiveInfo结构体 参考

Information about a streaming texture/mesh that a primitive uses for rendering. 更多...

#include <TextureStreamingTypes.h>

Public 属性

uint32 bAllowInvalidTexelFactorWhenUnregistered: 1
 For mesh components, texel factors are their sphere bound diameters that are 0 when unregistered
 
FBoxSphereBounds Bounds
 The streaming bounds of the texture/mesh, usually the component material bounds. 更多...
 
uint32 PackedRelativeBox
 When non zero, this represents the relative box used to compute Bounds, using the component bounds as reference. 更多...
 

详细描述

Information about a streaming texture/mesh that a primitive uses for rendering.

类成员变量说明

◆ Bounds

FBoxSphereBounds FStreamingRenderAssetPrimitiveInfo::Bounds

The streaming bounds of the texture/mesh, usually the component material bounds.

Usually only valid for registered component, as component bounds are only updated when the components are registered. otherwise only PackedRelativeBox can be used.Irrelevant when the component is not registered, as the component could be moved by ULevel::ApplyWorldOffset() In that case, only PackedRelativeBox is meaningful.

◆ PackedRelativeBox

uint32 FStreamingRenderAssetPrimitiveInfo::PackedRelativeBox

When non zero, this represents the relative box used to compute Bounds, using the component bounds as reference.

If available, this allows the renderable asset streamer to generate the level streaming data before the level gets visible. At that point, the component are not yet registered, and the bounds are unknown, but the precompiled build data is still available. Also allows to update the relative bounds after a level get moved around from ApplyWorldOffset.


该结构体的文档由以下文件生成: