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.2.419.0 (24.2.419.0)
Syntax public 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:
Texture2DExceptions Exception | Condition |
---|
InvalidOperationException |
When TextureFilter is set to a mipmapping filter the new
Texture must be mipmap capable.
|
Remarks See Also Reference
Texture2DFactory