SimpleTimer.

SimpleTimer(string, string) Constructor

Summary

Creates a new Animancer.SimpleTimer with the specified `name`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
SimpleTimer

Syntax

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public SimpleTimer(string name, string format = "0.000")

Remarks

You will need to call Animancer.SimpleTimer.Start to start the timer. Or use the static Animancer.SimpleTimer.Start(System.String,System.String).

Use null as the `format` to have Animancer.SimpleTimer.Format(System.Int64) return the ticks instead of seconds.

Attributes

Type Description
MethodImplAttribute

Parameters

Name Type Description
name string
format string

Return Value

Type Description
void