Navigation
API > API/Plugins > API/Plugins/Paper2D
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionTextureBase
- UMaterialExpressionTextureSample
- UMaterialExpressionTextureSampleParameter
- UMaterialExpressionTextureSampleParameter2D
- PAPER2UMaterialExpressionSpriteTextureSampler
References
| Module | Paper2D |
| Header | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Public/MaterialExpressionSpriteTextureSampler.h |
| Include | #include "MaterialExpressionSpriteTextureSampler.h" |
Syntax
UCLASS&40;
HideCategories&61;&40;MaterialExpressionTextureSampleParameter, MaterialExpressionSpriteTextureSampler&41;&41;
class PAPER2UMaterialExpressionSpriteTextureSampler : public UMaterialExpressionTextureSampleParameter2D
Remarks
This is a texture sampler 2D with a special automatically defined parameter name. The texture specified here will be replaced by the SourceTexture or an AdditionalSourceTextures entry of a Paper2D sprite if this material is used on a sprite.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | AdditionalSlotIndex | This is the slot index into the AdditionalSourceTextures array. | |
| bool | bSampleAdditionalTextures | Is this a sampler for the default SourceTexture or the AdditionalSourceTextures list? | |
| FText | SlotDisplayName | Friendly label for the texture slot, displayed in the Sprite Editor if not empty. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
PAPER2UMaterialExpressionSpriteTextureSampler
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| bool | Can this node be renamed? | ||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| void | GetExpressionToolTip
(
TArray< FString >& OutToolTip |
Get a tooltip for the expression itself. | |
| FText | GetKeywords () |
Returns the keywords that should be used when searching for this expression |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |