IsTexelMapped

Checks if a lightmap texel is mapped or not.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/LightMap.h

Include

#include "LightMap.h"

Syntax

bool IsTexelMapped
(
    const TArray < FLightMapCoefficients > & MappingData,
    int32 X,
    int32 Y,
    int32 Pitch
)

Remarks

Checks if a lightmap texel is mapped or not.

Returns

true if the texel is mapped

Parameters

Parameter

Description

MappingData

Array of lightmap texels

X

X-coordinate for the texel to check

Y

Y-coordinate for the texel to check

Pitch

Number of texels per row

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback