Prepare AR Material (Function)


Description:
Prepares a Material for displaying the Color Camera view. Useful for using the PackedYUVToRGB Material node.

Inputs:

  • Target [Tango Image Component Reference]: The Unreal Engine / Tango Image interface object.
  • Instance [Material InstanceDynamic Reference]: The Material Instance that should be updated.
  • YTexture Name [FName]: The name of the Material Texture Parameter of the YTexture.
  • UVTexture Name [FName]: The name of the Material Texture Parameter of the UVTexture.
  • Texture Width Name [FName]: The name of the Material Parameter for the Camera view width in Pixels.

Outputs:

  • Return Value [Boolean]: True when the Material was successfully prepared.