rect3D%u -color [#RGB | #RRGGBB | #RRRGGGBBB | #RRRRGGGGBBBB | %f %f %f]
| get/set rectangle wireframe color
|
rect3D%u -destroy
| destroy a 3D rectangle
|
rect3D%u -direction X | Y
| outputs the 4 line parameters of the 2 orthogonal directions of the rectangle
|
rect3D%u -flipNormals
| flip the surface normals for display
|
rect3D%u -highlightTexture [text2D%u]
| get/set the highlight texture
|
rect3D%u -kind
| returns the name of the object kind associated with a given object
|
rect3D%u -material [%f %f %f %f %f %f %f %f %f %f %f %f %f | %f %f %f %f %f %f %f %f %f %f | #RGB | #RRGGBB | #RRRGGGBBB | #RRRRGGGGBBBB | [ambient %f %f %f [%f]] [diffuse %f %f %f [%f]] [specular %f %f %f [%f]] [shininess %f]] [emission %b %f %f %f [%f]]]
| get/set rectangle material
|
rect3D%u -point %u
| outputs the coordinates of each of the 4 points
|
rect3D%u -render [hide | wireframe | flat | solid | wireframesolid | hiddenlines | transparency | wireframetransparency]
| get/set rectangle render mode
|
rect3D%u -renderOption
| get the list of possible rendering modes for a rectangle
|
rect3D%u -texture1D [text2D%u]
| get/set a given 1D texture
|
rect3D%u -texture1DOption [ use [true | false] | | interpolation [nearest|linear] | extrapolation [ clamp | repeat ] | mode [ spherical | coordinates | planar | camera ] | sparam [ %f %f %f %f ] | tparam [ %f %f %f %f ] ]
| get/set 1D texture display properties
|
rect3D%u -texture2D [text2D%u]
| get/set a given 2D texture
|
rect3D%u -texture2DOption [ replaceLighting [true | false] | use [true | false] | useHighlightTexture [true | false] | interpolation [nearest|linear] | extrapolation [ clamp | repeat ] | mode [ spherical | coordinates | planar | camera ] | sparam [ %f %f %f %f ] | tparam [ %f %f %f %f ] ]
| get/set 2D texture display properties
|
rect3D%u -textureScale [%f %f]
| get/set texture coordinates scale
|