| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperSpriteComponent.h |
Include |
#include "PaperSpriteComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ShowCategories=(Mobility), ClassGroup=Paper2D, Meta=(BlueprintSpawnableComponent))
class PAPER2UPaperSpriteComponent : public UMeshComponent
A component that handles rendering and collision for a single instance of a UPaperSprite asset.
This component is created when you drag a sprite asset from the content browser into a Blueprint, or contained inside of the actor created when you drag one into the level.
Name | Description | ||
---|---|---|---|
|
UPaperSprite &#... |
SourceSprite |
The sprite asset used by this component. |
|
SpriteColor |
The color of the sprite (passed to the sprite material as a vertex color) |
Name | Description | |
---|---|---|
|
PAPER2UPaperSpriteComponent ( |
Name | Description | ||
---|---|---|---|
|
UPaperSprite... |
GetSprite() |
Gets the PaperSprite used by this instance. |
|
GetSpriteColor() |
Returns the current color of the sprite |
|
|
GetWireframeColor() |
Returns the wireframe color to use for this component. |
|
|
SetSprite ( |
Change the PaperSprite used by this instance. |
|
|
SetSpriteColor ( |
Set color of the sprite |
|
|
SetTransientTextureOverride |
Name | Description | ||
---|---|---|---|
|
FPrimitiveSc... |
CreateSceneProxy() |
Creates a proxy to represent the primitive to the scene manager in the rendering thread. |
|
UBodySetup &... |
GetBodySetup() |
Return the BodySetup to use for this PrimitiveComponent (single body case) |
|
UMaterialInt... |
GetMaterial ( |
Returns the material used by the element at the specified index |
|
GetNumMaterials() |
Return number of material elements in this primitive |
|
|
GetStreamingRenderAssetInfo ( |
Enumerates the streaming textures/meshes used by the primitive. |
|
|
GetUsedMaterials ( |
Retrieves the materials used in this component |
|
|
GetUsedTextures ( |
Returns the material textures used to render this primitive for the given platform. |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
|
DoesSocketExist ( |
Return true if socket with the given name exists |
|
|
GetSocketTransform ( |
Get world-space socket transform. |
|
|
HasAnySockets() |
Returns true if this component has any sockets |
|
|
QuerySupportedSockets |
Get a list of sockets this component contains |
Name | Description | ||
---|---|---|---|
|
const UObjec... |
AdditionalStatObject() |
Give a readable name for this component, including asset name if applicable |
|
CheckForErrors() |
Function that gets called from within Map_Check to allow this actor component to check itself for any potential errors and register them with map check dialog. |
|
|
SendRenderDynamicData_Concurrent() |
Called to send dynamic data for this component to the rendering thread |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name | Description | ||
---|---|---|---|
|
MaterialOverride_DEPRECATED |
DEPRECATED in 4.4: The material override for this sprite component (if any); replaced by the Materials array inherited from UMeshComponent. |
UPaperSprite