IRfNtCSSFn Interface Reference

Inherits IRsObject.

List of all members.

Public Member Functions

HRESULT AddLinkButton ([in] IRsNode *pSpaceNode,[in] IRdBitmap *pBtnBitmap,[out, retval] IRsNode **ppBtnNode)
HRESULT AddSSLinkInfo ([in] IRsNode *pBtnNode,[in] BSTR bstrDesiredName,[in] BSTR bstrServerAddr,[in] RtDWORD dwServerPort,[in] RtFloat fRefreshRate,[out] IRsNode **ppSSSNode)


Detailed Description

Function set helps to create link button to a Shared Space.

Member Function Documentation

HRESULT IRfNtCSSFn::AddLinkButton ( [in] IRsNode pSpaceNode,
[in] IRdBitmap pBtnBitmap,
[out, retval] IRsNode **  ppBtnNode 
)

AddLinkButton: Create and add Link 3D button into current scene and current 3D link toolbar.

  • If CSS toolbar doesn't exist, create it first.
Parameters:
pSpaceNode [in] Space in which should be the button/toolbar placed.
pBtnBitmap [in] Button bitmap, can be NULL.
Returns:
ppBtnNode [out,retval] IRsNode interface of the created button. S_OK - If the button (and toolbar) was successfully created or other standard error code.

HRESULT IRfNtCSSFn::AddSSLinkInfo ( [in] IRsNode pBtnNode,
[in] BSTR  bstrDesiredName,
[in] BSTR  bstrServerAddr,
[in] RtDWORD  dwServerPort,
[in] RtFloat  fRefreshRate,
[out] IRsNode **  ppSSSNode 
)

AddSSLinkInfo: Add Shared Space Settings info into button (or other encapsulator) node.

Parameters:
pBtnNode [in] The button or other node into which you want add the Shared Space link info.
bstrDesiredName [in] Desired name of the shared space.
bstrServerAddr [in] Server address.
dwServerPort [in] Server port address.
fRefreshRate [in] Desired refresh rate.
ppSSSNode [out] IRsNode interface of the created button.
Returns:
S_OK - If the button (and toolbar) was successfully created. other ErrCode.


Generated on Wed May 20 21:32:12 2009 for trueSpace7.6 SDK by  doxygen 1.5.5