showInterfaces {<maxwrapper> | <maxclass> | node} [ to:<stream> ]
<maxwrapper> は、調査対象の 3ds Max オブジェクトです。
<maxclass> は、調査対象の 3ds Max クラスです。
オプションの to:<stream> キーワードの引数には、表示内容を出力するストリーム値を指定します。
指定された 3ds Max の図形がノード($box01 など)の場合、この関数は基本オブジェクトのインタフェースだけを表示します。オブジェクトに適用される変換コントローラ、モディファイヤ、あるいはマテリアルのインタフェースは表示しません。これらのオブジェクトのインタフェースを表示するには、オブジェクトが 3ds Max の図形として指定されている必要があります。
特殊なケースとして、スーパークラス 'Node' に対し showInterfaces() を呼び出して、すべてのシーン ノードに共通のインタフェースを表示できます。
インタフェース情報の表示は、Properties、Methods、Actions の 3 つのセクションに分けられます。
Properties セクションでは、インタフェースによって公開されたプロパティがそのデータ型または列挙値とともに一覧表示されます。また、そのプロパティが読み書き可能かどうかも表示されます。
Methods セクションには、各メソッドが、返されるタイプおよび引数のリストとともに表示されます。各引数の値のタイプも表示されます。返されるタイプが <void> と表示される場合、メソッドは値 'ok' を返します。Action によって使用されるメソッドについては、そのことがコメントとして記載されます。一般に、これらのメソッドを使用する場合、適切なコマンド パネルでオブジェクトが選択されアクティブになっている必要があります。
[Actions] セクションでは、各アクションとともに、[ユーザ インタフェースをカスタマイズ](Customize User Interface)ダイアログ ボックスに表示されるカテゴリおよびアクションの説明、およびショートカット キー(アクションにショートカット キーが割り当てられている場合)が表示されます。
例 |
showinterfaces node |
結果 |
Interface: IAssembly Properties: .assemblyMember : boolean : Read|Write .assemblyHead : boolean : Read|Write .assemblyMemberOpen : boolean : Read|Write .assemblyHeadOpen : boolean : Read|Write .assemblyBBoxDisplay : boolean : Read|Write Methods: Actions: Interface: INodeGIProperties Properties: .isGIExcluded : boolean : Read|Write .isGIOccluder : boolean : Read|Write .isGIReceiver : boolean : Read|Write .isGIDiffuse : boolean : Read|Write .isGISpecular : boolean : Read|Write .GIUseGlobalMeshing : boolean : Read|Write .GIMeshingEnabled : boolean : Read|Write .nbGIRefineSteps : integer : Read|Write|Validated by Range: 0 to 65535 .nbGIRefineStepsDone : integer : Read|Write|Validated by Range: 0 to 65535 .GIMeshSize : worldUnits : Read|Write|Validated by Range: 0.01 to 1e+009 .isGIExcludedFromRegather : boolean : Read|Write .storeIllumToMesh : boolean : Read|Write .GIByLayer : boolean : Read|Write .GIRayMult : float : Read|Write .GIUseAdaptiveSubdivision : boolean : Read|Write .GIMinMeshSize : float : Read|Write .GIInitialMeshSize : float : Read|Write .GIContrastThreshold : float : Read|Write Methods: Actions: Interface: INodeGIProperties Properties: .isGIExcluded : boolean : Read|Write .isGIOccluder : boolean : Read|Write .isGIReceiver : boolean : Read|Write .isGIDiffuse : boolean : Read|Write .isGISpecular : boolean : Read|Write .GIUseGlobalMeshing : boolean : Read|Write .GIMeshingEnabled : boolean : Read|Write .nbGIRefineSteps : integer : Read|Write|Validated by Range: 0 to 65535 .nbGIRefineStepsDone : integer : Read|Write|Validated by Range: 0 to 65535 .GIMeshSize : worldUnits : Read|Write|Validated by Range: 0.01 to 1e+009 .isGIExcludedFromRegather : boolean : Read|Write .storeIllumToMesh : boolean : Read|Write .GIByLayer : boolean : Read|Write .GIRayMult : float : Read|Write .GIUseAdaptiveSubdivision : boolean : Read|Write .GIMinMeshSize : float : Read|Write .GIInitialMeshSize : float : Read|Write .GIContrastThreshold : float : Read|Write Methods: Actions: Interface: INode Properties: .boneEnable : boolean : Read|Write .posTaskWeight : float : Read|Write .rotTaskWeight : float : Read|Write .boneAutoAlign : boolean : Read|Write .boneFreezeLength : boolean : Read|Write .boneScaleType : enum : Read|Write boneScaleType enums: {#scale|#squash|#none} .stretchTM : matrix3 by value : Read .boneAxis : enum : Read|Write boneAxis enums: {#X|#Y|#Z} .boneAxisFlip : boolean : Read|Write .primaryVisibility : boolean : Read|Write .secondaryVisibility : boolean : Read|Write .applyAtmospherics : boolean : Read|Write .vertexColorType : enum : Read|Write vertexColorType enums: {#color|#illum|#alpha|#color_plus_illum|#soft_select|#map_channel} .showVertexColors : integer : Read|Write .shadeVertexColors : integer : Read|Write .vertexColorMapChannel : integer : Read|Write .handle : DWORD : Read .posInParent : point3 : Read .rotInParent : point3 : Read .scaleInParent : point3 : Read .scaleOrientInParent : quat : Read Methods: <void>setBoneEnable <boolean>onOff <time>time <void>realignBoneToChild() <void>resetBoneStretch() Actions: Interface: INodeLayerProperties Properties: .layer : Interface : Read .displayByLayer : boolean : Read|Write .renderByLayer : boolean : Read|Write .motionByLayer : boolean : Read|Write .colorByLayer : boolean : Read|Write .globalIlluminationByLayer : boolean : Read|Write Methods: Actions: Interface: INodeBakeProperties Properties: .bakeEnabled : boolean : Read|Write .bakeChannel : integer : Read|Write .nDilations : integer : Read|Write .flags : integer : Read|Write .surfaceArea : float : Read|Write .areaScale : float : Read|Write .activeOriginX : float : Read|Write .activeOriginY : float : Read|Write .activeWidth : float : Read|Write .activeHeight : float : Read|Write Methods: <boolean>addBakeElement <maxObject>element <boolean>removeBakeElement <maxObject>element <boolean>removeBakeElementByIndex <index>elementIndex <boolean>removeBakeElementByName <string>elementName <void>removeAllBakeElements() <integer>numBakeElements() <maxObject>getBakeElement <index>index <index>findByName <string>elementName <integer>renderWidth() <integer>renderHeight() <boolean>effectiveEnable() <integer>numElementParams <maxObject>element <string>paramName <maxObject>element <index>paramIndex <integer>paramType <maxObject>element <index>paramIndex <fpvalue by value>paramValue <maxObject>element <index>paramIndex <void>setParamValue <maxObject>element <index>paramIndex <fpvalue by value>paramValue <fpvalue by value>paramValueMin <maxObject>element <index>paramIndex <fpvalue by value>paramValueMax <maxObject>element <index>paramIndex <index>findParam <maxObject>element <string>paramName <fRGBA color by value>GetBackgroundColor <maxObject>element <void>SetBackgroundColor <maxObject>element <fRGBA color by value>color Actions: Interface: SkinPose Properties: .skinPos : point3 by value : Read|Write .skinRot : point3 by value : Read|Write .skinScale : point3 by value : Read|Write .skinScaleOrient : quat by value : Read|Write .skinPosEnabled : bool : Read|Write .skinRotEnabled : bool : Read|Write .skinScaleEnabled : bool : Read|Write .skinPoseMode : bool : Read|Write Methods: <void>setSkinPose() <void>assumeSkinPose() Actions: Interface: INodeBakeProjProperties Properties: .enabled : boolean : Read|Write .projectionMod : maxObject : Read|Write .projectionModTarget : string : Read|Write .cropAlpha : boolean : Read|Write .projSpace : enum : Read|Write projSpace enums: {#raytrace|#uvw_match} .normalSpace : enum : Read|Write normalSpace enums: {#world|#screen|#local|#tangent} .tangentYDir : enum : Read|Write tangentYDir enums: {#Y_Up|#Y_Down} .tangentXDir : enum : Read|Write tangentXDir enums: {#X_Right|#X_Left} .useCage : boolean : Read|Write .rayOffset : float : Read|Write .hitResolveMode : enum : Read|Write hitResolveMode enums: {#closest|#furthest} .hitMatchMtlID : boolean : Read|Write .hitWorkingModel : boolean : Read|Write .warnRayMiss : boolean : Read|Write .rayMissColor : color : Read|Write .heightMapMin : float : Read|Write .heightMapMax : float : Read|Write .heightBufMin : float : Read|Write .heightBufMax : float : Read|Write .BakeObjectLevel : boolean : Read|Write .BakeSubObjLevels : boolean : Read|Write .useObjectBakeForMtl : boolean : Read|Write .proportionalOutput : boolean : Read|Write .subObjBakeChannel : integer : Read|Write Methods: Actions: Interface: INodeMentalRayProperties Properties: .mr_displacementUseGlobalSettings : bool : Read|Write .mr_displacementMethod : enum : Read|Write mr_displacementMethod enums: {#Fine|#Fine_NoSmoothing} .mr_viewDependentDisplacement : bool : Read|Write .mr_displacementEdgeLength : float : Read|Write .mr_maxDisplace : float : Read|Write .mr_displacementMaxLevel : integer : Read|Write .mr_rcvFGIllum : bool : Read|Write .mr_castModeFGIllum : enum : Read|Write mr_castModeFGIllum enums: {#ObjColor|#Black|#Invisible} .mr_excludeGlobalIllum : bool : Read|Write .mr_excludeCaustics : bool : Read|Write Methods: Actions: Interface: INodeDisplayProperties Properties: .NeverDegrade : boolean : Read|Write Methods: Actions: Interface: INodeShadingProperties Properties: .ViewportShadowCasting : bool : Read|Write .ViewportIllumination : bool : Read|Write .LockedViewportIllumination : bool : Read|Write Methods: Actions: OK |