Class TextureMapperRawImage
Display camera image into uGUI RawImage object
Automatically track the rotation direction of the terminal and rotate the image
Inheritance
Namespace: TofAr.V0.Color
Assembly: TofArColorAssembly.dll
Syntax
public class TextureMapperRawImage : MonoBehaviour
Fields
AutoRotation
true: Rotate display according to rotation of device
false: Do not automatically rotate display
Default: true
Declaration
public bool AutoRotation
Field Value
Type |
---|
System.Boolean |
BGRAViewMaterial
Material used to display Color data in BGRA format
Declaration
public Material BGRAViewMaterial
Field Value
Type |
---|
UnityEngine.Material |
Maximize
true: Maximize RawImage within the bounds of the parent object
false: Do not maximize RawImage within the bounds of the parent object
Default: true
Declaration
public bool Maximize
Field Value
Type |
---|
System.Boolean |
whiteTexture
White texture
Declaration
public Texture2D whiteTexture
Field Value
Type |
---|
UnityEngine.Texture2D |
YUVViewMaterial
Material used to display Color data in YUV format
Declaration
public Material YUVViewMaterial
Field Value
Type |
---|
UnityEngine.Material |
Properties
AspectRatio
Aspect ratio
Declaration
public float AspectRatio { get; }
Property Value
Type |
---|
System.Single |