Appendix B: QD3DMESHBUILDER
| Rapid-Q Documentation by William Yu (c)1999 |
Appendix B: QD3DMESHBUILDER |
|
QD3DMESHBUILDER Component
QD3DMeshBuilder implements IDirect3DRMMeshBuilder.
QD3DMeshBuilder Properties
| Field | Type | R/W | Default |
|
|
|
|
| FaceCount | INTEGER | R | |
QD3DMeshBuilder Methods
| Method | Type | Description | Params |
|
|
|
|
| AddFace | SUB (Face AS QD3DFace) | Add a face to mesh object | 1 |
| AddVertex | SUB (X#, Y#, Z#) | Add a vertex | 3 |
| CreateFace | SUB (Face AS QD3DFace) | Creates a new face with no vertices | 1 |
| CreateMesh | SUB (Mesh AS QD3DMesh) | Create mesh from meshbuilder | 1 |
| DeleteFace | SUB (Face AS QD3DFace) | Delete face from meshbuilder | 1 |
| GetFace | SUB (Index AS LONG, Face AS QD3DFace) | Get a single mesh face | 2 |
| Load | SUB (S AS STRING) | Load an object file (.x file) | 1 |
| Move | SUB (D AS DOUBLE) | Moves frame (rotate) | 1 |
| Scale | SUB (X#,Y#,Z#) | Scale object | 3 |
| SetQuality | SUB (Quality AS INTEGER) | Set rendering quality | 1 |
| SetRGB | SUB (R#, G#, B#) | Set object's color | 3 |
| SetRGBA | SUB (R#, G#, B#, A#) | Add color w/alphablending | 4 |
| SetTexture | SUB (Tex AS QD3DTexture) | Add texture backdrop to object | 1 |
| Translate | SUB (TX#, TY#, TZ#) | Translate is a move operation but in 3D | 3 |
QD3DMeshBuilder Events
| Event | Type | Occurs when... | Params |
|
|
|
|
QD3DMeshBuilder Examples
|
|