Table of Contents

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)]
[RequireComponent(typeof(CanvasRenderer))]
public class DisplayUGUI : MaskableGraphic, ICanvasElement, IClippable, IMaskable, IMaterialModifier
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
UIBehaviour
Graphic
MaskableGraphic
DisplayUGUI
Implements
ICanvasElement
IClippable
IMaskable
IMaterialModifier
Inherited Members
MaskableGraphic.m_ShouldRecalculateStencil
MaskableGraphic.m_MaskMaterial
MaskableGraphic.m_StencilValue
MaskableGraphic.GetModifiedMaterial(Material)
MaskableGraphic.SetClipSoftness(Vector2)
MaskableGraphic.OnEnable()
MaskableGraphic.OnDisable()
MaskableGraphic.OnValidate()
MaskableGraphic.OnTransformParentChanged()
MaskableGraphic.OnCanvasHierarchyChanged()
MaskableGraphic.RecalculateClipping()
MaskableGraphic.RecalculateMasking()
MaskableGraphic.Raycast(Vector2, Camera)
MaskableGraphic.onCullStateChanged
MaskableGraphic.maskable
MaskableGraphic.isMaskingGraphic
Graphic.s_DefaultUI
Graphic.s_WhiteTexture
Graphic.m_Material
Graphic.m_SkipLayoutUpdate
Graphic.m_SkipMaterialUpdate
Graphic.m_OnDirtyLayoutCallback
Graphic.m_OnDirtyVertsCallback
Graphic.m_OnDirtyMaterialCallback
Graphic.s_Mesh
Graphic.m_CachedMesh
Graphic.m_CachedUvs
Graphic.SetAllDirty()
Graphic.SetLayoutDirty()
Graphic.SetVerticesDirty()
Graphic.SetMaterialDirty()
Graphic.SetRaycastDirty()
Graphic.OnRectTransformDimensionsChange()
Graphic.OnBeforeTransformParentChanged()
Graphic.OnCullingChanged()
Graphic.Rebuild(CanvasUpdate)
Graphic.LayoutComplete()
Graphic.GraphicUpdateComplete()
Graphic.UpdateMaterial()
Graphic.UpdateGeometry()
Graphic.OnPopulateMesh(Mesh)
Graphic.OnRebuildRequested()
Graphic.Reset()
Graphic.OnDidApplyAnimationProperties()
Graphic.PixelAdjustPoint(Vector2)
Graphic.GetPixelAdjustedRect()
Graphic.RegisterDirtyLayoutCallback(UnityAction)
Graphic.UnregisterDirtyLayoutCallback(UnityAction)
Graphic.RegisterDirtyVerticesCallback(UnityAction)
Graphic.UnregisterDirtyVerticesCallback(UnityAction)
Graphic.RegisterDirtyMaterialCallback(UnityAction)
Graphic.UnregisterDirtyMaterialCallback(UnityAction)
Graphic.defaultGraphicMaterial
Graphic.color
Graphic.raycastTarget
Graphic.raycastPadding
Graphic.useLegacyMeshGeneration
Graphic.depth
Graphic.rectTransform
Graphic.canvas
Graphic.canvasRenderer
Graphic.defaultMaterial
Graphic.material
Graphic.materialForRendering
Graphic.workerMesh
UIBehaviour.IsActive()
UIBehaviour.OnCanvasGroupChanged()
UIBehaviour.IsDestroyed()

Properties

Name Description
ApplyNativeSize
CurrentMediaPlayer

Texture to be used.

DefaultTexture
DisplayInEditor
DrawingDimensions
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()