Public Member Functions | |
| HRESULT | LoadAttributes ([in] RtPhysAttr *attr) |
| HRESULT | GetAttributes ([out] RtPhysAttr *attr) |
| HRESULT | SetPhysNode ([in] IRsNode *pNode) |
| HRESULT | GetPhysNode ([in] IRsNode **ppNode) |
| HRESULT | Active ([out] RtBool *bActive) |
| HRESULT | SetSpeed ([in] RtPoint *speed,[in] RtPoint *rotation) |
| HRESULT IRdPhysObjAttr::LoadAttributes | ( | [in] RtPhysAttr * | attr | ) |
Load phys attributes.
| attr | [in] phys attributes. |
| HRESULT IRdPhysObjAttr::GetAttributes | ( | [out] RtPhysAttr * | attr | ) |
Get phys attributes.
| attr | [out] phys attributes. |
| HRESULT IRdPhysObjAttr::SetPhysNode | ( | [in] IRsNode * | pNode | ) |
Set object (with IRnPhysActiveAttr) with phys attributes.
| pNode | [in] object. |
| HRESULT IRdPhysObjAttr::GetPhysNode | ( | [in] IRsNode ** | ppNode | ) |
Return object (with IRnPhysActiveAttr) with phys attributes.
| ppNode | [in] object. |
| HRESULT IRdPhysObjAttr::Active | ( | [out] RtBool * | bActive | ) |
Return whether attributes belongs to active or inactive object in simulation. Active means that object is simulated by engine.
| bActive | [out] if TRUE object is active, if FALSE object is inactive. |
Set speed and rotation.
| speed | [in] speed of object. | |
| rotation | [in] rotation of object. |
1.5.5