Class ImageMaterial
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Material for renderingImage.
public class ImageMaterial : IDisposable
- Inheritance
-
ImageMaterial
- Implements
Constructors
ImageMaterial(Image)
Create a material for renderingimage.
public ImageMaterial(Image image)
Parameters
image
Properties
Material
Material.
public Material Material { get; }
Property Value
Methods
CanReplace(Image)
Whether the image used in the material can be replaced with image.
public bool CanReplace(Image image)
Parameters
image
Returns
Dispose()
Destroy resources.
public void Dispose()
~ImageMaterial()
protected ~ImageMaterial()
Replace(Image)
Replace the Image in the material. Only images with the same format, size, and pixel size are supported.
public void Replace(Image image)
Parameters
image