LookAtIKSolver Class |
Namespace: DigitalRune.Animation.Character
The LookAtIKSolver type exposes the following members.
Name | Description | |
---|---|---|
LookAtIKSolver |
Initializes a new instance of the LookAtIKSolver class.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnInvalidate |
Called when the SkeletonPose was exchanged.
(Inherited from IKSolver.) | |
OnSolve |
Called when Solve(Single) is called.
(Overrides IKSolverOnSolve(Single).) | |
Solve |
Modifies the SkeletonPose to reach the Target position.
(Inherited from IKSolver.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
BoneIndex |
Gets or sets the index of the bone.
| |
EyeOffset |
Gets or sets the eye offset in bone space.
| |
Forward |
Gets or sets the forward direction in bone space.
| |
Limit |
Gets or sets the rotation limit.
| |
MaxAngularVelocity |
Gets or sets the maximal angular velocity per bone.
(Inherited from IKSolver.) | |
SkeletonPose |
Gets or sets the skeleton pose.
(Inherited from IKSolver.) | |
Target |
Gets or sets the target position in model space.
(Inherited from IKSolver.) | |
Up |
Gets or sets the up direction in bone space.
| |
Weight |
Gets or sets the weight.
(Inherited from IKSolver.) |
Name | Description | |
---|---|---|
IAnimatableObjectGetAnimatablePropertyT |
Gets the property with given name and type which can be animated.
(Inherited from IKSolver.) | |
IAnimatableObjectGetAnimatedProperties |
Gets the properties which are currently being animated.
(Inherited from IKSolver.) | |
INamedObjectName |
Not implemented.
(Inherited from IKSolver.) |
This IKSolver rotates a bone - usually the head bone - to look to the Target position. The bone to be rotated is specified by BoneIndex.
Forward defines the forward look direction relative to the bone space. Up defines the up direction relative to the bone space. EyeOffset can be used to offset look origin relative to the bone space. For example, the origin of a "head" bone is often at the neck of a character. EyeOffset can be used to set the offset from the bone origin to the eyes of the character.
Limit specifies an angular limit like a cone around the forward direction. The IK solver will not rotate the beyond this limit. See description of the property.
See also IKSolver for more general information.