DX9ToolsR4 - Created by: X

MeshEx.SetMaterial Method (Int32, TextureStage, Int32)

Sets a stored material in a specified index.

[Visual Basic]
Overloads Public Sub SetMaterial( _
   ByVal Index As Integer, _
   ByVal Texture As TextureStage, _
   ByVal TextureIndex As Integer _
)
[C#]
public void SetMaterial(
   int Index,
   TextureStage Texture,
   int TextureIndex
);

Parameters

Index
The index of the material to retrieve.
Texture
The texture index to be stored.
TextureIndex
The stage where the texture index will be stored.

See Also

MeshEx Class | CBX.Libs.DX9ToolsR4 Namespace | MeshEx.SetMaterial Overload List