# C1.Util.DX.Animation.Timer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Animation_Timer" data-uid="C1.Util.DX.Animation.Timer" class="text-break">Timer Class
</h1>
  <div class="markdown level0 summary"><p>IUIAnimationTimer</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><span class="xref">Timer</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Animation.html">C1.Util.DX.Animation</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.4.8.dll</h6>
  <h5 id="C1_Util_DX_Animation_Timer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;6B0EFAD1-A053-41d6-9085-33A689144665&quot;)]
public class Timer : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;6B0EFAD1-A053-41d6-9085-33A689144665&quot;)&gt;
Public Class Timer
    Inherits ComObject
    Implements IDisposable, IUnknown</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Animation_Timer__ctor_System_IntPtr_" data-uid="C1.Util.DX.Animation.Timer.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Animation.Timer.-ctor.html#C1_Util_DX_Animation_Timer__ctor_System_IntPtr_">Timer(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Animation.Timer.html">Timer</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Animation_Timer_Create" data-uid="C1.Util.DX.Animation.Timer.Create">
          <a class="xref" href="C1.Util.DX.Animation.Timer.Create.html#C1_Util_DX_Animation_Timer_Create">Create()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Animation.Timer.html">Timer</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Timer_Disable" data-uid="C1.Util.DX.Animation.Timer.Disable">
          <a class="xref" href="C1.Util.DX.Animation.Timer.Disable.html#C1_Util_DX_Animation_Timer_Disable">Disable()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationTimer::Disable()</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Timer_Enable" data-uid="C1.Util.DX.Animation.Timer.Enable">
          <a class="xref" href="C1.Util.DX.Animation.Timer.Enable.html#C1_Util_DX_Animation_Timer_Enable">Enable()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationTimer::Enable()</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Timer_GetTime" data-uid="C1.Util.DX.Animation.Timer.GetTime">
          <a class="xref" href="C1.Util.DX.Animation.Timer.GetTime.html#C1_Util_DX_Animation_Timer_GetTime">GetTime()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationTimer::GetTime([Out] double* seconds)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Timer_IsEnabled_" data-uid="C1.Util.DX.Animation.Timer.IsEnabled_">
          <a class="xref" href="C1.Util.DX.Animation.Timer.IsEnabled_.html#C1_Util_DX_Animation_Timer_IsEnabled_">IsEnabled_()</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationTimer::IsEnabled()</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Timer_SetFrameRateThreshold_System_Int32_" data-uid="C1.Util.DX.Animation.Timer.SetFrameRateThreshold(System.Int32)">
          <a class="xref" href="C1.Util.DX.Animation.Timer.SetFrameRateThreshold.html#C1_Util_DX_Animation_Timer_SetFrameRateThreshold_System_Int32_">SetFrameRateThreshold(int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IUIAnimationTimer::SetFrameRateThreshold([In] unsigned int framesPerSecond)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Timer_SetTimerEventHandler_C1_Util_DX_Animation_Timer_UpdateDelegate_C1_Util_DX_Animation_Timer_UpdateDelegate_C1_Util_DX_Animation_Timer_RenderingTooSlowDelegate_" data-uid="C1.Util.DX.Animation.Timer.SetTimerEventHandler(C1.Util.DX.Animation.Timer.UpdateDelegate,C1.Util.DX.Animation.Timer.UpdateDelegate,C1.Util.DX.Animation.Timer.RenderingTooSlowDelegate)">
          <a class="xref" href="C1.Util.DX.Animation.Timer.SetTimerEventHandler.html#C1_Util_DX_Animation_Timer_SetTimerEventHandler_C1_Util_DX_Animation_Timer_UpdateDelegate_C1_Util_DX_Animation_Timer_UpdateDelegate_C1_Util_DX_Animation_Timer_RenderingTooSlowDelegate_">SetTimerEventHandler(UpdateDelegate, UpdateDelegate, RenderingTooSlowDelegate)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies a timer event handler.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Animation_Timer_SetTimerUpdateHandler_C1_Util_DX_Animation_Manager2_C1_Util_DX_Animation_IdleBehavior_" data-uid="C1.Util.DX.Animation.Timer.SetTimerUpdateHandler(C1.Util.DX.Animation.Manager2,C1.Util.DX.Animation.IdleBehavior)">
          <a class="xref" href="C1.Util.DX.Animation.Timer.SetTimerUpdateHandler.html#C1_Util_DX_Animation_Timer_SetTimerUpdateHandler_C1_Util_DX_Animation_Manager2_C1_Util_DX_Animation_IdleBehavior_">SetTimerUpdateHandler(Manager2, IdleBehavior)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies a timer update handler.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Animation_Timer_op_Explicit_System_IntPtr__C1_Util_DX_Animation_Timer" data-uid="C1.Util.DX.Animation.Timer.op_Explicit(System.IntPtr)~C1.Util.DX.Animation.Timer">
          <a class="xref" href="C1.Util.DX.Animation.Timer.op_Explicit.html#C1_Util_DX_Animation_Timer_op_Explicit_System_IntPtr__C1_Util_DX_Animation_Timer">explicit operator Timer(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a> to <a class="xref" href="C1.Util.DX.Animation.Timer.html">Timer</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
