AverageFrameRateBenchmark Class

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<AverageFrameRateBenchmark>(Object) T
Debug.Log(message, context) with an [System.ObsoleteAttribute] warning so you remember to remove any calls.
SafeGetHashCode<AverageFrameRateBenchmark>() int
Uses System.Collections.Generic.EqualityComparer`1.Default to get a hash code.