Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Timer Class Reference

## Public Member Functions
| __init__ (self, name=None)
| addT (self, t)
| getT (self)
| isStarted (self)
| restart (self)
| resume (self)
| setT (self, t)
| start (self, t, name)
| startCallback (self, t, callback)
| stop (self)

## Public Attributes
| callback = None
float | currT = 0.0
float | finalT = 0.0
| name = name
int | started = 0
| startT = globalClock.getFrameTime()

## Static Public Attributes
int | id = 0

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | name = None )

## Member Function Documentation

## ◆ addT()

addT | ( |  | self,
|  |  | t )

## ◆ getT()

getT | ( |  | self | ) |

## ◆ isStarted()

isStarted | ( |  | self | ) |

## ◆ restart()

restart | ( |  | self | ) |

## ◆ resume()

resume | ( |  | self | ) |

## ◆ setT()

setT | ( |  | self,
|  |  | t )

## ◆ start()

start | ( |  | self,
|  |  | t,
|  |  | name )

## ◆ startCallback()

startCallback | ( |  | self,
|  |  | t,
|  |  | callback )

## ◆ stop()

stop | ( |  | self | ) |

## Member Data Documentation

## ◆ callback

callback = None

## ◆ currT

currT = 0.0

## ◆ finalT

finalT = 0.0

## ◆ id

int id = 0
| static

## ◆ name

name = name

## ◆ started

started = 0

## ◆ startT

startT = globalClock.getFrameTime()