Gets or sets the texture to be drawn on the triangle mesh. Textures can be obtained from SceneManager.Textures.
Read-write property
| [Visual Basic .NET] |
|---|
Public Property Texture() As IAgStkGraphicsRendererTexture2D |
| [C#] |
|---|
public IAgStkGraphicsRendererTexture2D Texture {get; set;} |
| [Managed C++] |
|---|
public: __property IAgStkGraphicsRendererTexture2D^ get_Texture(); |
| [Unmanaged C++] |
|---|
public: HRESULT get_Texture( |
| [Java] |
|---|
public IAgStkGraphicsRendererTexture2D getTexture(); |
If a texture is added to a triangle mesh, the mesh must be set with TriangleMeshOptionalParameters that have texture coordinates.
