unreal.StaticMeshSocket

class unreal.StaticMeshSocket(outer=None, name='None')

Bases: unreal.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] Preview Static Mesh

  • relative_location (Vector): [Read-Write] Relative Location

  • relative_rotation (Rotator): [Read-Write] Relative Rotation

  • relative_scale (Vector): [Read-Write] Relative Scale

  • socket_created_at_import (bool): [Read-Only] Weather the socket was imported with the asset or create in the editor. Importer will remove/modify only imported socket and will not touch any editor created socket.

  • 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] Tag

property relative_location

[Read-Write] Relative Location

Type

(Vector)

property relative_rotation

[Read-Write] Relative Rotation

Type

(Rotator)

property relative_scale

[Read-Write] Relative Scale

Type

(Vector)

property socket_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

[Read-Write] Tag

Type

(str)