Vizard 8 » Command Index » Vizard modules » vizshape » <vizshape>.addQuad
8.1

<vizshape>.addQuad

Adds a quad

<vizshape>.addQuad(  
size = [1,1]  
axis = -vizshape.AXIS_Z  
cullFace = False  
)  
size = [1,1]
Quad dimensions
axis = -vizshape.AXIS_Z
Can be a positive or negative value of one of the following:

Flag

Description

vizshape.AXIS_X

Shape will point toward the X axis when added

vizshape.AXIS_Y

Shape will point toward the Y axis when added

vizshape.AXIS_Z

Shape will point toward the Z axis when added

cullFace = False
Determines quad visibility when viewing from backside. When the argument is set to False the quad is visible.

Remarks

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

Return Value

<node3D> object

Example

import vizshape

quad = vizshape.addQuad()