Module vrNodePtr
[frames] | no frames]

Module vrNodePtr

Classes
NodePtr
vrNodePtr
The NodePtr class is python representation of a node within the scenegraph.
Functions
 
createLight(type)
Deprecated.
vrNodePtr
toNode(id)
Returns a node with the node id provided.
Function Details

createLight(type)

 

Deprecated. Use API v2 vrLightService.createLight(name, type) instead.

Creates a light node with the given light type and adds it to the root node of the scenegraph.

Supported types are: UDirectionalLight, USpotLight, UPointLight, UDiskLight, URectangularLight, USphericalLight, URayLight.

Parameters:
  • type (string) - The type of the light.

toNode(id)

 

Returns a node with the node id provided.

Parameters:
  • id (unsigned int (32bit)) - The node id.
Returns: vrNodePtr
The node.