docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public delegate (Vector3 pos, Quaternion rotOut, Vector3 scale) NetworkTransform.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
    (Vector3 pos, Quaternion rotOut, Vector3 scale)

    The resulting position, rotation and scale changes after handling.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)