Class BoneSocket
Actor that links to the animated model skeleton node transformation.
Inherited Members
Assembly: FlaxEngine.dll
File: Engine/Level/Actors/BoneSocket.h
Syntax
public class BoneSocket : public Actor
Methods
Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
Deserializes object from the input stream.
Declaration
public virtual void Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) override
Parameters
DeserializeStream
stream
The input stream. |
ISerializeModifier
modifier
The deserialization modifier object. Always valid. |
Overrides
GetNode()
GetUseScale()
Gets the value indicating whenever use the target node scale. Otherwise won't override the actor scale.
Declaration
public bool GetUseScale() const
Returns
bool
|
OnDebugDrawSelected()
Draws debug shapes for the selected actor and all child scripts.
Declaration
public virtual void OnDebugDrawSelected() override
Overrides
OnParentChanged()
Called when actor parent gets changed.
Declaration
protected virtual void OnParentChanged() override
Overrides
OnTransformChanged()
Called when actor transform gets changed.
Declaration
protected virtual void OnTransformChanged() override
Overrides
Serialize(SerializeStream& stream, const void* otherObj)
Serializes object to the output stream compared to the values of the other object instance (eg. default class object). If other object is null then serialize all properties.
Declaration
public virtual void Serialize(SerializeStream& stream, const void* otherObj) override
Parameters
SerializeStream
stream
The output stream. |
void
otherObj
The instance of the object to compare with and serialize only the modified properties. If null, then serialize all properties. |
Overrides
SetNode(const StringView& name)
Sets the target node to link to it.
Declaration
public void SetNode(const StringView& name)
Parameters
StringView
name
|
SetUseScale(bool value)
Sets the value indicating whenever use the target node scale. Otherwise won't override the actor scale.
Declaration
public void SetUseScale(bool value)
Parameters
bool
value
|
UpdateTransformation()
Updates the actor transformation based on a skeleton node.
Declaration
public void UpdateTransformation()