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: 24.3.420.0 (24.3.420.0)
Syntax
public virtual Texture2D Texture { get; set; }

Property Value

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