Search Results for

    Show / Hide Table of Contents

    Class DisplayUGUI

    Displays the video from MediaPlayer component using uGUI

    Inheritance
    System.Object
    DisplayUGUI
    Namespace: RenderHeads.Media.AVProVideo
    Assembly: cs.temp.dll.dll
    Syntax
    public class DisplayUGUI : MaskableGraphic

    Properties

    ApplyNativeSize

    Declaration
    public bool ApplyNativeSize { get; set; }
    Property Value
    Type Description
    System.Boolean

    CurrentMediaPlayer

    Texture to be used.

    Declaration
    public MediaPlayer CurrentMediaPlayer { get; set; }
    Property Value
    Type Description
    MediaPlayer

    DefaultTexture

    Declaration
    public Texture DefaultTexture { get; set; }
    Property Value
    Type Description
    Texture

    DisplayInEditor

    Declaration
    public bool DisplayInEditor { get; set; }
    Property Value
    Type Description
    System.Boolean

    mainTexture

    Returns the texture used to draw this Graphic.

    Declaration
    public override Texture mainTexture { get; }
    Property Value
    Type Description
    Texture

    NoDefaultDisplay

    Declaration
    public bool NoDefaultDisplay { get; set; }
    Property Value
    Type Description
    System.Boolean

    Player

    Declaration
    public MediaPlayer Player { get; set; }
    Property Value
    Type Description
    MediaPlayer

    ScaleMode

    Declaration
    public ScaleMode ScaleMode { get; set; }
    Property Value
    Type Description
    ScaleMode

    uvRect

    UV rectangle used by the texture.

    Declaration
    public Rect uvRect { get; set; }
    Property Value
    Type Description
    Rect

    UVRect

    Declaration
    public Rect UVRect { get; set; }
    Property Value
    Type Description
    Rect

    Methods

    Awake()

    Declaration
    protected override void Awake()

    HasValidTexture()

    Declaration
    public bool HasValidTexture()
    Returns
    Type Description
    System.Boolean

    OnDestroy()

    Declaration
    protected override void OnDestroy()

    OnPopulateMesh(VertexHelper)

    Declaration
    protected override void OnPopulateMesh(VertexHelper vh)
    Parameters
    Type Name Description
    VertexHelper vh

    SetNativeSize()

    Adjust the scale of the Graphic to make it pixel-perfect.

    Declaration
    public override void SetNativeSize()

    Start()

    Declaration
    protected override void Start()
    In This Article