Table of Contents

Class ImageMaterial

Namespace
easyar
Assembly
EasyAR.Sense.dll

Material for rendering Image.

public class ImageMaterial : IDisposable
Inheritance
ImageMaterial
Implements

Constructors

ImageMaterial(Image)

Create material suitable for rendering image.

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 resource.

public void Dispose()

~ImageMaterial()

protected ~ImageMaterial()

Replace(Image)

Replace the Image in the material. Only supports images with the same format, size, and pixel size.

public void Replace(Image image)

Parameters

image