Interface PayloadBuilder
Utility allowing to sample joint transforms from the binary in order to
build payload data out of them and store it inside Kinematica binary (Tags, Marker...).
This can be used in order to store a joint position for a contact inside a Marker for example
Syntax
public interface PayloadBuilder
Properties
DestinationInterval
Destination interval of the poses, in Kinematica binary motion library, associated to the Payload currently being built
(Tag or Marker for example). For a Marker, the number of frames of the interval is one.
Declaration
Interval DestinationInterval { get; }
Property Value
SourceToTargetScale
Source to target scale for retargeting
Declaration
float SourceToTargetScale { get; }
Property Value
Methods
GetJointIndexForName(String)
Declaration
int GetJointIndexForName(string jointName)
Parameters
| Type |
Name |
Description |
| String |
jointName |
|
Returns
Returns the joint transform of the character at jointIndex for the first frame of
DestinationInterval
Declaration
AffineTransform GetJointTransformCharacterSpace(int jointIndex)
Parameters
| Type |
Name |
Description |
| Int32 |
jointIndex |
|
Returns
Returns the joint transform of the character at jointIndex for the given frame
Declaration
AffineTransform GetJointTransformCharacterSpace(int frameIndex, int jointIndex)
Parameters
| Type |
Name |
Description |
| Int32 |
frameIndex |
Frame index in Kinematica binary motion library
|
| Int32 |
jointIndex |
|
Returns
Returns the root transform of the character for the first frame of
DestinationInterval
Declaration
AffineTransform GetRootTransform()
Returns
Returns the root transform of the character for the given frame
Declaration
AffineTransform GetRootTransform(int frameIndex)
Parameters
| Type |
Name |
Description |
| Int32 |
frameIndex |
Frame index in Kinematica binary motion library
|
Returns