KPT 0.0.1
KPT Project Documentation
로딩중...
검색중...
일치하는것 없음
FSpatialHashGrid 구조체 참조

#include <FlockingManager.h>

FSpatialHashGrid에 대한 협력 다이어그램:

Public 멤버 함수

int32 GetCellIndex (const FVector2D &Position) const
TArray< int32 > GetNearbyEntities (const FVector2D &Position, float Radius) const

Public 속성

float CellSize = 150.0f
TMap< int32, TArray< int32 > > CellToEntities

상세한 설명

FlockingManager.h 파일의 23 번째 라인에서 정의되었습니다.

멤버 함수 문서화

◆ GetCellIndex()

int32 FSpatialHashGrid::GetCellIndex ( const FVector2D & Position) const
inline

FlockingManager.h 파일의 33 번째 라인에서 정의되었습니다.

다음을 참조함 : CellSize, GetCellIndex().

다음에 의해서 참조됨 : GetCellIndex(), GetNearbyEntities().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ GetNearbyEntities()

TArray< int32 > FSpatialHashGrid::GetNearbyEntities ( const FVector2D & Position,
float Radius ) const
inline

FlockingManager.h 파일의 43 번째 라인에서 정의되었습니다.

다음을 참조함 : CellSize, CellToEntities, GetCellIndex().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ CellSize

float FSpatialHashGrid::CellSize = 150.0f

FlockingManager.h 파일의 29 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : GetCellIndex(), GetNearbyEntities().

◆ CellToEntities

TMap<int32, TArray<int32> > FSpatialHashGrid::CellToEntities

FlockingManager.h 파일의 31 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : GetNearbyEntities().


이 구조체에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.:
  • C:/Users/user/Perforce/alz7_CobaltbruWorkspace_00/KPT/Source/KPT/Core/Component/Flocking/FlockingManager.h