unreal.StaticMeshSocket

class unreal.StaticMeshSocket(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Static Mesh Socket

C++ Source:

  • Module: Engine

  • File: StaticMeshSocket.h

Editor Properties: (see get_editor_property/set_editor_property)

  • preview_static_mesh (StaticMesh): [Read-Write]

  • relative_location (Vector): [Read-Write]

  • relative_rotation (Rotator): [Read-Write]

  • relative_scale (Vector): [Read-Write]

  • socket_name (Name): [Read-Write] Defines a named attachment location on the UStaticMesh. These are set up in editor and used as a shortcut instead of specifying everything explicitly to AttachComponent in the StaticMeshComponent. The Outer of a StaticMeshSocket should always be the UStaticMesh.

  • tag (str): [Read-Write]

property relative_location: Vector

[Read-Write]

Type:

(Vector)

property relative_rotation: Rotator

[Read-Write]

Type:

(Rotator)

property relative_scale: Vector

[Read-Write]

Type:

(Vector)

property socket_name: Name

[Read-Only] Defines a named attachment location on the UStaticMesh. These are set up in editor and used as a shortcut instead of specifying everything explicitly to AttachComponent in the StaticMeshComponent. The Outer of a StaticMeshSocket should always be the UStaticMesh.

Type:

(Name)

property tag: str

[Read-Write]

Type:

(str)