Provides script language access to C++ objects of this type.
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | AddParameterSet | Adds a set of parameter matching criteria to this <TexturePaletteNode>. |
int32 | ClearMatchParams | Clears the internal <Int32Array> used to store match parameter sets. |
int32 | GetMatchParameter | Returns a match parameter for a child <Texture> of this <TexturePaletteNode>. |
int32 | GetTextureCount | Returns 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>. |
int32 | GetTextures | Populates a <NodeBuffer> object with the <Texture> nodes to which the all <Material> nodes in the <Mesh> object's <MaterialPaletteNode> are connected. |
int32 | InsertParameterSet | Inserts a block of <int32> values into the <Texture> matching parameter set. |
int32 | RemoveParameterSet | Removes 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. |
int32 | SetMatchParameter | Sets the <Texture> match criteria at the specified index to the specified value. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<Node> | MaterialDataSource | Gets or sets the <Material> data source. The <Material> data source is the <Material> connected to this <TexturePaletteNode>. |
<Node> | MaterialDataSourceLink | Gets or sets the <Material> data source. The <Material> data source is the <Material> connected to this <TexturePaletteNode>. |
<Node> | PaletteDataSource | Sets or gets the <TexturePaletteNode> base palette object. This value is only set for <TexturePaletteNode> objects that are not being used as base palette. |
<Node> | PaletteDataSourceLink | Sets or gets the <TexturePaletteNode> base palette object. This value is only set for <TexturePaletteNode> objects that are not being used as base palette. |
<Node> | SamplerDataSource | Gets or sets the <SamplerPaletteNode> data source. The <SamplerPaletteNode> data source contains SamplerNodes that correspond to the Textures contained in this <TexturePaletteNode>. |
<Node> | SamplerDataSourceLink | Gets or sets the <SamplerPaletteNode> data source. The <SamplerPaletteNode> data source contains SamplerNodes that correspond to the Textures contained in this <TexturePaletteNode>. |
<Node> | SourceSamplerPalette | Gets or sets the <SamplerPaletteNode> data source. The <SamplerPaletteNode> data source contains SamplerNodes that correspond to the Textures contained in this <TexturePaletteNode>. |
<Node> | SourceSamplerPaletteLink | Gets or sets the <SamplerPaletteNode> data source. The <SamplerPaletteNode> data source contains SamplerNodes that correspond to the Textures contained in this <TexturePaletteNode>. |
int32 | IsBasePalette | Returns 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. |