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.
| 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.
| 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.