Class BoneSocket
Actor that links to the animated model skeleton node transformation.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorContextMenu("New/Animation/Bone Socket")]
[ActorToolbox("Other")]
[Unmanaged]
public class BoneSocket : Actor, ISerializableConstructors
BoneSocket()
Properties
Node
Gets the target node name to link to it.
Declaration
[EditorOrder(10)]
[EditorDisplay("Bone Socket", null)]
[CustomEditorAlias("FlaxEditor.CustomEditors.Editors.SkeletonNodeEditor")]
[Unmanaged]
public string Node { get; set; }Property Value
| System.String 
 | 
UseScale
Gets or sets the value indicating whenever use the target node scale. Otherwise won't override the actor scale.
Declaration
[EditorOrder(20)]
[EditorDisplay("Bone Socket", null)]
[Unmanaged]
public bool UseScale { get; set; }Property Value
| System.Boolean 
 | 
Methods
UpdateTransformation()
Updates the actor transformation based on a skeleton node.
Declaration
[Unmanaged]
public void UpdateTransformation()