Class ReadExtensions | Kinematica | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class ReadExtensions

    Static class that contains various extension methods that allow reading data types from a buffer.

    Inheritance
    Object
    ReadExtensions
    Namespace: Unity.Kinematica
    Syntax
    public static class ReadExtensions

    Methods

    ReadAffineTransform(Buffer)

    Reads a transform from the buffer.

    Declaration
    public static AffineTransform ReadAffineTransform(this Buffer buffer)
    Parameters
    Type Name Description
    Buffer buffer
    Returns
    Type Description
    AffineTransform

    The transform that has been read from the buffer.

    ReadAffineTransformQuantized(Buffer)

    Reads a quantized transform from the buffer.

    Declaration
    public static AffineTransform ReadAffineTransformQuantized(this Buffer buffer)
    Parameters
    Type Name Description
    Buffer buffer
    Returns
    Type Description
    AffineTransform

    The original transform that has been read from the buffer.

    ReadSamplingTime(Buffer)

    Reads a sampling time from the buffer.

    Declaration
    public static SamplingTime ReadSamplingTime(this Buffer buffer)
    Parameters
    Type Name Description
    Buffer buffer
    Returns
    Type Description
    SamplingTime

    The sampling time that has been read from the buffer.

    ReadTimeIndex(Buffer)

    Reads a time index from the buffer.

    Declaration
    public static TimeIndex ReadTimeIndex(this Buffer buffer)
    Parameters
    Type Name Description
    Buffer buffer
    Returns
    Type Description
    TimeIndex

    The time index that has been read from the buffer.

    See Also

    Buffer
    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