<viz>.addTexQuad

Adds a texture quad.

 

<viz>.addTexQuad(
    parent = viz.WORLD    
    scene = viz.MainScene    
    size = 0    

)

 

parent = viz.WORLD

viz.WORLD
viz.SCREEN
viz.HEAD
viz.ORTHO
<node3d> object


scene = viz.MainScene

If the parent is viz.WORLD, viz.SCREEN, or viz.HEAD, then the argument represents the scene to add the object to.
If the parent is viz.ORTHO, then the argument represents the window to add the object to.
If the parent is a valid node3d object, then the argument is ignored.


size = 0


Remarks

A texture quad is a square polygon which is usually used to display textures.

Return Value

<node3d> object

Example

texQuad = viz.addTexQuad()