Click or drag to resize

TriangleMeshPrimitiveTexture Property

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

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 23.1.416.0 (23.1.416.0)
public virtual Texture2D Texture { get; set; }

Property Value

Type: Texture2D
InvalidOperationException When TextureFilter is set to a mipmapping filter the new Texture must be mipmap capable.
If a texture is added to a triangle mesh, the mesh must be set with TriangleMeshOptionalParameters that have texture coordinates.
See Also