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: 25.1.421.0 (25.1.421.0)
Syntaxpublic virtual Texture2D Texture { get; set; }Public Overridable Property Texture As Texture2D
Get
Set
public:
virtual property Texture2D^ Texture {
Texture2D^ get ();
void set (Texture2D^ value);
}abstract Texture : Texture2D with get, set
override Texture : Texture2D with get, set
Property Value
Type:
Texture2D
Exceptions| Exception | Condition |
|---|
| InvalidOperationException |
When TextureFilter is set to a mipmapping filter the new
Texture must be mipmap capable.
|
Remarks
See AlsoReference
Texture2DFactory