ImageMaterial Class

Description

Material to render Image .


Properties

Material

C#

public Material Material { get; }

Material.


Methods

.ctor

C#

public ImageMaterial( Image image)

Create material to render image .

Dispose

C#

public void Dispose()

Dispose resources.

CanReplace

C#

public bool CanReplace( Image image)

Whether image used in material can be replaced by image .

Replace

C#

public void Replace( Image image)

Replace Image used in material. Only images with of the same format, size and pixel size are supported.