[This is preliminary documentation and is subject to change.]

Provides various CAI utility constants and methods.

Namespace: org.critterai
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static class CAIUtil
Public NotInheritable Class CAIUtil
public ref class CAIUtil abstract sealed

Members

         
 All Members  Fields   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
GetNowDeltaMS(Int64)
Gets the number of milliseconds from the start DateTime tick to now.
GetNowDeltaSec(Int64)
Gets the number of seconds from the start DateTime tick to now.
MSToTicks
Converts milliseconds to DateTime ticks. (ticks = ms * MSToTicks)
SecToTicks
Converts seconds to DateTime ticks. (tick = seconds * SecToTicks)
TicksToMS
Converts DateTime ticks to milliseconds. (ms = ticks * TicksToMS)
TicksToSec
Converts DateTime ticks to seconds. (seconts = ticks * TicksToSec)

Inheritance Hierarchy

System..::..Object
  org.critterai..::..CAIUtil

See Also