Rapid-Q Direct3D Component by John Kelly | Appendix B: QD3DCloneMesh |
Field | Type | R/W | Default |
CloneNum | INTEGER number of copies of the mesh object | R/W |
File | STRING filename of .X or .3DS 3d model | R/W | |
Mesh | QD3DMESHBUILDER (see other docs) | R/W |
Frame | Array (0-100) OF QD3DFRAME | R/W |
Range | QRECT Set the range that the objects can be place in the x-z plane | R/W |
RandPos | INTEGER randomly generate positions | R/W | |
RandScale | INTEGER randomly generate sizes | ||
Pos | Array(0-100) OF QD3DVECTOR each clone can have a unique
location, eg., box.pos(1).x = -1 : box.pos(2).x = 11 box.pos(1).y = 12 : box.pos(2).y = 2 box.pos(1).z = 10 : box.pos(2).z = -23 | R/W | |
Orient | Array(0-100) OF QD3DOrientVector set the orientation ('6 element vector) for each clone | R/W | |
Visible | INTEGER | R/W |
Method | Type | Description | Params |
The following Methods require passing the QDXScreen as an argument for creation of faces and meshes | |||
Init | SUB (DXscreen AS QDXSCREEN) | Must call this first before rendering |
Event | Type | Occurs when... | Params |
QD3DCloneMesh Examples See the 3DPong_aDelic.bas example in QD3DPrimative docs.