docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Add

    Add(Vector3, int)

    Write the Vector3 components.

    Declaration
    public void Add(Vector3 vec, int writeOffset = 0)
    Parameters
    Type Name Description
    Vector3 vec

    The Vector3 to be written.

    int writeOffset

    Optional write offset.

    Add(Vector4, int)

    Write the Vector4 components.

    Declaration
    public void Add(Vector4 vec, int writeOffset = 0)
    Parameters
    Type Name Description
    Vector4 vec

    The Vector4 to be written.

    int writeOffset

    Optional write offset.

    Add(Quaternion, int)

    Write the Quaternion components.

    Declaration
    public void Add(Quaternion quat, int writeOffset = 0)
    Parameters
    Type Name Description
    Quaternion quat

    The Quaternion to be written.

    int writeOffset

    Optional write offset.

    In This Article
    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