Panda3D
Loading...
Searching...
No Matches
TexViewer Class Reference
Inheritance diagram for TexViewer:
DirectObject

Public Member Functions

 __init__ (self, tex)
 
 cleanup (self)
 
- Public Member Functions inherited from DirectObject
 __init__ (self)
 
 accept (self, event, method, extraArgs=[])
 
 acceptOnce (self, event, method, extraArgs=[])
 
 addTask (self, *args, **kwargs)
 
 detectLeaks (self)
 
 doMethodLater (self, *args, **kwargs)
 
 getAllAccepting (self)
 
 ignore (self, event)
 
 ignoreAll (self)
 
 isAccepting (self, event)
 
 isIgnoring (self, event)
 
 removeAllTasks (self)
 
 removeTask (self, taskOrName)
 

Public Attributes

bool cleanedUp = False
 
 root = aspect2d.attachNewNode('texViewer')
 
 t2 = Texture('simple')
 
 tex = tex
 

Additional Inherited Members

- Static Public Attributes inherited from DirectObject
 accept_once = acceptOnce
 
 add_task = addTask
 
 detect_leaks = detectLeaks
 
 do_method_later = doMethodLater
 
 get_all_accepting = getAllAccepting
 
 ignore_all = ignoreAll
 
 is_accepting = isAccepting
 
 is_ignoring = isIgnoring
 
 remove_all_tasks = removeAllTasks
 
 remove_task = removeTask
 
- Protected Member Functions inherited from DirectObject
 _addTask (self, task)
 
 _clearTask (self, task)
 
- Protected Attributes inherited from DirectObject
dict _taskList = {}
 

Detailed Description

 A simple class to pop up a card onscreen to see the contents
of a texture. 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
tex )

Member Function Documentation

◆ cleanup()

cleanup ( self)

Member Data Documentation

◆ cleanedUp

bool cleanedUp = False

◆ root

root = aspect2d.attachNewNode('texViewer')

◆ t2

t2 = Texture('simple')

◆ tex

tex = tex