Submitted by Leonard Daly on
(node-name, component-name, definition-function)
A method for creating the definition of a node. The arguments are:
- node-name: A string containing the name of the node
- component-name: A string containing the name of the node's component (see X3D standard - 19775-1)
- definition-function: The function that defines the node object. The utility function defineClass is usually used.
This method is (by convention) stored in a file with the same name as the node in the component directory.
- Log in to post comments