docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkVariableQuaternion

    A NetworkVariable that holds quaternions and support serialization

    Inheritance
    object
    NetworkVariable<Quaternion>
    NetworkVariableQuaternion
    Implements
    INetworkVariable
    Inherited Members
    NetworkVariable<Quaternion>.Settings
    NetworkVariable<Quaternion>.LocalTick
    NetworkVariable<Quaternion>.RemoteTick
    NetworkVariable<Quaternion>.OnValueChanged
    NetworkVariable<Quaternion>.Value
    NetworkVariable<Quaternion>.SetDirty(bool)
    NetworkVariable<Quaternion>.IsDirty()
    NetworkVariable<Quaternion>.ResetDirty()
    NetworkVariable<Quaternion>.CanClientRead(ulong)
    NetworkVariable<Quaternion>.WriteDelta(Stream)
    NetworkVariable<Quaternion>.CanClientWrite(ulong)
    NetworkVariable<Quaternion>.ReadDelta(Stream, bool, ushort, ushort)
    NetworkVariable<Quaternion>.SetNetworkBehaviour(NetworkBehaviour)
    NetworkVariable<Quaternion>.ReadField(Stream, ushort, ushort)
    NetworkVariable<Quaternion>.WriteField(Stream)
    NetworkVariable<Quaternion>.GetChannel()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: MLAPI.NetworkVariable
    Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
    Syntax
    [Serializable]
    public class NetworkVariableQuaternion : NetworkVariable<Quaternion>, INetworkVariable

    Constructors

    NetworkVariableQuaternion()

    Creates a NetworkVariable with the default value and settings

    Declaration
    public NetworkVariableQuaternion()

    NetworkVariableQuaternion(NetworkVariableSettings)

    Creates a NetworkVariable with the default value and custom settings

    Declaration
    public NetworkVariableQuaternion(NetworkVariableSettings settings)
    Parameters
    Type Name Description
    NetworkVariableSettings settings

    The settings to use for the NetworkVariable

    NetworkVariableQuaternion(NetworkVariableSettings, Quaternion)

    Creates a NetworkVariable with a custom value and custom settings

    Declaration
    public NetworkVariableQuaternion(NetworkVariableSettings settings, Quaternion value)
    Parameters
    Type Name Description
    NetworkVariableSettings settings

    The settings to use for the NetworkVariable

    Quaternion value

    The initial value to use for the NetworkVariable

    NetworkVariableQuaternion(Quaternion)

    Creates a NetworkVariable with a custom value and the default settings

    Declaration
    public NetworkVariableQuaternion(Quaternion value)
    Parameters
    Type Name Description
    Quaternion value

    The initial value to use for the NetworkVariable

    Implements

    INetworkVariable
    In This Article
    Back to top
    Copyright © 2025 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)