#include <WorldLocations.h>
◆ ClampPositionToBoundary()
| FVector UE::Net::FWorldLocations::ClampPositionToBoundary |
( |
const FVector & |
Position | ) |
const |
|
inline |
Return a position clamped to the configured world boundary.
◆ ClearCullDistanceOverride()
Remove the temporary net cull distance override and instead use the regular net cull distance Returns true if the object had registered to use the world location cache and had an override value previously set
◆ GetCullDistance()
Get the object's current cull distance.
◆ GetObjectRequiresFrequentWorldLocationUpdate()
Returns whether an object requires frequent world location updates.
◆ GetObjectsRequiringFrequentWorldLocationUpdate()
| const FNetBitArrayView UE::Net::FWorldLocations::GetObjectsRequiringFrequentWorldLocationUpdate |
( |
| ) |
const |
|
inline |
Returns the list of objects that need to check for a location change every frame
◆ GetObjectsWithDirtyInfo()
| const FNetBitArrayView UE::Net::FWorldLocations::GetObjectsWithDirtyInfo |
( |
| ) |
const |
|
inline |
Returns the list of objects that changed world location or cull distance this frame
◆ GetObjectsWithWorldInfo()
| const FNetBitArrayView UE::Net::FWorldLocations::GetObjectsWithWorldInfo |
( |
| ) |
const |
|
inline |
Returns the list of objects that registered world location information
◆ GetWorldInfo()
Return the current stored world information of the given object, or NullOpt if the object did not register in the world location cache.
◆ GetWorldLocation()
Returns the object's world location if it's valid or a zero vector if it's not.
◆ GetWorldMaxPos()
| const FVector & UE::Net::FWorldLocations::GetWorldMaxPos |
( |
| ) |
const |
|
inline |
◆ GetWorldMinPos()
| const FVector & UE::Net::FWorldLocations::GetWorldMinPos |
( |
| ) |
const |
|
inline |
Return the world boundaries (min and max position).
◆ HasCullDistanceOverride()
Returns true if the object was set a cull distance override and is using it instead of his default cull distance value
◆ HasInfoForObject()
Returns whether the object has a valid cached data or not.
◆ Init()
◆ InitObjectInfoCache()
Assign a world information cache to the replicated object
◆ IsValidLocation()
| bool UE::Net::FWorldLocations::IsValidLocation |
( |
const FVector & |
Location | ) |
const |
|
inline |
Is the location without the configured Min/Max WorldPos
◆ LockDirtyInfoList()
| void UE::Net::FWorldLocations::LockDirtyInfoList |
( |
bool |
bLock | ) |
|
Debug tool to track when its legal to modify the DirtyInfo list.
◆ OnMaxInternalNetRefIndexIncreased()
◆ PostSendUpdate()
| void UE::Net::FWorldLocations::PostSendUpdate |
( |
| ) |
|
◆ RemoveObjectInfoCache()
Remove the world information cache of the replicated object
◆ ResetObjectsWithDirtyInfo()
| void UE::Net::FWorldLocations::ResetObjectsWithDirtyInfo |
( |
| ) |
|
Reset the list of objects that changed location or cull distance
◆ SetCullDistanceOverride()
Add a temporary net cull distance that will have priority over the regular net cull distance. Returns true if the object had registered to use the world location cache and can store the override.
◆ SetObjectInfo()
Set the mandatory info of a replicated root object
◆ SetObjectRequiresFrequentWorldLocationUpdate()
Objects are not necessarily marked as dirty just because they're moving, such as objects attached to other objects. If such objects are spatially filtered they need to update their world locations in order for replication to work as expected. Use SetObjectRequiresFrequentWorldLocationUpdate to force frequent world location update on an object.
The documentation for this class was generated from the following files: