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
-
objectObjectComponentBehaviourMonoBehaviourUIBehaviourGraphicMaskableGraphicDisplayUGUI
- Implements
-
ICanvasElementIClippableIMaskableIMaterialModifier
- Inherited Members
-
MaskableGraphic.m_ShouldRecalculateStencilMaskableGraphic.m_MaskMaterialMaskableGraphic.m_StencilValueMaskableGraphic.GetModifiedMaterial(Material)MaskableGraphic.SetClipSoftness(Vector2)MaskableGraphic.OnEnable()MaskableGraphic.OnDisable()MaskableGraphic.OnValidate()MaskableGraphic.OnTransformParentChanged()MaskableGraphic.OnCanvasHierarchyChanged()MaskableGraphic.RecalculateClipping()MaskableGraphic.RecalculateMasking()MaskableGraphic.Raycast(Vector2, Camera)MaskableGraphic.onCullStateChangedMaskableGraphic.maskableMaskableGraphic.isMaskingGraphicGraphic.s_DefaultUIGraphic.s_WhiteTextureGraphic.m_MaterialGraphic.m_SkipLayoutUpdateGraphic.m_SkipMaterialUpdateGraphic.m_OnDirtyLayoutCallbackGraphic.m_OnDirtyVertsCallbackGraphic.m_OnDirtyMaterialCallbackGraphic.s_MeshGraphic.m_CachedMeshGraphic.m_CachedUvsGraphic.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.defaultGraphicMaterialGraphic.colorGraphic.raycastTargetGraphic.raycastPaddingGraphic.useLegacyMeshGenerationGraphic.depthGraphic.rectTransformGraphic.canvasGraphic.canvasRendererGraphic.defaultMaterialGraphic.materialGraphic.materialForRenderingGraphic.workerMeshUIBehaviour.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() |