public void setDefinition(ShaderNodeDefinition definition) {
        this.definition = definition;
    }
Sets the shader node definition.

@param definition the shader node definition.
jme3-core/src/main/java/com/jme3/shader/ShaderNode.java