UStaticMeshComponent::UsesTextureLightmaps

Returns true if the component uses texture lightmaps

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h

Include

#include "Components/StaticMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp

Syntax

virtual bool UsesTextureLightmaps
(
    int32 InWidth,
    int32 InHeight
) const

Remarks

Returns true if the component uses texture lightmaps

Returns

bool true if texture lightmaps are used, false if not

Parameters

Parameter

Description

InWidth

[in] The width of the light/shadow map

InHeight

[in] The width of the light/shadow map

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss