Interface PayloadBuilder | Kinematica | 0.7.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    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

    Namespace: Unity.Kinematica.Editor
    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
    Type Description
    Interval

    SourceToTargetScale

    Source to target scale for retargeting

    Declaration
    float SourceToTargetScale { get; }
    Property Value
    Type Description
    Single

    Methods

    GetJointIndexForName(String)

    Declaration
    int GetJointIndexForName(string jointName)
    Parameters
    Type Name Description
    String jointName
    Returns
    Type Description
    Int32

    GetJointTransformCharacterSpace(Int32)

    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
    Type Description
    AffineTransform

    GetJointTransformCharacterSpace(Int32, Int32)

    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
    Type Description
    AffineTransform

    GetRootTransform()

    Returns the root transform of the character for the first frame of

    DestinationInterval

    Declaration
    AffineTransform GetRootTransform()
    Returns
    Type Description
    AffineTransform

    GetRootTransform(Int32)

    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
    Type Description
    AffineTransform
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023