Class DisplayUGUI
- Namespace
- RenderHeads.Media.AVProVideo
- Assembly
- AVProVideo.Extensions.UnityUI.dll
Displays the video from MediaPlayer component using uGUI
[HelpURL("http://renderheads.com/products/avpro-video/")]
[AddComponentMenu("AVPro Video/Display uGUI", 200)]
public class DisplayUGUI : MaskableGraphic
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourUIBehaviourGraphicMaskableGraphicDisplayUGUI
Properties
| Name | Description |
|---|---|
| ApplyNativeSize | |
| CurrentMediaPlayer | Texture to be used. |
| DefaultTexture | |
| DisplayInEditor | |
| NoDefaultDisplay | |
| Player | |
| ScaleMode | |
| UVRect | |
| mainTexture | Returns the texture used to draw this Graphic. |
| uvRect | UV rectangle used by the texture. |
Methods
| Name | Description |
|---|---|
| Awake() | |
| HasValidTexture() | |
| OnDestroy() | |
| OnPopulateMesh(VertexHelper) | |
| SetNativeSize() | Adjust the scale of the Graphic to make it pixel-perfect. |
| Start() |