Class SkeletalMeshSocket
Skeletal Mesh Socket
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class SkeletalMeshSocket : UObject
Properties
| Improve this Doc View SourcebForceAlwaysAnimated
Declaration
public bool bForceAlwaysAnimated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
BoneName
Bone Name
Declaration
public Name BoneName { get; }
Property Value
Type | Description |
---|---|
Name |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static SkeletalMeshSocket DefaultObject { get; }
Property Value
Type | Description |
---|---|
SkeletalMeshSocket |
RelativeLocation
Relative Location
Declaration
public Vector RelativeLocation { get; }
Property Value
Type | Description |
---|---|
Vector |
RelativeRotation
Relative Rotation
Declaration
public Rotator RelativeRotation { get; }
Property Value
Type | Description |
---|---|
Rotator |
RelativeScale
Relative Scale
Declaration
public Vector RelativeScale { get; }
Property Value
Type | Description |
---|---|
Vector |
SocketName
Defines a named attachment location on the USkeletalMesh.
Declaration
public Name SocketName { get; }
Property Value
Type | Description |
---|---|
Name |
Remarks
These are set up in editor and used as a shortcut instead of specifying everything explicitly to AttachComponent in the SkeletalMeshComponent. The Outer of a SkeletalMeshSocket should always be the USkeletalMesh.
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceGetSocketLocation(SkeletalMeshComponent)
Get Socket Location
Declaration
public Vector GetSocketLocation(SkeletalMeshComponent SkelComp)
Parameters
Type | Name | Description |
---|---|---|
SkeletalMeshComponent | SkelComp |
Returns
Type | Description |
---|---|
Vector |
InitializeSocketFromLocation(SkeletalMeshComponent, Vector, Vector)
Sets BoneName, RelativeLocation and RelativeRotation based on closest bone to WorldLocation and WorldNormal
Declaration
public void InitializeSocketFromLocation(SkeletalMeshComponent SkelComp, Vector WorldLocation, Vector WorldNormal)
Parameters
Type | Name | Description |
---|---|---|
SkeletalMeshComponent | SkelComp | |
Vector | WorldLocation | |
Vector | WorldNormal |
New(UObject, Name)
Spawn an object of this class
Declaration
public static SkeletalMeshSocket New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
SkeletalMeshSocket |
Operators
| Improve this Doc View SourceImplicit(IntPtr to SkeletalMeshSocket)
Convert from IntPtr to UObject
Declaration
public static implicit operator SkeletalMeshSocket(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
SkeletalMeshSocket |