ViewportObjectID =  mesh .quad .display  (  PosX ,  PosY ,  Width ,  Height ,  TextureName ,  TrackObjectID  )  
                                                         
Description :

This instruction creates a quad and displays it.

Parameters :

  • X component of the left corner of the viewport.
  • Y component of the left corner of the viewport.
  • Width of the viewport.
  • Height of the viewport.
  • Path and filename to the correct texture file. The path can be an Internet address or a local (hard disk) address. Should the path be unspecified, Alambik will search for the file in the current directory of the current local hard disk.
  • ObjectID of the track to assign to the primitive.

Return Handle :

  • ObjectID of the viewport containing the primitive.

Notes :


With this instruction, you can use quads without needing 3D knowledge. You do not have control over the quad, but only over the viewport which displays it.

Examples :