Search Results for

    Show / Hide Table of Contents

    Class NetworkReplicationHierarchyUpdateResult

    Network replication hierarchy output data to send.

    Inheritance
    System.Object
    Object
    NetworkReplicationHierarchyUpdateResult
    Inherited Members
    Object.__unmanagedPtr
    Object.__internalId
    Object.Finalize()
    Object.As<T>()
    Object.NewValue(Type)
    Object.New(String)
    Object.Find<T>(Guid, Boolean)
    Object.Find(Guid, Type, Boolean)
    Object.TryFind<T>(Guid)
    Object.TryFind(Guid, Type)
    Object.Destroy(Object, Single)
    Object.DestroyNow(Object)
    Object.Destroy<T>(T, Single)
    Object.Equals(Object)
    Object.GetUnmanagedPtr(Object)
    Object.GetUnmanagedInterface(Object, Type)
    Object.FromUnmanagedPtr(IntPtr)
    Object.MapObjectID(Guid)
    Object.RemapObjectID(Guid)
    Object.GetHashCode()
    Object.ID
    Object.TypeName
    Namespace: FlaxEngine.Networking
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public class NetworkReplicationHierarchyUpdateResult : Object

    Constructors

    NetworkReplicationHierarchyUpdateResult()

    Initializes a new instance of the NetworkReplicationHierarchyUpdateResult.

    Declaration
    public NetworkReplicationHierarchyUpdateResult()

    Properties

    ClientsCount

    Gets amount of the clients to use. Matches NetworkManager.Clients.

    Declaration
    [Unmanaged]
    public int ClientsCount { get; }
    Property Value
    System.Int32

    ClientsMask

    Gets mask with all client bits set. Matches NetworkManager.Clients.

    Declaration
    [Unmanaged]
    public NetworkClientsMask ClientsMask { get; }
    Property Value
    NetworkClientsMask

    ReplicationScale

    Scales the ReplicationFPS property of objects in hierarchy. Can be used to slow down or speed up replication rate.

    Declaration
    [Unmanaged]
    public float ReplicationScale { get; set; }
    Property Value
    System.Single

    Methods

    AddObject(Object)

    Adds object to the update results.

    Declaration
    [Unmanaged]
    public void AddObject(Object obj)
    Parameters
    Object obj

    AddObject(Object, NetworkClientsMask)

    Adds object to the update results. Defines specific clients to receive the update (server-only, unused on client). Mask matches NetworkManager.Clients.

    Declaration
    [Unmanaged]
    public void AddObject(Object obj, NetworkClientsMask targetClients)
    Parameters
    Object obj

    NetworkClientsMask targetClients

    GetClientLocation(Int32, out Vector3)

    Gets the viewer location for a certain client. Client index must match NetworkManager.Clients. Returns true if got a location set, otherwise false.

    Declaration
    [Unmanaged]
    public bool GetClientLocation(int clientIndex, out Vector3 location)
    Parameters
    System.Int32 clientIndex

    Vector3 location

    Returns
    System.Boolean

    SetClientLocation(Int32, Vector3)

    Sets the viewer location for a certain client. Client index must match NetworkManager.Clients.

    Declaration
    [Unmanaged]
    public void SetClientLocation(int clientIndex, Vector3 location)
    Parameters
    System.Int32 clientIndex

    Vector3 location

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat