Class tQuery.Mesh

include THREE.Mesh. It inherit from tQuery.Node

Class Summary
Constructor Attributes Constructor Name and Description
 
tQuery.Mesh(object)
Handle mesh

Method Summary

Class Detail

tQuery.Mesh(object)
Handle mesh
Parameters:
{THREE.Mesh} object
an instance or array of instance

Method Detail

  • back(back)
    getter/setter of the back pointer
    Defined in: tquery.node.js.
    Parameters:
    {Object} back
    the value to return when .back() is called. optional
  • {Boolean} each(callback)
    loop over element
    Defined in: tquery.node.js.
    Parameters:
    {Function} callback
    the function to notify. function(element){ }. loop interrupted if it returns false
    Returns:
    {Boolean} return true if completed, false if interrupted
  • {Boolean} get(callback)
    Retrieve the elements matched by the tQuery object
    Defined in: tquery.node.js.
    Parameters:
    {Function} callback
    the function to notify. function(element){ }. loop interrupted if it returns false
    Returns:
    {Boolean} return true if completed, false if interrupted
  • material(value)
    TODO to remove. this function is crap
    Parameters:
    value