Table of Contents

Class ImageMaterial

Namespace
easyar
Assembly
EasyAR.Sense.dll

Material used to render Image.

public class ImageMaterial : IDisposable
Inheritance
ImageMaterial
Implements

Constructors

ImageMaterial(Image)

Creates a material suitable for rendering image.

public ImageMaterial(Image image)

Parameters

image

Properties

Material

Material.

public Material Material { get; }

Methods

CanReplace(Image)

Whether the image used in the material can be replaced with image.

public bool CanReplace(Image image)

Parameters

image

Dispose()

Destroys resources.

public void Dispose()

~ImageMaterial()

protected ~ImageMaterial()

Replace(Image)

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

public void Replace(Image image)

Parameters

image