Sets the position of a frame relative to the frame of reference. It places the frame a distance of [rvX, rvY, rvZ] from the reference. When a child frame is created within a parent, it is placed at [0, 0, 0] in the parent frame.
HRESULT SetPosition(
LPDIRECT3DRMFRAME lpRef,
D3DVALUE rvX,
D3DVALUE rvY,
D3DVALUE rvZ
);
Parameters
lpRef
Address of a variable that represents the Direct3DRMFrame object to be used as the reference.
rvX, rvY, and rvZ
New position for the frame.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
Remarks
This method is also used to add a position key to a Direct3DRMFrameInterpolator object.
See Also