Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FPrimitiveSceneProxy
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/PrimitiveSceneProxy.h |
| Include | #include "PrimitiveSceneProxy.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveSceneProxy.cpp |
virtual bool GetMaterialTextureScales
(
int32 LODIndex,
int32 SectionIndex,
const class FMaterialRenderProxy * MaterialRenderProxy,
FVector4f * OneOverScales,
FIntVector4 * UVChannelIndices
) const
Remarks
Get mesh UV density for a LOD-section. Whether scales were computed or not.
Parameters
| Name | Description |
|---|---|
| LODIndex | LOD index (INDEX_NONE for all) |
| ElementIndex | Element index (INDEX_NONE for all) |
| MaterialRenderProxy | Material bound to that LOD-section |
| OneOverScales | (OUT) One over the texture scales (array size = TEXSTREAM_MAX_NUM_TEXTURES_PER_MATERIAL / 4) |
| UVChannelIndices | (OUT) The related index for each (array size = TEXSTREAM_MAX_NUM_TEXTURES_PER_MATERIAL / 4) |