unode

class guerilla.unode

Bases: guerilla.scenegraphnode

A user scene graph node

setattributes(attributes)

Set the node attributes

Parameters:attributes ({string:value}) – the node attributes, as a dict of string to attribute value
setchildren(children)

Set the node children

Parameters:children ([scenegraphnode]) – the node children, as a list of scenegraphnode objects
setfilter(filter)

Set the node filter

Parameters:filter (int) – the node filter
setname(name)

Set the node name

Parameters:name (str) – the node name to set
settags(tags)

Set the node tags

Parameters:tags ([string]) – the node tags as a list of string
settransform(xform)

Set the node transform

Parameters:xform (transform) – the node transform
settransformmode(mode)

Set the node transform mode

Parameters:mode (int) – the node trnasform mode
settype(type)

Set the node type

Parameters:type (int) – the node type