Show / Hide Table of Contents

Class Image

The image widget allows you to display a Slate Brush, or texture or material in the UI.

Inheritance
System.Object
UObject
Visual
Widget
Image
Inherited Members
Widget.ForceLayoutPrepass()
Widget.ForceVolatile(Boolean)
Widget.GetCachedGeometry(Geometry)
Widget.GetClipping()
Widget.GetDesiredSize()
Widget.GetIsEnabled()
Widget.GetOwningLocalPlayer()
Widget.GetOwningPlayer()
Widget.GetParent()
Widget.GetRenderOpacity()
Widget.GetVisibility()
Widget.HasAnyUserFocus()
Widget.HasFocusedDescendants()
Widget.HasKeyboardFocus()
Widget.HasMouseCapture()
Widget.HasMouseCaptureByUser(Int32, Int32)
Widget.HasUserFocus(PlayerController)
Widget.HasUserFocusedDescendants(PlayerController)
Widget.InvalidateLayoutAndVolatility()
Widget.IsHovered()
Widget.IsVisible()
Widget.RemoveFromParent()
Widget.ResetCursor()
Widget.SetAllNavigationRules(EUINavigationRule, Name)
Widget.SetClipping(EWidgetClipping)
Widget.SetCursor(Byte)
Widget.SetIsEnabled(Boolean)
Widget.SetKeyboardFocus()
Widget.SetNavigationRule(EUINavigation, EUINavigationRule, Name)
Widget.SetRenderAngle(Single)
Widget.SetRenderOpacity(Single)
Widget.SetRenderScale(Vector2D)
Widget.SetRenderShear(Vector2D)
Widget.SetRenderTransform(WidgetTransform)
Widget.SetRenderTransformPivot(Vector2D)
Widget.SetRenderTranslation(Vector2D)
Widget.SetToolTip(Widget)
Widget.SetToolTipText(Byte)
Widget.SetUserFocus(PlayerController)
Widget.SetVisibility(ESlateVisibility)
Widget.Slot
Widget.ToolTipWidget
Widget.RenderTransform
Widget.RenderTransformPivot
Widget.bIsVariable
Widget.bCreatedByConstructionScript
Widget.bIsEnabled
Widget.bOverride_Cursor
Widget.bIsVolatile
Widget.bHiddenInDesigner
Widget.bExpandedInDesigner
Widget.bLockedInDesigner
Widget.Cursor
Widget.RenderOpacity
Widget.Navigation
Widget.NativeBindings
Widget.DesignerFlags
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.UMG
Assembly: UE4DotNet.dll
Syntax
public class Image : Widget
Remarks
  • No Children

Properties

| Improve this Doc View Source

Brush

Image to draw

Declaration
public SlateBrush Brush { get; }
Property Value
Type Description
SlateBrush
| Improve this Doc View Source

ColorAndOpacity

Color and opacity

Declaration
public LinearColor ColorAndOpacity { get; }
Property Value
Type Description
LinearColor
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static Image DefaultObject { get; }
Property Value
Type Description
Image
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

GetDynamicMaterial()

Get Dynamic Material

Declaration
public MaterialInstanceDynamic GetDynamicMaterial()
Returns
Type Description
MaterialInstanceDynamic
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static Image New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
Image
| Improve this Doc View Source

SetBrush(SlateBrush)

Set Brush

Declaration
public void SetBrush(SlateBrush InBrush)
Parameters
Type Name Description
SlateBrush InBrush
| Improve this Doc View Source

SetBrushFromAsset(SlateBrushAsset)

Set Brush from Asset

Declaration
public void SetBrushFromAsset(SlateBrushAsset Asset)
Parameters
Type Name Description
SlateBrushAsset Asset
| Improve this Doc View Source

SetBrushFromAtlasInterface(Byte, Boolean)

Set Brush from Atlas Interface

Declaration
public void SetBrushFromAtlasInterface(byte AtlasRegion, bool bMatchSize)
Parameters
Type Name Description
System.Byte AtlasRegion
System.Boolean bMatchSize
| Improve this Doc View Source

SetBrushFromMaterial(MaterialInterface)

Set Brush from Material

Declaration
public void SetBrushFromMaterial(MaterialInterface Material)
Parameters
Type Name Description
MaterialInterface Material
| Improve this Doc View Source

SetBrushFromSoftTexture(Byte, Boolean)

Set Brush from Soft Texture

Declaration
public void SetBrushFromSoftTexture(byte SoftTexture, bool bMatchSize)
Parameters
Type Name Description
System.Byte SoftTexture
System.Boolean bMatchSize
| Improve this Doc View Source

SetBrushFromTexture(Texture2D, Boolean)

Set Brush from Texture

Declaration
public void SetBrushFromTexture(Texture2D Texture, bool bMatchSize)
Parameters
Type Name Description
Texture2D Texture
System.Boolean bMatchSize
| Improve this Doc View Source

SetBrushFromTextureDynamic(Texture2DDynamic, Boolean)

Set Brush from Texture Dynamic

Declaration
public void SetBrushFromTextureDynamic(Texture2DDynamic Texture, bool bMatchSize)
Parameters
Type Name Description
Texture2DDynamic Texture
System.Boolean bMatchSize
| Improve this Doc View Source

SetBrushSize(Vector2D)

Set Brush Size

Declaration
public void SetBrushSize(Vector2D DesiredSize)
Parameters
Type Name Description
Vector2D DesiredSize
| Improve this Doc View Source

SetBrushTintColor(SlateColor)

Set Brush Tint Color

Declaration
public void SetBrushTintColor(SlateColor TintColor)
Parameters
Type Name Description
SlateColor TintColor
| Improve this Doc View Source

SetColorAndOpacity(LinearColor)

Set Color and Opacity

Declaration
public void SetColorAndOpacity(LinearColor InColorAndOpacity)
Parameters
Type Name Description
LinearColor InColorAndOpacity
| Improve this Doc View Source

SetOpacity(Single)

Set Opacity

Declaration
public void SetOpacity(float InOpacity)
Parameters
Type Name Description
System.Single InOpacity

Operators

| Improve this Doc View Source

Implicit(IntPtr to Image)

Convert from IntPtr to UObject

Declaration
public static implicit operator Image(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
Image
  • Improve this Doc
  • View Source
Back to top Generated by DocFX