C# Класс QualisysRealTime.Unity.Skeleton.IKApplier

Class for predicting missing joints position from a skeleton
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Interpolation bool

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

Метод Описание
ApplyIK ( BipedSkeleton &skeleton ) : void

Checks for empty position in the skeleton, fills the from the last skeleton. Root and all of roots children MUST have set possition!

IKApplier ( BipedSkeleton firstSkel ) : System.Collections

Приватные методы

Метод Описание
ConstraintsBeforeReturn ( TreeNode bone, bool rotational = true ) : bool

Checks wheter all bones is in a legal rotation and position and fixing there rotaion is that is the case

CopyFromLast ( Bone curr, Bone last ) : void

Copy the position and orientation from one bone to another

FK ( TreeNode bvn, Quaternion rotation ) : void

Rotate the first joint, and move the rest according to a Quaternion

JerkingTest ( TreeNode bones, bool pos = true, bool rot = true ) : bool

Test wheter a bone has moved unatural much since last frame

MissingJoint ( TreeNode missingJoint ) : void

If a joints is missing from the skeletontree, fill the joints with the previus frames joints and solve with ik if a joint is found, or return the previus frames joint pos offseted the new position

TraversFunc ( TreeNode bone ) : void

The function applied to each bone in the skeleton

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

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

Checks for empty position in the skeleton, fills the from the last skeleton. Root and all of roots children MUST have set possition!
public ApplyIK ( BipedSkeleton &skeleton ) : void
skeleton BipedSkeleton The skeleton to be checked
Результат void

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

public IKApplier ( BipedSkeleton firstSkel ) : System.Collections
firstSkel BipedSkeleton
Результат System.Collections

Описание свойств

Interpolation публичное свойство

public bool Interpolation
Результат bool