Unreal Engine C++ Set Mesh Tutorial ue4 ue5

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.พ. 2025
  • Discord: / discord
    This tutorial is about how to set/assign a mesh asset(skeletal mesh in the example) but will really work for any asset type.
    #gamedev #tutorial #unrealenginetutorial
    Code:
    static ConstructorHelpers::FObjectFinder USkeletalMesh characterMesh(TEXT("/Script/Engine.SkeletalMesh'/Game/Characters/Mannequins/Meshes/SKM_Manny.SKM_Manny'"));
    if (characterMesh.Succeeded())
    {
    GetMesh()-SetSkeletalMesh(characterMesh.Object);
    }
    The angled brackets aren't allowed in the description, so add those around USkeletalMesh, and one around getmesh.

ความคิดเห็น • 3

  • @royalpizza2941
    @royalpizza2941 ปีที่แล้ว

    I am new to UE5 and recently found myself debating why I make a Blueprint Class extended from my c++ just to set properties. I’ve been looking everywhere to find info on how to assign assets via c++. Your video helped a lot. Thank. :)

  • @CreateDefaultSubobject
    @CreateDefaultSubobject 11 หลายเดือนก่อน

    thank you.
    compact tutorial

  • @bragaYT
    @bragaYT 3 หลายเดือนก่อน

    what about animation class.... i get an error of waiting for skinned asset to be ready ... which runs forever