Interface ITextureProducer
  
  
  
  
  Assembly: cs.temp.dll.dll
  Syntax
  
    public interface ITextureProducer
   
  Methods
  
  
  GetAffineTransform()
  The affine transform of the texture as an array of six floats: [a, b, c, d, tx, ty].
 
  
  Declaration
  
    float[] GetAffineTransform()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single[] | 
         | 
      
    
  
  
  GetTexture(Int32)
  Returns the Unity texture containing the current frame image.
The texture pointer will return null while the video is loading
This texture usually remains the same for the duration of the video.
There are cases when this texture can change, for instance: if the graphics device is recreated,
a new video is loaded, or if an adaptive stream (eg HLS) is used and it switches video streams.
 
  
  Declaration
  
    Texture GetTexture(int index = 0)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        index | 
         | 
      
    
  
  Returns
  
  
  GetTextureAlphaPacking()
  Returns the type of packing used for alpha content
 
  
  Declaration
  
    AlphaPacking GetTextureAlphaPacking()
   
  Returns
  
  
  GetTextureCount()
  Gets the number of textures produced by the media player.
 
  
  Declaration
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
  GetTextureFrameCount()
  Returns a count of how many times the texture has been updated
 
  
  Declaration
  
    int GetTextureFrameCount()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
  GetTextureMatrix()
  The full 4x4 transform of the texture
 
  
  Declaration
  
    Matrix4x4 GetTextureMatrix()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Matrix4x4 | 
         | 
      
    
  
  
  GetTexturePixelAspectRatio()
  Returns the DAR/SAR ratio
 
  
  Declaration
  
    float GetTexturePixelAspectRatio()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single | 
         | 
      
    
  
  
  GetTextureStereoPacking()
  Returns the type of packing used for stereo content
 
  
  Declaration
  
    StereoPacking GetTextureStereoPacking()
   
  Returns
  
  
  GetTextureTimeStamp()
  Returns the presentation time stamp of the current texture
 
  
  Declaration
  
    long GetTextureTimeStamp()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int64 | 
         | 
      
    
  
  
  GetTextureTransparency()
  Returns the whether the texture has transparency
 
  
  Declaration
  
    TransparencyMode GetTextureTransparency()
   
  Returns
  
  
  GetYpCbCrTransform()
  Returns the current transformation required to convert from YpCbCr to RGB colorspaces.
 
  
  Declaration
  
    Matrix4x4 GetYpCbCrTransform()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Matrix4x4 | 
         | 
      
    
  
  
  RequiresVerticalFlip()
  Returns true if the image on the texture is upside-down
 
  
  Declaration
  
    bool RequiresVerticalFlip()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  SupportsTextureFrameCount()
  Returns whether this platform supports counting the number of times the texture has been updated
 
  
  Declaration
  
    bool SupportsTextureFrameCount()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         |