The Direct3dRMFrame Class contains the following methods:
addChild adds a child frame to a frame hierarchy.
addLight adds a light to a frame.
addMoveCallback adds a callback function for special movement processing.
addRotation adds a rotation about (x, y, z) by the number of radians specified in theta.
addScale scales a frame's local transformation by (sx, sy, sz).
addTransform transforms the local coordinates of the frame by the given affine transformation according to the value of the t parameter.
addTranslation adds a translation by (x, y, z) to a frame's local coordinate system.
addVisual adds a visual object to a frame.
addVisualFrame adds a visual frame to the frame object.
addVisualMesh adds a visual mesh to the frame object.
addVisualMeshBuilder adds a mesh builder object to the frame object.
addVisualShadow adds a shadow object to the frame object.
addVisualTexture adds a texture object to the frame object.
addVisualUserVisual adds a user visual object to the frame object.
deleteChild removes a frame from the hierarchy.
deleteLight removes a light from a frame and destroys it if it is no longer referenced.
deleteMoveCallback removes a callback function that performed special motion processing.
deleteVisual removes a visual object from a frame and destroys it if it is no longer referenced.
deleteVisualFrame deletes a visual frame from the frame object.
deleteVisualMesh deletes a mesh object from the frame object.
deleteVisualMeshBuilder deletes a mesh builder object from the frame object.
deleteVisualShadow deletes a shadow object from the frame object.
deleteVisualTexture deletes a shadow object from the frame object.
deleteVisualUserVisual deletes a user visual object from the frame object.
getChildren retrieves a list of child frames in the form of a Direct3dRMFrameArray object.
getColor retrieves the color of the frame.
getLights retrieves a list of lights in the frame in the form of a Direct3dRMLightArray object.
getMaterialMode retrieves the material mode of the frame.
getOrientation retrieves the orientation of a frame relative to the given reference frame.
getParent retrieves the parent frame of the current frame.
getPosition retrieves the position of a frame, relative to the given reference frame.
getRotation retrieves the rotation of the frame, relative to the given reference frame.
getScene retrieves the root frame of the hierarchy containing the given frame.
getSceneBackground retrieves the background color of a scene.
getSceneBackgroundDepth retrieves the current background-depth buffer for the scene.
getSceneFogColor retrieves the fog color of a scene.
getSceneFogEnable returns whether fog is currently enabled for this scene.
getSceneFogMode retrieves the current fog mode for this scene.
getSceneFogParams retrieves the current fog parameters for this scene.
getSortMode retrieves the sorting mode used to process child frames.
getTexture retrieves the texture of the given frame.
getTextureTopology retrieves the topological properties of a texture when it is mapped onto objects in the given frame.
getTransform retrieves the local transformation of the frame as a 4-by-4 affine matrix.
getVelocity retrieves the velocity of the frame, relative to the given reference frame.
getVisuals retrieves a list of visuals in the frame.
getZbufferMode determines whether z-buffering is enabled or disabled.
inverseTransform transforms the vector in the s parameter in world coordinates to model coordinates, and returns the result in the d parameter.
loadFromFileByPos loads a Direct3dRMFrame object.
lookAt faces the frame toward the target frame (relative to the given reference frame) and locks the rotation by the given constraints.
move applies the rotations and velocities for all frames in the given hierarchy.
setColor sets the color of the frame. This color is used for meshes in the frame when the material mode is D3DRMMATERIAL_FROMFRAME.
setColorRGB sets the color of the frame.
setMaterialMode sets the material mode for a frame.
setOrientation aligns a frame so that its z-direction points along the direction vector [dx, dy, dz] and its y-direction aligns with the vector [ux, uy, uz].
setPosition sets the position of a frame, relative to the frame of reference.
setRotation sets a frame rotating by the given angle around the given vector at each call to the tick or move method.
setSceneBackground sets the background color of a scene.
setSceneBackgroundDepth specifies a background-depth buffer for a scene.
setSceneBackgroundImage specifies a background image for a scene.
setSceneBackgroundRGB sets the background color of a scene, using an RGB value.
setSceneFogColor sets the fog color of a scene.
setSceneFogEnable sets the fog enable state.
setSceneFogMode sets the fog mode.
setSceneFogParams sets the current fog parameters for the scene.
setSortMode sets the sorting mode used to process child frames.
setTexture sets the texture of the frame.
setTextureTopology defines the topological properties of the texture coordinates across objects in the frame.
setVelocity sets the velocity of the given frame relative to the reference frame.
setZbufferMode sets the z-buffer mode (that is, whether z-buffering is enabled or disabled).
transform transforms the vector in the s parameter, which is in model coordinates, into world coordinates.