Table of Contents

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

int

EffectiveRadius

[YuzuMember]
[TangerineKeyframeColor(8)]
public float EffectiveRadius { get; set; }

Property Value

float

FadeoutZone

[YuzuMember]
[TangerineKeyframeColor(9)]
public float FadeoutZone { get; set; }

Property Value

float

IKStopper

[YuzuMember]
[TangerineKeyframeColor(7)]
public bool IKStopper { get; set; }

Property Value

bool

Index

[YuzuMember]
public int Index { get; set; }

Property Value

int

Length

[YuzuMember]
[TangerineKeyframeColor(2)]
public float Length { get; set; }

Property Value

float

Position

[YuzuMember]
[TangerineKeyframeColor(10)]
public Vector2 Position { get; set; }

Property Value

Vector2

RefLength

[YuzuMember]
[TangerineKeyframeColor(12)]
public float RefLength { get; set; }

Property Value

float

RefPosition

[YuzuMember]
[TangerineKeyframeColor(13)]
public Vector2 RefPosition { get; set; }

Property Value

Vector2

RefRotation

[YuzuMember]
[TangerineKeyframeColor(11)]
public float RefRotation { get; set; }

Property Value

float

Rotation

[YuzuMember]
[TangerineKeyframeColor(1)]
public float Rotation { get; set; }

Property Value

float

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

Matrix32

CalcWeightForPoint(Vector2)

public float CalcWeightForPoint(Vector2 point)

Parameters

point Vector2

Returns

float

OnUpdate(float)

public virtual void OnUpdate(float delta)

Parameters

delta float