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

    Class WriteExtensions

    Static class that contains various extension methods that allow writing data types to a buffer.

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

    Methods

    Write(Buffer, SamplingTime)

    Writes a sampling time to the buffer.

    Declaration
    public static void Write(this Buffer buffer, SamplingTime samplingTime)
    Parameters
    Type Name Description
    Buffer buffer
    SamplingTime samplingTime

    The sampling time that should be written to the buffer.

    Write(Buffer, TimeIndex)

    Writes a time index to the buffer.

    Declaration
    public static void Write(this Buffer buffer, TimeIndex timeIndex)
    Parameters
    Type Name Description
    Buffer buffer
    TimeIndex timeIndex

    The time index that should be written to the buffer.

    Write(Buffer, AffineTransform)

    Writes an affine transform to the buffer.

    Declaration
    public static void Write(this Buffer buffer, AffineTransform transform)
    Parameters
    Type Name Description
    Buffer buffer
    AffineTransform transform

    The transform that should be written to the buffer.

    WriteQuantized(Buffer, AffineTransform)

    Writes an affine transform to the buffer.

    Declaration
    public static void WriteQuantized(this Buffer buffer, AffineTransform transform)
    Parameters
    Type Name Description
    Buffer buffer
    AffineTransform transform

    The transform that should be written to the buffer.

    Remarks

    The transform value will be stored in a quantized format.

    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