Instances of this class are used to XRef atmospheric effects from external .MAX files. Available in 3ds Max 8 and higher.
Constructor:
Class instances not creatable by MAXScript XRefAtmosWrapper interfaces:
Interface:IXRefItem Properties:
.srcFileName : filename : Read Contains the source file name.Read-only.
.srcItemName : string : Read Contains the name of the source item.Read-only.
.xrefRecord : Interface : Read Contains the XRef record Interface.Read-only.
.unresolved : boolean : Read Contains true if the XRef is unresolved, false otherwise. Read-only.
.nested : boolean : Read Contains true if the XRef is nested, false otherwise. Read-only.
Methods:
<maxObject>GetSrcItem resolveNested:<boolean>
resolveNested default value: false Returns the source item object of the XRef Object. If the object is being referenced from nested files (in other words, the object is referenced from a Max file containing an XRef of the object from another file instead of the actual object) and resolveNested is set to true, nested XRef files will be resolved.
<integer>GetParentItems <&maxObject array>parentItems
parentItems is Out parameter Returns an array of parent items in the by-reference Out parameter.
<integer>GetRootItems <&maxObject array>rootItems
rootItems is Out parameter Returns an array of root items in the by-reference Out parameter.
<integer>GetChildItems <&maxObject array>childItems
childItems is Out parameter Returns an array of child items in the by-reference Out parameter.
<void>GetNodes <&node array>xrefNodes
xrefNodes is Out parameter Returns an array of XRef nodes in the by-reference Out parameter.
Interface:IXRefProxy Properties:
.proxyFileName : filename : Read Contains the proxy file name.Read-only.
.proxyItemName : string : Read Contains the proxy item name.Read-only.
.proxyRecord : Interface : Read Contains the proxy record Interface.Read-only.
.displayProxy : boolean : Read|Write When set to true, the proxy will be used in the viewport.
.renderProxy : boolean : Read|Write When set to true, the proxy will be used by the production renderer.
Interface:IXRefAtmospheric Methods:
<maxObject>GetSourceAtmospheric <boolean>resolveNestedXRef Returns the source atmospheric object. If resolveNestedXRef is set to true, nested XRef files will be resolved.