반응형 World Transform1 Unreal Widget Get World Location [Unreal/C++] Widget Get World Location 언리얼 엔진에서 위젯의 세계 위치 가져오기언리얼 엔진 블루프린트에서는 GetWorldLocation을 지원한다.하지만 C++에서는 무슨일인지 GetWorldLocation이 없다.이는 블루프린트에서 표시되는 이름과 C++에서 사용되는 이름의 형식이 다르기 때문이다.SceneComponent에서 GetWorldLocation을 찾아보면 ScriptName="GetWorldLocation"을 찾아볼 수 있다.마찬가지로 World Scale, Rotation, Transform 도 이름만 다를 뿐 정의되어 있다.이를 이용해 위젯의 위치를 가져올 수 있다. 2024. 1. 9. 이전 1 다음 반응형