MFnDataとMFnAttribute

ほぼコピペ状態になるけど、並べておきたいのでメモ。

MFnData Class Reference

MFnDataが持つenum

Types of dependency graph data.

  • kInvalid Invalid value.

  • kPlugin Plugin Blind Data, use MFnPluginData to extract the node data.
  • kPluginGeometry Plugin Geometry, use MFnGeometryData to extract the node data.
  • kDynSweptGeometry SweptGeometry, use MFnDynSweptGeometryData to extract the node data. This data node is in OpenMayaFX which must be linked to.
  • kNObject nObject data, use MFnNObjectData to extract node data

  • kLast Last value. It does not represent real data, but can be used to loop on all possible types

Reimplemented in MFnArrayAttrsData, and MFnNumericData.


スポンサーリンク

f:id:NegativeMind:20101126115343j:image

↑Sphereってのがいるぞ。

MFnAttribute Class Reference

f:id:NegativeMind:20101126121538j:image


スポンサーリンク