Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UStaticMeshComponent
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 |
virtual bool UsesTextureLightmaps
(
int32 InWidth,
int32 InHeight
) const
Remarks
Returns true if the component uses texture lightmaps bool true if texture lightmaps are used, false if not
Parameters
| Name | Description |
|---|---|
| InWidth | [in] The width of the light/shadow map |
| InHeight | [in] The width of the light/shadow map |