Struct GhostImportance
Singleton component used to control importance settings
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
[BurstCompile]
public struct GhostImportance : IComponentData, IQueryTypeParameter
Fields
Name | Description |
---|---|
Ghost |
ComponentType for connection data. Ghost |
Ghost |
Optional singleton ComponentType for configuration data.
Leave default if not required. Zero will be passed into the Scale |
Ghost |
ComponentType for per chunk data. Must be a shared component type! Each chunk represents a group of entities,
collected as they share some importance-related value (e.g. distance to the players character controller).
Ghost |
No |
Default implementation of Ghost |
Scale |
This function pointer will be invoked with collected data as described in Ghost |