C# Класс Spine.IkConstraint

Наследование: IConstraint
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Apply ( ) : void
Apply ( Bone parent, Bone child, float targetX, float targetY, int bendDir, float alpha ) : void

Adjusts the parent and child bone rotations so the tip of the child is as close to the target position as possible. The target is specified in the world coordinate system.

Apply ( Bone bone, float targetX, float targetY, float alpha ) : void

Adjusts the bone rotation so the tip is as close to the target position as possible. The target is specified in the world coordinate system.

IkConstraint ( IkConstraintData data, Skeleton skeleton ) : System
ToString ( ) : String
Update ( ) : void

Описание методов

Apply() публичный Метод

public Apply ( ) : void
Результат void

Apply() статический публичный Метод

Adjusts the parent and child bone rotations so the tip of the child is as close to the target position as possible. The target is specified in the world coordinate system.
static public Apply ( Bone parent, Bone child, float targetX, float targetY, int bendDir, float alpha ) : void
parent Bone
child Bone A direct descendant of the parent bone.
targetX float
targetY float
bendDir int
alpha float
Результат void

Apply() статический публичный Метод

Adjusts the bone rotation so the tip is as close to the target position as possible. The target is specified in the world coordinate system.
static public Apply ( Bone bone, float targetX, float targetY, float alpha ) : void
bone Bone
targetX float
targetY float
alpha float
Результат void

IkConstraint() публичный Метод

public IkConstraint ( IkConstraintData data, Skeleton skeleton ) : System
data IkConstraintData
skeleton Skeleton
Результат System

ToString() публичный Метод

public ToString ( ) : String
Результат String

Update() публичный Метод

public Update ( ) : void
Результат void