Rapid-Q Documentation by William Yu (c)1999 Appendix B: QD3DFRAME


QD3DFRAME Component

QD3DFrame implements IDirect3DRMFrame.

QD3DFrame Properties
Field Type R/W Default




FogColor INTEGER RW
FogEnabled INTEGER RW
FogMode INTEGER RW

QD3DFrame Methods
Method Type Description Params




AddFrame SUB (Frame AS QD3DFrame) Add a frame to this frame 1
AddLight SUB (Light AS QD3DLight) Add light object to frame 1
AddScale SUB (CombineType%, X#, Y#, Z#) Add scale 4
AddVisual SUB (Visual AS QD3DMeshBuilder/QD3DMesh/QD3DVisual) Add visual object to frame 1
CreateFrame SUB (Frame AS QD3DFrame) Create frame relative to this 1
DeleteFrame SUB (Frame AS QD3DFrame) Removes a frame from hierarchy 1
DeleteLight SUB (Light AS QD3DLight) Removes light object from frame 1
DeleteVisual SUB (Visual AS QD3DMeshBuilder/QD3DMesh/QD3DVisual) Removes visual object from frame 1
Load SUB (FileName AS STRING) Load a frame from .X file 1
LookAt SUB (F AS QD3DFrame, Constraint AS INTEGER) Fix frame and constrain rotation 2
Move SUB (D AS DOUBLE) Moves frame (rotate) 1
SetBackgroundImage SUB (Texture AS QD3DTexture) Add texture to frame 1
SetBackgroundRGB SUB (R#, G#, B#) Set background color 3
SetFogParams SUB (Start#, End#, Density#) Set fog parameters 3
SetOrientation SUB (DX#, DY#, DZ#, UX#, UY#, UZ#) Set orientation of frame 6
SetPosition SUB (X#, Y#, Z#) Set viewing position of frame 3
SetRotation SUB (X#, Y#, Z#, Theta#) Set rotation relative to X,Y,Z 4
SetTexture SUB (Tex AS QD3DTexture) Add texture backdrop to frame 1

QD3DFrame Events
Event Type Occurs when... Params






QD3DFrame Examples
Prev ComponentContentsNext Component