UEditorStaticMeshLibrary::GetLodCount

Get number of LODs present on a static mesh.

Windows
MacOS
Linux

References

Module

EditorScriptingUtilities

Header

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorStaticMeshLibrary.h

Include

#include "EditorStaticMeshLibrary.h"

Source

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorStaticMeshLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | StaticMesh")
static int32 GetLodCount
(
    UStaticMesh * StaticMesh
)

Remarks

Get number of LODs present on a static mesh.

Returns

the number of LODs present on the input mesh. An negative value indicates that the command could not be executed. See log for explanation.

Parameters

Parameter

Description

StaticMesh

Mesh to process.

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