Class ImageTargetController.Texture2DSourceData
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
Creates the target's Texture2D data.
[Serializable]
public class ImageTargetController.Texture2DSourceData : ImageTargetController.SourceData
- Inheritance
-
ImageTargetController.Texture2DSourceData
Fields
Name
Target name.
public string Name
Field Value
Scale
The scale of the target image in meters. Refer to scale().
public float Scale
Field Value
Texture
Readable Texture2D object.
public Texture2D Texture
Field Value
Properties
IsTextureLoadable
Texture whether it can be loaded.
public bool IsTextureLoadable { get; }
Property Value
TexturePixelFormat
Texture's PixelFormat.
public Optional<PixelFormat> TexturePixelFormat { get; }
Property Value
TextureUnloadableReason
Texture reason why it cannot be loaded.
public string TextureUnloadableReason { get; }