Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/NetCullDistanceOverrides.h |
| Include | #include "Iris/ReplicationSystem/NetCullDistanceOverrides.h" |
Syntax
class FNetCullDistanceOverrides
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClearCullDistanceSqr
(
uint32 ObjectIndex |
Remove cull distance override for object. | |
| float | GetCullDistanceSqr
(
uint32 ObjectIndex |
Returns the object's squared cull distance override if it's valid or a negative value if it's not. | |
| float | GetCullDistanceSqr
(
uint32 ObjectIndex, |
Returns the object's squared cull distance override if it's valid or the provided DefaultValue if it's not. | |
| bool | HasCullDistanceOverride
(
uint32 ObjectIndex |
Returns whether the object has a valid world location or not. | |
| void | Init
(
const FNetCullDistanceOverridesInitParams& InitParams |
||
| void | SetCullDistanceSqr
(
uint32 ObjectIndex, |
Set cull distance override for object. |
Constants
| Name | Description |
|---|---|
| BytesPerCullDistanceChunk | Arbitrary value. The chunked array will be allocated to fit to higest object index that overrides the cull distance. |