|
Methods defined here:
- __init__(self, w, h, fullscreen, title)
- addGeometryNode(self, objectHandle, bone=0)
- addGeometryPiece(self, node, iType, info, offset, ypr, effect='', effectParams={})
- addToWorld(self, worldHandle, objectHandle)
- attachController(self, objectHandle, controllerType, boneName)
- attachObject(self, objectHandle, toObjectHandle, connectionPointName='', toConnectionPointName='')
- attachView(self, windowHandle, viewHandle)
- attachWindow(self, windowHandle, xoffset, yoffset, objectHandle, viewHandle, nodeName)
- createEmptyBody(self, xyz=(0.0, 0.0, 0.0), label='emptyBody')
- createFont(self, fontName, size, flag)
- createObject(self, model)
- createView(self, world)
- createWorld(self)
- destroyFont(self, fontHandle)
- destroyObject(self, handle)
- destroyView(self, viewHandle)
- destroyWorld(self, worldHandle)
- detachController(self, objectHandle, controllerHandle)
- detachObject(self, objectHandle, fromObjectHandle)
- detachWindow(self, windowHandle)
- dumpCache(self)
- getCameraDir(self, viewHandle)
- getCameraPos(self, viewHandle)
- getCameraYPR(self, viewHandle)
- getDesktopWindow(self)
- getNodeEffect(self, node, num)
- getNodeProjectedPos(self, nodeHandle, viewHandle)
- getObjectNode(self, objectHandle, nodeName, LODLevel)
- getObjectProjectedPos(self, objectHandle, viewHandle)
- loadAnimation(self, animation)
- loadMusic(self, waveFileName)
- loadSound(self, waveFileName)
- moveCamera(self, viewHandle, offset)
- moveObject(self, objectHandle, delta, moveRate, turnRate=0, onCompleted=None)
- moveObjectTo(self, objectHandle, location, moveRate, turnRate=0, onCompleted=None)
- pickView(self, viewHandle, xy)
- playMusic(self, waveFileName, completionCallback=None)
- playSound(self, waveFileName, completionCallback=None)
- removeFromWorld(self, worldHandle, objectHandle)
- rotateObject(self, objectHandle, delta, turnRate, onCompleted=None)
- rotateObjectTo(self, objectHandle, orientation, turnRate, onCompleted=None)
- setCameraPos(self, viewHandle, pos)
- setCameraYPR(self, viewHandle, YPR)
- setController(self, controllerHandle, **parms)
- setEffectParameters(self, effect, parms)
- setLightParameters(self, viewHandle, YPR)
- setObjectAnimation(self, objectHandle, animation, onCompleted=None, blendTime=0.0, loop=1)
- setObjectPos(self, objectHandle, pos)
- setObjectScale(self, objectHandle, scale)
- setObjectYPR(self, objectHandle, YPR)
- setViewParameters(self, viewHandle, parameters)
- setViewProjectionMode(self, viewHandle, projectionMode)
- setWindowEffect(self, windowHandle, effectName)
- stopMusic(self, waveFileName)
- stopSound(self, waveFileName)
- toggleDebugInfo(self)
- updateWorld(self, worldHandle)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'pyui.renderer3d'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
Methods inherited from pyui.rendererBase.RendererBase:
- addRect(self, rect)
- createWindow(self, title)
- describeWindow(self, windowHandle, drawList)
- destroyWindow(self, windowHandle)
- doesDirtyRects(self)
- draw(self, windows)
- drawGradient(self, rect, c1, c2, c3, c4)
- Draws a gradient rectangle
- drawImage(self, rect, filename, pieceRect=None)
- Draws an image at a position
- drawImageRotated(self, rect, filename, rotDegrees, textureEffect)
- drawLine(self, x1, y1, x2, y2, color)
- Draws a line
- drawRect(self, color, rect)
- Fills a rectangle with the specified color.
- drawText(self, text, pos, color, font=None)
- Draws the text on the screen in the specified position
- drawView(self, rect, handle)
- getImageSize(self, filename)
- Return the width and height of the image
- getMustFill(self)
- getScreenSize(self)
- getTextSize(self, text, font=None)
- loadImage(self, filename, label=None)
- moveToFront(self, windowHandle)
- moveWindow(self, windowHandle, x, y)
- packColor(self, r, g, b, a=255)
- quit(self)
- readTimer(self)
- run(self, callback=None)
- This is a default way of _running_ an application using
the current renderer.
- setBackMethod(self, drawBackMethod, *args)
- Set the method used to draw the background.
- setClipping(self, rect=None)
- set the clipping rectangle for the main screen. defaults to clearing the clipping rectangle.
- setDrawList(self, drawList)
- setMustFill(self)
- setWindowTitle(self, title)
- sets the title of the OS main window.
- setup2D(self)
- must be called in background drawing method to do 2D drawing.
- teardown2D(self)
- must be called in background drawing method to end 2D drawing.
- unpackColor(self, color)
- update(self)
Data and non-method functions inherited from pyui.rendererBase.RendererBase:
- name = 'Base'
- str(object) -> string
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
|