[UE4]GameplayStatics‘s API in common use

1 · 王爱国 · Nov. 22, 2018, 7:08 a.m.
keywords: UGameplayStatics, GameplayStatics Parameter WorldContextObject must be an UObject that can get UWorld, otherwise the following gameplay’s functions would not work. /** * Counts how many grass foliage instances overlap a given sphere. * * @param Mesh The static mesh we are interested in counting. * @param CenterPosition The center position of the sphere. * @param Radius The radius of the sphere. * * @return Number of foliage instances with their mesh set to Mesh that overlap the sphere...