|
| FORCENOINLINE | FSlateDynamicImageBrush (class UTexture2D *InTexture, const FVector2D &InImageSize, const FName InTextureName, const FLinearColor &InTint=FLinearColor(1.0f, 1.0f, 1.0f, 1.0f), ESlateBrushTileType::Type InTiling=ESlateBrushTileType::NoTile, ESlateBrushImageType::Type InImageType=ESlateBrushImageType::FullColor) |
| |
| FORCENOINLINE | FSlateDynamicImageBrush (class UTexture2DDynamic *InTexture, const FVector2D &InImageSize, const FName InTextureName, const FLinearColor &InTint=FLinearColor(1.0f, 1.0f, 1.0f, 1.0f), ESlateBrushTileType::Type InTiling=ESlateBrushTileType::NoTile, ESlateBrushImageType::Type InImageType=ESlateBrushImageType::FullColor) |
| |
| FORCENOINLINE | FSlateDynamicImageBrush (const FName InTextureName, const FVector2D &InImageSize, const FLinearColor &InTint=FLinearColor(1.0f, 1.0f, 1.0f, 1.0f), ESlateBrushTileType::Type InTiling=ESlateBrushTileType::NoTile, ESlateBrushImageType::Type InImageType=ESlateBrushImageType::FullColor) |
| |
|
void | ReleaseResource () |
| | Releases the resource when it is safe to do so
|
| |
|
virtual | ~FSlateDynamicImageBrush () |
| | Destructor.
|
| |
|
void | AddReferencedObjects (FReferenceCollector &Collector, UObject *ReferencingObject=nullptr) |
| | Report any references to UObjects to the reference collector.
|
| |
|
| FSlateBrush () |
| | Default constructor.
|
| |
| const FName | GetResourceName () const |
| | Gets the name of the resource object, if any. 更多...
|
| |
| class UObject * | GetResourceObject () const |
| | Gets the UObject that represents the brush resource, if any. 更多...
|
| |
| FLinearColor | GetTint (const FWidgetStyle &InWidgetStyle) const |
| | Gets the brush's tint color. 更多...
|
| |
| const FBox2D & | GetUVRegion () const |
| | Get brush UV region, should check if region is valid before using it 更多...
|
| |
| bool | HasUObject () const |
| | Checks whether this brush has a UTexture object 更多...
|
| |
| bool | IsDynamicallyLoaded () const |
| | Checks whether the brush resource is loaded dynamically. 更多...
|
| |
| bool | operator!= (const FSlateBrush &Other) const |
| | Compares this brush with another for inequality. 更多...
|
| |
| bool | operator== (const FSlateBrush &Other) const |
| | Compares this brush with another for equality. 更多...
|
| |
|
void | SetResourceObject (class UObject *InResourceObject) |
| | Sets the UObject that represents the brush resource.
|
| |
| void | SetUVRegion (const FBox2D &InUVRegion) |
| | Set brush UV region 更多...
|
| |
| void | UnlinkColors () |
| | Unlinks all colors in this brush. 更多...
|
| |
| TSharedRef< FSlateDynamicImageBrush, Mode > | AsShared () |
| | Provides access to a shared reference to this object. 更多...
|
| |
| TSharedRef< FSlateDynamicImageBrush const, Mode > | AsShared () const |
| | Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多...
|
| |
| FORCEINLINE bool | DoesSharedInstanceExist () const |
| | Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多...
|
| |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const |
| | INTERNAL USE ONLY – Do not call this method. 更多...
|
| |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const |
| | INTERNAL USE ONLY – Do not call this method. 更多...
|
| |
|
|
TEnumAsByte< enum ESlateBrushDrawType::Type > | DrawAs |
| | How to draw the image
|
| |
|
FVector2D | ImageSize |
| | Size of the resource in Slate Units
|
| |
|
TEnumAsByte< enum ESlateBrushImageType::Type > | ImageType |
| | The type of image
|
| |
|
FMargin | Margin |
| | The margin to use in Box and Border modes
|
| |
| TEnumAsByte< enum ESlateBrushMirrorType::Type > | Mirroring |
| | How to mirror the image in Image mode. 更多...
|
| |
|
FSlateResourceHandle | ResourceHandle |
| | Rendering resource for this brush
|
| |
|
TEnumAsByte< enum ESlateBrushTileType::Type > | Tiling |
| | How to tile the image in Image mode
|
| |
|
FSlateColor | TintColor |
| | Tinting applied to the image.
|
| |
| FORCENOINLINE | FSlateBrush (ESlateBrushDrawType::Type InDrawType, const FName InResourceName, const FMargin &InMargin, ESlateBrushTileType::Type InTiling, ESlateBrushImageType::Type InImageType, const FVector2D &InImageSize, const FLinearColor &InTint=FLinearColor::White, UObject *InObjectResource=nullptr, bool bInDynamicallyLoaded=false) |
| | This constructor is protected; use one of the deriving classes instead. 更多...
|
| |
|
FORCEINLINE TSharedFromThis & | operator= (TSharedFromThis const &) |
| | Hidden stub assignment operator
|
| |
|
| TSharedFromThis () |
| | Hidden stub constructor
|
| |
|
| TSharedFromThis (TSharedFromThis const &) |
| | Hidden stub copy constructor
|
| |
|
| ~TSharedFromThis () |
| | Hidden destructor
|
| |
| static FORCEINLINE TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
| | Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
|
| |
| static FORCEINLINE TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| | Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
|
| |
|
uint8 | bHasUObject_DEPRECATED:1 |
| | Whether or not the brush has a UTexture resource
|
| |
|
uint8 | bIsDynamicallyLoaded:1 |
| | Whether or not the brush path is a path to a UObject
|
| |
|
FName | ResourceName |
| | The name of the rendering resource to use
|
| |
|
FBox2D | UVRegion |
| | Optional UV region for an image When valid - overrides UV region specified in resource proxy
|
| |
Ignores the Margin.
Just renders the image. Can tile the image instead of stretching.