Module |
|
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,
FVector4 * OneOverScales,
struct FIntVector4 * UVChannelIndices
) const
Get mesh UV density for a LOD-section.
Whether scales were computed or not.
Parameter |
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) |