unreal.StaticMeshSocket¶
- class unreal.StaticMeshSocket(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Bases:
ObjectStatic 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 Meshrelative_location(Vector): [Read-Write] Relative Locationrelative_rotation(Rotator): [Read-Write] Relative Rotationrelative_scale(Vector): [Read-Write] Relative Scalesocket_name(Name): [Read-Write] Socket Name: 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 socket_name: Name¶
[Read-Only] Socket Name: 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)