<TexturePaletteNode> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » Node » Group » TexturePaletteNode

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32AddParameterSetAdds a set of parameter matching criteria to this <TexturePaletteNode>.
int32ClearMatchParamsClears the internal <Int32Array> used to store match parameter sets.
int32GetMatchParameterReturns a match parameter for a child <Texture> of this <TexturePaletteNode>.
int32GetTextureCountReturns the number of <Texture> match criteria sets that have been added to this <TexturePaletteNode>. This count value is modified each time the AddParameterSet() and RemoveParameterSet() data interfaces are invoked. Note that this is not the child count of this <TexturePaletteNode>.
int32GetTexturesPopulates a <NodeBuffer> object with the <Texture> nodes to which the all <Material> nodes in the <Mesh> object's <MaterialPaletteNode> are connected.
int32InsertParameterSetInserts a block of <int32> values into the <Texture> matching parameter set.
int32RemoveParameterSetRemoves the matching criteria for the specified <Texture> index. For example, if each set of match criteria has ten items, and there are three match criteria sets total, then we have thirty match criteria. Removing the match parameter set for <Texture> 2 removes items 10-19 from the array of match criteria. Afterward, there are only twenty match criteria total.
int32SetMatchParameterSets the <Texture> match criteria at the specified index to the specified value.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
<Node>MaterialDataSourceGets or sets the <Material> data source. The <Material> data source is the <Material> connected to this <TexturePaletteNode>.
<Node>MaterialDataSourceLinkGets or sets the <Material> data source. The <Material> data source is the <Material> connected to this <TexturePaletteNode>.
<Node>PaletteDataSourceSets or gets the <TexturePaletteNode> base palette object. This value is only set for <TexturePaletteNode> objects that are not being used as base palette.
<Node>PaletteDataSourceLinkSets or gets the <TexturePaletteNode> base palette object. This value is only set for <TexturePaletteNode> objects that are not being used as base palette.
<Node>SamplerDataSourceGets or sets the <SamplerPaletteNode> data source. The <SamplerPaletteNode> data source contains SamplerNodes that correspond to the Textures contained in this <TexturePaletteNode>.
<Node>SamplerDataSourceLinkGets or sets the <SamplerPaletteNode> data source. The <SamplerPaletteNode> data source contains SamplerNodes that correspond to the Textures contained in this <TexturePaletteNode>.
<Node>SourceSamplerPaletteGets or sets the <SamplerPaletteNode> data source. The <SamplerPaletteNode> data source contains SamplerNodes that correspond to the Textures contained in this <TexturePaletteNode>.
<Node>SourceSamplerPaletteLinkGets or sets the <SamplerPaletteNode> data source. The <SamplerPaletteNode> data source contains SamplerNodes that correspond to the Textures contained in this <TexturePaletteNode>.
int32IsBasePaletteReturns true if this <TexturePaletteNode> is a base palette. Otherwise returns false. What constitutes a base palette is mostly implementation defined, but a base palette is generally any <TexturePaletteNode> that does not refer to any other <TexturePaletteNode> for resource description.