Summary
A simble benchmark which records the average frame rate of an instances prefab over time.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Samples - Interfaces
- Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type-.->Interface0["IOnValidate"]
click Interface0 "/flexi-motion/api/FlexiMotion/IOnValidate"
Type["AverageFrameRateBenchmark"]
class Type type-node
Syntax
[AddComponentMenu(FMStrings.SamplesMenuPrefix + "Average Frame Rate Benchmark")]
[HelpURL(FMStrings.DocsURLs.SamplesAPIDocumentation + "/" + nameof(AverageFrameRateBenchmark))]
public class AverageFrameRateBenchmark : MonoBehaviour, IOnValidate
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| HelpURLAttribute |
Methods
| Name | Value | Summary |
|---|---|---|
| Awake |
void | |
| OnValidate |
void | |
| Update |
void |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| LogTemp |
T |
Debug.Log(message, context) with an [System.ObsoleteAttribute] warning so you remember
to remove any calls.
From FMUtilities
|
| SafeGetHashCode |
int |
Uses
System.Collections.Generic.EqualityComparer`1.Default to get a hash code.From FMUtilities
|