docs.unity3d.com
    Show / Hide Table of Contents

    Delegate NetworkTransform.OnClientRequestChangeDelegate

    The handler delegate type that takes client requested changes and returns resulting changes handled by the server.

    Namespace: Unity.Netcode.Components
    Syntax
    public delegate (Vector3 pos, Quaternion rotOut, Vector3 scale) OnClientRequestChangeDelegate(Vector3 pos, Quaternion rot, Vector3 scale);
    Parameters
    Type Name Description
    Vector3 pos

    The position requested by the client.

    Quaternion rot

    The rotation requested by the client.

    Vector3 scale

    The scale requested by the client.

    Returns
    Type Description
    (T1, T2, T3)<Vector3, Quaternion, Vector3>

    The resulting position, rotation and scale changes after handling.

    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