UGameplayStatics::SpawnEmitterAtLocation

Clear·2025년 5월 2일

EPortfolio docs

월드의 특정 위치에 파티클 이펙트를 생성합니다.

Code

	static ENGINE_API UParticleSystemComponent* SpawnEmitterAtLocation
    (
    	UWorld* World, 
    	UParticleSystem* EmitterTemplate,
    	const FTransform& SpawnTransform, 
    	bool bAutoDestroy = true, 
    	EPSCPoolMethod PoolingMethod = EPSCPoolMethod::None,
    	bool bAutoActivate = true
    );

Paramter

  • WorldContextObject
    월드를 얻기 위한 컨텍스트 객체
  • EmitterTemplate
    사용할 파티클 시스템
  • Location
    파티클을 생성할 월드 위치
  • Rotation
    파티클의 회전값
  • Scale
    파티클 스케일 조정
  • bAutoDestroy
    파티클 재생 완료 후 자동으로 파괴할지 여부
  • PoolingMethod
    파티클 풀링 방식
  • bAutoActivateSystem
    생성 시 자동 재생 여부
profile
Programmer

0개의 댓글