Navigation
API > API/Plugins > API/Plugins/SoundScape
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USoundscapeColorPointHashMap
References
| Module | SoundScape |
| Header | /Engine/Plugins/Runtime/Soundscape/Source/SoundScape/Public/SoundscapeSubsystem.h |
| Include | #include "SoundscapeSubsystem.h" |
Syntax
UCLASS&40;&41;
class USoundscapeColorPointHashMap : public UObject
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddColorPointArrayToHash
(
const TArray< FVector >& Locations, |
Returns true if ColorPoint added to hash, false if failed (likely location is out of Hash Bounds) | |
| bool | AddColorPointToHash
(
const FVector& Location, |
Returns true if ColorPoint added to hash, false if failed (likely location is out of Hash Bounds) | |
| uint64 | CalculateHashIndex
(
const FVector& Location |
Calculates Hash Index. | |
| void | ClearHash () |
Clears hash map. | |
| USoundscapeColorPointHashCellDensity * | GetColorPointDensityMap
(
FGameplayTag ColorPoint |
Returns ColorPointDensityMap from Hash Map given a Color Point. | |
| const FVector | GetHashCellCenterpoint
(
FVector Location |
||
| const float | |||
| TMap< FGameplayTag, int32 > | |||
| void | InitializeHash
(
float HashCellSizeIn, |
Clears and initializes hash map, sizes grid to HashCellWidth in Uunits. | |
| int32 | NumColorPointsInCell
(
const FVector& Location, |
Returns the number of ColorPoints in a Cell containing the Location. | |
| void | SetGridCenterpoint
(
const FVector& Location |
Sets ceterpoint of grid to Location. |
Constants
| Name | Description |
|---|---|
| HalfMaxGridWidth | |
| MaxGridWidth | Cubic Root of the Max Value of int64 rounded down to the nearest million. |