Class Bone
- Namespace
- Lime
- Assembly
- Lime.dll
[TangerineVisualHintGroup("/All/Nodes/Bones", null)]
public class Bone : Node, IDisposable, IAnimatorHost, IRenderChainBuilder, IAnimable, ICloneable
- Inheritance
-
Bone
- Implements
- Inherited Members
- Extension Methods
Constructors
Bone()
public Bone()
Properties
BaseIndex
[YuzuMember]
public int BaseIndex { get; set; }
Property Value
EffectiveRadius
[YuzuMember]
[TangerineKeyframeColor(8)]
public float EffectiveRadius { get; set; }
Property Value
FadeoutZone
[YuzuMember]
[TangerineKeyframeColor(9)]
public float FadeoutZone { get; set; }
Property Value
IKStopper
[YuzuMember]
[TangerineKeyframeColor(7)]
public bool IKStopper { get; set; }
Property Value
Index
[YuzuMember]
public int Index { get; set; }
Property Value
Length
[YuzuMember]
[TangerineKeyframeColor(2)]
public float Length { get; set; }
Property Value
Position
[YuzuMember]
[TangerineKeyframeColor(10)]
public Vector2 Position { get; set; }
Property Value
RefLength
[YuzuMember]
[TangerineKeyframeColor(12)]
public float RefLength { get; set; }
Property Value
RefPosition
[YuzuMember]
[TangerineKeyframeColor(13)]
public Vector2 RefPosition { get; set; }
Property Value
RefRotation
[YuzuMember]
[TangerineKeyframeColor(11)]
public float RefRotation { get; set; }
Property Value
Rotation
[YuzuMember]
[TangerineKeyframeColor(1)]
public float Rotation { get; set; }
Property Value
Methods
AddToRenderChain(RenderChain)
Decides what descendant nodes should be added to render chain and under which conditions. This includes children Nodes as well as this Node itself. i.e. if you want Render() of this node to be called you should invoke AddSelfToRenderChain in AddToRenderChain override.
public override void AddToRenderChain(RenderChain chain)
Parameters
chain
RenderChain
CalcLocalToParentWidgetTransform()
public Matrix32 CalcLocalToParentWidgetTransform()
Returns
CalcWeightForPoint(Vector2)
public float CalcWeightForPoint(Vector2 point)
Parameters
point
Vector2
Returns
OnUpdate(float)
public virtual void OnUpdate(float delta)
Parameters
delta
float