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( IAgStkGraphicsRendererTexture2D ** ppRetVal ); public: HRESULT put_Texture( IAgStkGraphicsRendererTexture2D Texture ); |
[Java] |
---|
public IAgStkGraphicsRendererTexture2D getTexture(); public void setTexture( IAgStkGraphicsRendererTexture2D ); |
[Python - STK API ] |
---|
@property def Texture(self) -> "IAgStkGraphicsRendererTexture2D": @Texture.setter def Texture(self, Texture:"IAgStkGraphicsRendererTexture2D") -> None: |
If a texture is added to a triangle mesh, the mesh must be set with TriangleMeshOptionalParameters that have texture coordinates.