Navigation
Unreal Engine C++ API Reference > 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
&40;
int32 LODIndex,
int32 SectionIndex,
const class FMaterialRenderProxy &42; MaterialRenderProxy,
FVector4f &42; OneOverScales,
FIntVector4 &42; UVChannelIndices
&41; 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) |