unreal.PaperSpriteSocket

class unreal.PaperSpriteSocket(local_transform=[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [1.0, 1.0, 1.0]], socket_name='None')

Bases: unreal.StructBase

Should have some nice UI and enforce unique names, etc…:

C++ Source:

  • Plugin: Paper2D
  • Module: Paper2D
  • File: PaperSprite.h

Editor Properties: (see get_editor_property/set_editor_property)

  • local_transform (Transform): [Read-Write] Transform in pivot space (not texture space)
  • socket_name (Name): [Read-Write] Name of the socket
local_transform

(Transform) – [Read-Only] Transform in pivot space (not texture space)

socket_name

(Name) – [Read-Only] Name of the socket