Photon Fusion
2.0.8
Provides a set of methods to profile the engine. More...
Public Types | |
| enum class | InternalSimulationType : uint |
| Enum representing internal simulation types. To be used with EngineProfiler callbacks. More... | |
Static Public Member Functions | |
| static void | Begin (string sample) |
| Begins a profiling sample with the specified name. More... | |
| static void | End () |
| Ends the current profiling sample. More... | |
| static void | InputQueue (int value) |
| Invokes the input queue callback with the specified value. More... | |
| static void | InputRecvDelta (float value) |
| Invokes the input receive delta callback with the specified value. More... | |
| static void | InputRecvDeltaDeviation (float value) |
| Invokes the input receive delta deviation callback with the specified value. More... | |
| static void | InputSize (int value) |
| Invokes the input size callback with the specified value. More... | |
| static unsafe void | InternalObjectAllocated (InternalSimulationType typeId, int size) |
| Invokes the simulation offset deviation callback with the specified value. More... | |
| static unsafe void | InternalObjectFreed (InternalSimulationType typeId, int size) |
| Invokes the simulation offset deviation callback with the specified value. More... | |
| static void | InterpolationOffset (float value) |
| Invokes the interpolation offset callback with the specified value. More... | |
| static void | InterpolationOffsetDeviation (float value) |
| Invokes the interpolation offset deviation callback with the specified value. More... | |
| static void | InterpolationSpeed (float value) |
| Invokes the interpolation speed callback with the specified value. More... | |
| static void | PacketDelivered (PacketInfo info) |
| static void | PacketIn (PacketInfo info) |
| static void | PacketLost (PacketInfo info) |
| static void | PacketOut (PacketInfo info) |
| static void | Resimulations (int value) |
| Invokes the resimulations callback with the specified value. More... | |
| static void | RoundTripTime (float value) |
| Invokes the round trip time callback with the specified value. More... | |
| static void | RpcIn (int value) |
| Invokes the RPC in callback with the specified value. More... | |
| static void | RpcOut (int value) |
| Invokes the RPC out callback with the specified value. More... | |
| static void | SimulationOffset (float value) |
| Invokes the simulation offset callback with the specified value. More... | |
| static void | SimulationOffsetDeviation (float value) |
| Invokes the simulation offset deviation callback with the specified value. More... | |
| static void | SimulationSpeed (float value) |
| Invokes the simulation speed callback with the specified value. More... | |
| static void | StateRecvDelta (float value) |
| Invokes the state receive delta callback with the specified value. More... | |
| static void | StateRecvDeltaDeviation (float value) |
| Invokes the state receive delta deviation callback with the specified value. More... | |
| static void | UDPPacketsOut (int count) |
| static void | WorldSnapshotSize (int value) |
| Invokes the world snapshot size callback with the specified value. More... | |
Static Public Attributes | |
| static Action< int > | InputQueueCallback |
| Callback for input queue profiling. More... | |
| static Action< float > | InputRecvDeltaCallback |
| Callback for input receive delta profiling. More... | |
| static Action< float > | InputRecvDeltaDeviationCallback |
| Callback for input receive delta deviation profiling. More... | |
| static Action< int > | InputSizeCallback |
| Callback for input size profiling. More... | |
| static Action< InternalSimulationType, int > | InternalObjectAllocatedCallback |
| Callback for simulation offset deviation profiling. More... | |
| static Action< InternalSimulationType, int > | InternalObjectFreedCallback |
| Callback for simulation offset deviation profiling. More... | |
| static Action< float > | InterpolationOffsetCallback |
| Callback for interpolation offset profiling. More... | |
| static Action< float > | InterpolationOffsetDeviationCallback |
| Callback for interpolation offset deviation profiling. More... | |
| static Action< float > | InterpolationSpeedCallback |
| Callback for interpolation speed profiling. More... | |
| static Action< PacketInfo > | PacketDeliveredCallback |
| static Action< PacketInfo > | PacketInCallback |
| static Action< PacketInfo > | PacketLostCallback |
| static Action< PacketInfo > | PacketOutCallback |
| static Action< int > | ResimulationsCallback |
| Callback for resimulations profiling. More... | |
| static Action< float > | RoundTripTimeCallback |
| Callback for round trip time profiling. More... | |
| static Action< int > | RpcInCallback |
| Callback for RPC in profiling. More... | |
| static Action< int > | RpcOutCallback |
| Callback for RPC out profiling. More... | |
| static Action< float > | SimulationOffsetCallback |
| Callback for simulation offset profiling. More... | |
| static Action< float > | SimulationOffsetDeviationCallback |
| Callback for simulation offset deviation profiling. More... | |
| static Action< float > | SimulationSpeedCallback |
| Callback for simulation speed profiling. More... | |
| static Action< float > | StateRecvDeltaCallback |
| Callback for state receive delta profiling. More... | |
| static Action< float > | StateRecvDeltaDeviationCallback |
| Callback for state receive delta deviation profiling. More... | |
| static Action< int > | UDPPacketsOutCallback |
| static Action< int > | WorldSnapshotSizeCallback |
| Callback for world snapshot size profiling. More... | |
Provides a set of methods to profile the engine.
|
strong |
Enum representing internal simulation types. To be used with EngineProfiler callbacks.
| Enumerator | |
|---|---|
| Object | |
| ObjectChanges | |
| ObjectSnapshot | |
| Message | |
| Input | |
| PacketEnvelope | |
| MessageEnvelope | |
| ObjectPacketData | |
|
static |
Begins a profiling sample with the specified name.
| sample | The name of the profiling sample. |
|
static |
Ends the current profiling sample.
|
static |
Invokes the input queue callback with the specified value.
| value | The input queue value. |
|
static |
Invokes the input receive delta callback with the specified value.
| value | The input receive delta value. |
|
static |
Invokes the input receive delta deviation callback with the specified value.
| value | The input receive delta deviation value. |
|
static |
Invokes the input size callback with the specified value.
| value | The input size value. |
|
static |
Invokes the simulation offset deviation callback with the specified value.
|
static |
Invokes the simulation offset deviation callback with the specified value.
|
static |
Invokes the interpolation offset callback with the specified value.
| value | The interpolation offset value. |
|
static |
Invokes the interpolation offset deviation callback with the specified value.
| value | The interpolation offset deviation value. |
|
static |
Invokes the interpolation speed callback with the specified value.
| value | The interpolation speed value. |
|
static |
Invokes the resimulations callback with the specified value.
| value | The resimulations value. |
|
static |
Invokes the round trip time callback with the specified value.
| value | The round trip time value. |
|
static |
Invokes the RPC in callback with the specified value.
| value | The RPC in value. |
|
static |
Invokes the RPC out callback with the specified value.
| value | The RPC out value. |
|
static |
Invokes the simulation offset callback with the specified value.
| value | The simulation offset value. |
|
static |
Invokes the simulation offset deviation callback with the specified value.
| value | The simulation offset deviation value. |
|
static |
Invokes the simulation speed callback with the specified value.
| value | The simulation speed value. |
|
static |
Invokes the state receive delta callback with the specified value.
| value | The state receive delta value. |
|
static |
Invokes the state receive delta deviation callback with the specified value.
| value | The state receive delta deviation value. |
|
static |
Invokes the world snapshot size callback with the specified value.
| value | The world snapshot size value. |
|
static |
Callback for input queue profiling.
|
static |
Callback for input receive delta profiling.
|
static |
Callback for input receive delta deviation profiling.
|
static |
Callback for input size profiling.
|
static |
Callback for simulation offset deviation profiling.
|
static |
Callback for simulation offset deviation profiling.
|
static |
Callback for interpolation offset profiling.
|
static |
Callback for interpolation offset deviation profiling.
|
static |
Callback for interpolation speed profiling.
|
static |
Callback for resimulations profiling.
|
static |
Callback for round trip time profiling.
|
static |
Callback for RPC in profiling.
|
static |
Callback for RPC out profiling.
|
static |
Callback for simulation offset profiling.
|
static |
Callback for simulation offset deviation profiling.
|
static |
Callback for simulation speed profiling.
|
static |
Callback for state receive delta profiling.
|
static |
Callback for state receive delta deviation profiling.
|
static |
Callback for world snapshot size profiling.