AGI STK Graphics 11 Send comments on this topic.
Texture Property (IAgStkGraphicsTriangleMeshPrimitive)
See Also 





Description

Gets or sets the texture to be drawn on the triangle mesh. Textures can be obtained from SceneManager.Textures.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Texture() As IAgStkGraphicsRendererTexture2D

[C#]
public IAgStkGraphicsRendererTexture2D Texture {get; set;}

[Managed C++]
public: __property IAgStkGraphicsRendererTexture2D^ get_Texture();
public: __property void set_Texture(
IAgStkGraphicsRendererTexture2D ^
);

[Unmanaged C++]
public: HRESULT get_Texture(
IAgStkGraphicsRendererTexture2D ** ppRetVal
);
public: HRESULT put_Texture(
IAgStkGraphicsRendererTexture2D * pNewTexture
);

[Java]
public IAgStkGraphicsRendererTexture2D getTexture();public void setTexture(
IAgStkGraphicsRendererTexture2D
);

Remarks

If a texture is added to a triangle mesh, the mesh must be set with TriangleMeshOptionalParameters that have texture coordinates.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1