액터를 인게임 에서 보이게 할것인지 안보이게 할것인지를 bool 변수로 제어
AActor::SetActorHiddenInGame
UFUNCTION(BlueprintCallable, Category="Rendering",
Meta=(DisplayName="Set Actor Hidden In Game", Keywords="Visible Hidden Show Hide"))
virtual void SetActorHiddenInGame
(
bool bNewHidden
)
Sets the actor to be hidden in the game
Parameter | Description |
---|---|
bNewHidden | Whether or not to hide the actor and all its components |
Module | |
Header | Runtime/Engine/Classes/GameFramework/Actor.h |
Source | Runtime/Engine/Private/Actor.cpp |
printstring 은 해당 리턴 값을 문자로 화면에 출력한다
반응형
'게임엔진(GameEngine) > Unreal4' 카테고리의 다른 글
UE4 에서의 대미지 (0) | 2016.05.12 |
---|---|
언리얼 엔진 C++ 프로그래밍 이해하기 - Part1 (0) | 2016.04.28 |
언리얼로 모델 로딩시 노멀벡터 처리 옵션 (0) | 2015.10.27 |
에셋 이주하기(레퍼런스된 에셋들을 포함한 복사) (0) | 2015.10.27 |
Lerp (linearInterpolate) (0) | 2015.10.27 |