GetInterfaces インタフェース調査関数

getInterfaces {<MAXWrapper> | <MAXClass>}

getInterfaces() 関数は、引数によって表示されたインタフェースを含む配列を返します。

引数がノードの場合は、そのノードのノード レベルのインタフェースが返されます。ノードの基本オブジェクトのインタフェースが必要な場合は、引数として <node>.baseobject を指定する必要があります。

    s=sphere()
    --> $Sphere:Sphere01 @ [0.000000,0.000000,0.000000]
    converttopoly s
    --> $Editable_Poly:Sphere01 @ [0.000000,0.000000,0.000000]
    getInterfaces s
    --> #(<MixinInterface:IAssembly>, <MixinInterface:INodeGIProperties>, <MixinInterface:INode>, <MixinInterface:INodeLayerProperties>, <MixinInterface:INodeBakeProperties>, <MixinInterface:SkinPose>, <MixinInterface:INodeBakeProjProperties>, <MixinInterface:INodeMentalRayProperties>, <MixinInterface:INodeDisplayProperties>, <MixinInterface:INodeShadingProperties>)
    getInterfaces s.baseobject
    --> #(<MixinInterface:EditablePoly>)

引数が MAXClass の場合は、そのクラスの静的なインタフェースのみが返されます。通常は、ユーティリティ プラグイン クラスでのみ静的なインタフェースが定義されます。

    getInterfaces Plug_in_Manager
    #(<Interface:PluginMgrAction>)