UStaticMeshComponent::SetStaticMesh

Change the StaticMesh used by this instance.

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 SetStaticMesh
(
    class UStaticMesh * NewMesh
)

Remarks

Change the StaticMesh used by this instance.

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