unodeΒΆ

class unode

A user scene graph node

Hierarchy

class unode < class scenegraphnode

Children classes : class urefnode

Members

Methods:

nil setattributes ( {string:value} attributes ) Set the node attributes
nil setchildren ( [scenegraphnode] children ) Set the node children
nil setfilter ( int filter ) Set the node filter
nil setname ( string name ) Set the node name
nil settags ( [string] tags ) Set the node tags
nil settransform ( transform xform ) Set the node transform
nil settransformmode ( int mode ) Set the node transform mode
nil settype ( int type ) Set the node type

Documentation

nil setattributes ( {string:value} attributes )

Set the node attributes

Arguments:

  • attributes the node attributes, as a dict of string to attribute value


nil setchildren ( [scenegraphnode] children )

Set the node children

Arguments:


nil setfilter ( int filter )

Set the node filter

Arguments:

  • filter the node filter


nil setname ( string name )

Set the node name

Arguments:

  • name the node name to set


nil settags ( [string] tags )

Set the node tags

Arguments:

  • tags the node tags as a list of string


nil settransform ( transform xform )

Set the node transform

Arguments:

  • xform the node transform


nil settransformmode ( int mode )

Set the node transform mode

Arguments:

  • mode the node trnasform mode


nil settype ( int type )

Set the node type

Arguments:

  • type the node type