A batch of mesh elements, all with the same material and vertex buffer 更多...
#include <MeshBatch.h>
Public 成员函数 | |
| FMeshBatch () | |
| Default constructor. | |
静态 Public 成员函数 | |
| static int8 | QuantizeLODIndex (int32 NewLODIndex) |
| Converts from an int32 index into a int8 | |
Public 属性 | |
| FHitProxyId | BatchHitProxyId |
| The current hit proxy ID being rendered. | |
| uint32 | bCanApplyViewModeOverrides: 1 |
| Whether view mode overrides can be applied to this mesh eg unlit, wireframe. | |
| uint32 | bDitheredLODTransition: 1 |
| Whether the mesh batch should apply dithered LOD. | |
| uint32 | bRenderToVirtualTexture: 1 |
| Whether the mesh batch can be rendered to virtual textures. | |
| uint32 | bSelectable: 1 |
| Whether the mesh batch can be selected through editor selection, aka hit proxies. | |
| uint32 | bUseSelectionOutline: 1 |
| Whether the batch should receive the selection outline. 更多... | |
| uint32 | bUseWireframeSelectionColoring: 1 |
| Whether to treat the batch as selected in special viewmodes like wireframe. 更多... | |
| uint32 | CastShadow: 1 |
| Pass feature relevance flags. 更多... | |
| int8 | LODIndex |
| LOD index of the mesh, used for fading LOD transitions. | |
| const FMaterialRenderProxy * | MaterialRenderProxy |
| Material proxy for rendering, required. | |
| uint32 | RuntimeVirtualTextureMaterialType: RuntimeVirtualTexture::MaterialType_NumBits |
| What virtual texture material type this mesh batch should be rendered with. | |
| float | TessellationDisablingShadowMapMeshSize |
| This is the threshold that will be used to know if we should use this mesh batch or use one with no tessellation enabled | |
| const FVertexFactory * | VertexFactory |
| Vertex factory for rendering, required. | |
| int8 | VisualizeHLODIndex |
| Conceptual HLOD index used for the HLOD Coloration visualization. | |
| int8 | VisualizeLODIndex |
| Conceptual LOD index used for the LOD Coloration visualization. | |
A batch of mesh elements, all with the same material and vertex buffer
| uint32 FMeshBatch::bUseSelectionOutline |
Whether the batch should receive the selection outline.
This is useful for proxies which support selection on a per-mesh batch basis. They submit multiple mesh batches when selected, some of which have bUseSelectionOutline enabled.
| uint32 FMeshBatch::bUseWireframeSelectionColoring |
Whether to treat the batch as selected in special viewmodes like wireframe.
This is needed instead of just Proxy->IsSelected() because some proxies do weird things with selection highlighting, like FStaticMeshSceneProxy.
| uint32 FMeshBatch::CastShadow |
Pass feature relevance flags.
Allows a proxy to submit fast representations for passes which can take advantage of it, for example separate index buffer for depth-only rendering since vertices can be merged based on position and ignore UV differences.