Substance - superclass: textureMap; super-superclass:material - 13:2 - classID: #(-1503541249, 1756066509)
Value > MAXWrapper > Material > TextureMap > Substance |
This class implements the Substance loader as 3ds Max textureMap.
When a Substance package is loaded, a Substance_Output textureMap is connected automatically to it to serve as output channel selector.
Available in 3ds Max 2012 and higher.
Get/set the Substance filename.
Get/set the opened state of the UI Rollouts of the Substance texture map in the Compact Material Editor.
The value is an integer where bits control the rolled out state of a rollout as follows:
bit 1 - when set, the "Global Substance Settings" rollout will be rolled out.
bit 2 - when set, the "Substance Package Browser" rollout will be rolled out, e.g. a value of 2 (default) opens only this rollout and rolls up the others.
bit 4 - when set, the "Texture Size" rollout will be rolled out, e.g. a value of 16 opens only this rollout, a value of 18 opens this and the previous rollout, a value of 19 opens all three rollouts.
The rollouts "Information", "Coordinates" and "Noise" cannot be controlled.
To refresh the samples in the Compact Material Editor, you can use
whis sets the active material slot to its current value and as a sifd effect updates the rollouts.Get/set the state of the Global Texture Width drop-down list.
Possible values are: 32, 64, 128, 256, 512, 1024, 2048
Any other values will cause a run-time error.
Get/set the state of the Global Texture Height drop-down list.
Possible values are: 32, 64, 128, 256, 512, 1024, 2048
Any other values will cause a run-time error.
Get/set the state of the "Preview Resolution" drop-down list.
Get/set the state of the "Lock Aspect Ratio" checkbox.
Get/set the state of the Texture Size mode radio button.
Get/set the state of the Relative Width drop-down list.
Get/set the state of the Relative Height drop-down list.
Get/set the state of the Absolute Width drop-down list.
Get the number of output channels generated by the current substance.
Get/set the UV Coordinates generator.
Get the StandardTextureOutput instance controlling the output of the textureMap.
Open the texture image for viewing.
Returns the name of the currently selected package.
Returns the name of the currently selected graph.
Returns the name of the currently selected output.
Returns an array of names representing the available output names from the current graph.
<boolean><Substance>.setPackageAndGraphNames <&TSTR>packageName <&TSTR>graphName packageName is In parameter graphName is In parameter
Sets the package and graph name using the two by-reference arguments, returns true on success or false on failure.
Sets the current output name to the string passed by-reference as argument. Returns true on success, false on failure.
Get the number of output channels defined in the textureMap.
Returns the localized name of the indexed output channel.
Returns the name of the indexed output channel.
<enum><Substance>.getIMultipleOutputChannelType <index>index getIMultipleOutputChannelType enums: {#float | #integer | #rgb | #point3 | #string | #filename | #material | #texturemap | #bitmap | #node | #maxObject | #matrix3 | #paramblock2 | #point4 | #frgba }
Returns the type of the indexed output channel.
<fpvalue by value><Substance>.getIMultipleOutputChannelValue <index>index time:<time> time default value: 0f
Returns the value of the indexed output channel.
If the optional time: argument is supplied, the value will be evaluated at the specified time. Otherwise, the current time will be used.